7. Conclusion

A combination of C and Tcl/Tk is an easy and powerful way to make graphical controls for your devices. Tcl/Tk gives you a flexible set of commands for creating the graphical interface, while C lets you execute the low-level commands necessary to get at the serial port. This technique is good for making a wide variety of computer programs, for robotics and other things. Personally, we have been using four variations of it: the one you saw in this demo, programs for interfacing with a stepper motor controller and a nanometer-precision piezo controller, and even a jukebox for playing music from our mp3 collection! We hope you find it as useful as we have.

New Products

Magnetic Encoder Disc for Mini Plastic Gearmotors, OD 9.7 mm, ID 1.5 mm, 12 CPR (Bulk)
RoboClaw 2x15A Motor Controller (V5D)
Magnetic Encoder Pair Kit for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V
Romi 32U4 Control Board
313:1 Metal Gearmotor 20Dx46L mm 6V with Extended Motor Shaft
63:1 Metal Gearmotor 20Dx43L mm 6V with Extended Motor Shaft
RoboClaw 2x30A Motor Controller (V5D)
100:1 Metal Gearmotor 20Dx44L mm 6V with Extended Motor Shaft
RoboClaw 2x45A Motor Controller (V5D, pin header I/O)
RoboClaw 2x7A Motor Controller (V5B)
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors