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

ACS37042KLHBLT-010B3 Current Sensor Compact Carrier -10A to +10A, 3.3V
JST SH-Style Cable, 4-Pin, Female-Female, 40cm
ACS37030LLZATR-040B3 Current Sensor Large Carrier -40A to +40A, 3.3V
Glideforce GF01-120501-1-66 Micro Linear Actuator with Limit Switches: 12V, 2.2kgf, 28mm/s, 10mm Stroke
JST SH-Style Connector Board for Micro Metal Gearmotors, 2-Pin, Side-Entry (2-Pack)
Motoron M3T453 Triple I²C Motor Controller with JST SH-Style Connectors (No VIN Connector)
0.100″ (2.54 mm) Breakaway Male Header: 1×10-Pin, Straight, Black, 25-Pack
Pololu Basic SPDT Relay Carrier for "Sugar Cube" Relays with JST SH-Style Top-Entry Connector
24V, 8A Step-Down Voltage Regulator D42V110F24
Breakout for JST SH-Style Connector, 4-Pin Male Top-Entry (2-Pack)
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