Resources » Pololu Maestro Servo Controller User's Guide »8. Writing PC Software to Control the MaestroThere are two ways to write PC software to control the Maestro: the native USB interface and the virtual serial port. The native USB interface provides more features than the serial port, such as the ability to change configuration parameters and select the Maestro by its serial number. Also, the USB interface allows you to recover more easily from temporary disconnections. The virtual serial port interface is easier to use if you are not familiar with programming, and it can work with existing software programs that use serial ports, such as LabView.
Native USB InterfaceThe Pololu USB Software Development Kit supports Windows and Linux, and includes the source code for:
You can modify the applications in the SDK to suit your needs or you can use the class libraries to integrate the Maestro in to your own applications. Virtual Serial PortsAlmost any programming language is capable of accessing the COM ports created by the Maestro. We recommend the Microsoft .NET framework, which is free to use and contains a SerialPort class that makes it easy to read and write bytes from a serial port. You can download Visual Studio Express (for either C#, C++, or Visual Basic) and write programs that use the SerialPort class to communicate with the Maestro. You will need to set the Maestro’s serial mode to be either “USB Dual Port” or “USB Chained”. |
|
Log In
|
Wish Lists
|
BIG Order Form
|
Shopping Cart
US toll free: 1-877-7-POLOLU ~
(702) 262-6648 |
|||||||||||||
| Catalog | Forum | Resources | Distributors | Ordering | About | Contact | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|