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

    Regulator Combination Circuits
    Digital Sine Wave Oscillator
    Battery-Voltage Measuring Regulator
    "Automatic" Light Bulb Changer
    Mini MW Transmitter
    how do sim card works on mobile phones
    waterpump safety guard for fish
    Simple Headlight Reminders
    Real Time Clock Using AT89C4051
    Improved Anode Circuit Parasitic Suppression for Modern Tubes