Page 72 - The Definitive Guide to Building Java Robots
P. 72

Preston_5564C03.fm  Page 53  Wednesday, October 5, 2005  7:21 AM



                                                                                  CHAPTER 3  ■  MOTION    53











































                        Figure 3-2. A servo controller and a servo with wheels

                            You can connect the servo controller to your serial port via the RJ-11 connector (phone
                        jack) or via the jumper on the board. I have not shown the connection of power to the servos.
                        This should be 3.8 to 6.0 volts (sometimes you can go as high as 7.2 volts for high-quality
                        servos). There is also a connector for a 9- to 12-volt battery to power the controller board.



                        ■Note  There are other controllers out there. See Appendix B for more information.



                            Once you connect your servo controller to your PC’s serial port, you’re ready program.


                        3.1   Servo Controllers

                        Servo controllers greatly simplify the PC’s ability to communicate with servos and electronic
                        speed controls, much like a microcontroller simplifies the PC’s ability to communicate with
                        sensors.
   67   68   69   70   71   72   73   74   75   76   77