Controlling devices with the serial port and writing graphical interfaces

Pololu Serial 16-Servo Controller.

View entire document on a single page.
You can also view this document as a printable PDF.

1. Introduction
2. Materials
3. Installing Cygwin (Windows only)
4. Writing a program in C
5. Adding a GUI with Tcl/Tk
6. Compiling and running the program
7. Conclusion

New Products

Pololu RC Switch with Isolated Solid State Relay/Switch, SPST, 30V, 10A
JST PH-Style Cable with Female Pins for 0.1" Housings, 3-Pin, 75cm
JST PH-Style Cable, 4-Pin, Female-Female, 63cm
Breakout for JST PH-Style Connector, 3-Pin Male Side-Entry, with SH
Glideforce GF01-121005-1-66 Micro Linear Actuator with Limit Switches: 12V, 4.3kgf, 17.6mm/s, 50mm Stroke
QTR-MD-01RC-S Reflectance Sensor: 1-Channel, 8mm Wide, RC Output, Side-Entry Connector
Glideforce GF01-122110-1-66 Micro Linear Actuator with Limit Switches: 12V, 8.1kgf, 6mm/s, 100mm Stroke
JST PH-Style Cable with Female Pins for 0.1" Housings, 2-Pin, 12cm
0.100″ (2.54 mm) Breakaway Male Header: 1×10-Pin, Straight, Black, 25-Pack
QTR-MD-01A-S Reflectance Sensor: 1-Channel, 8mm Wide, Analog Output, Side-Entry Connector
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors