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

QTR-MD-01A-S Reflectance Sensor: 1-Channel, 8mm Wide, Analog Output, Side-Entry Connector
TB67S581FNG Stepper Motor Driver Carrier (Soldered Header Pins)
ACS37042KLHBLT-030B3 Current Sensor Compact Carrier -30A to +30A, 3.3V
Pololu Basic SPDT Relay Carrier with 5VDC Relay, Terminal Blocks, and JST SH-Style Top-Entry Connector
JST SH-Style Cable, 4-Pin, Single-Ended Female, 30cm
Glideforce GF01-121005-1-66 Micro Linear Actuator with Limit Switches: 12V, 4.3kgf, 17.6mm/s, 50mm Stroke
ACS37041KLHBLT-010B3 Current Sensor Compact Carrier -10A to +10A, 3.3V
JST PH-Style Cable, 4-Pin, Female-Female, 63cm
JST PH-Style Cable with Female Pins for 0.1" Housings, 6-Pin, 75cm
QTRXL-MD-01RC-S Reflectance Sensor: 1-Channel, 8mm Wide, RC Output, Long Range, 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