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-01RC-S Reflectance Sensor: 1-Channel, 8mm Wide, RC Output, Side-Entry Connector
Motoron M3T453 Triple I²C Motor Controller with 0.1"-Pitch Through-Holes (No Headers)
Pololu RC Switch with Isolated Solid State Relay/Switch, SPST, 30V, 10A (Soldered Connectors)
A89301-Based Sensorless Brushless Motor Controller, 50V, 11A
RobustMotion RM-EGB Series 24VDC Compact Finger Gripper, 16D, Simple PNP Interface
0.100″ (2.54 mm) Breakaway Male Header: 1×10-Pin, Straight, Black, 25-Pack
TPS2116 Power Multiplexer Carrier with USB Type-C Connector (non-USB priority)
Pololu Basic SPDT Relay Carrier with 5VDC Relay, Terminal Blocks, and JST SH-Style Top-Entry Connector
Magnetic Encoder Pair Kit with Side-Entry Connector for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V
Pololu Basic SPDT Relay Carrier for "Sugar Cube" Relays with JST SH-Style Top-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