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

JST SH-Style Cable, 4-Pin, Single-Ended Female, 30cm
ACS37030LLZATR-040B3 Current Sensor Compact Carrier -40A to +40A, 3.3V
0.100″ (2.54 mm) Breakaway Male Header: 1×2-Pin, Straight, Black, 100-Pack
QTRX-MD-01RC-S Reflectance Sensor: 1-Channel, 8mm Wide, RC Output, Low Current, Side-Entry Connector
RobustMotion RM-EGB Series 24VDC Compact Finger Gripper, 20D, PNP + RS-485 Interface
Magnetic Encoder Pair Kit with Top-Entry Connector for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V
Breakout for JST SH-Style Connector, 5-Pin Male Side-Entry (2-Pack)
ACS37800KMACTR-030B3-I2C Power Monitor Carrier with Secondary I²C Isolation (Soldered Terminal Block)
RobustMotion RM-EGB Series 24VDC Compact Finger Gripper, 16D, Simple PNP Interface
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