Multiple Servomotors

Posted on Feb 6, 2014

Using a modified version of the last program, we can control as many servomotors as we have I/O lines on port B. In the next listing, we will control two servos in the same manner as we controlled a single servo in the previous program. The circuit is shown in figure 4 (below). The program uses two pulsewidth variables, pw1 and pw2; and two sets o

Multiple Servomotors
Click here to download the full size of the above Circuit.

f routines, left1 and left2, right1 and right2; one for each motor. As you can see in the schematic, the first servo is wired as per the previous circuit. The second servo is now using B3 as it`s pulse out, and B4 and B5 for the SPDT switch.

Leave Comment

characters left:

Related Circuits

  • New Circuits



    Popular Circuits

    100W Class-A//AB Amplifier
    Low-Ohms Adapter
    H bridge switch for small motors
    Simple digital thermometer with AVR
    bidirectional power inverter
    simple analog comparator