DC motors not spinning at same RPM?

Discussion in 'Off-Topic' started by kaylee, Sep 12, 2016.

Tags:
  1. kay

    kaylee New Member

    Joined:
    Sep 7, 2016
    Messages:
    2
    Likes Received:
    0
    I'm attempting to make a quadcopter using an Arduino board (Blend Micro). I've wired everything up as such:
    [​IMG]
    When I run the following code just to test if everything is working, the motors do not spin at the same rpm:

    void setup(){
    pinMode(9, OUTPUT);
    pinMode(5, OUTPUT);
    pinMode(10, OUTPUT);
    pinMode(11, OUTPUT);

    analogWrite(9, 100);
    analogWrite(5, 100);
    analogWrite(10, 100);
    analogWrite(11, 100);
    }

    M1 will spin as expected, M2 and M3 will spin very slowly, and M4 will not spin at all.

    The pins (D5, D9, D10, D11) on the Blend Micro supply 3.3V, 20mA max.

    I have checked the wiring many times and there are no shorts/everything seems ok.

    Extra:

    • The motors are rated at ~3.7v max (therefore I planned to not exceed 70% for PWM)
    • At 3.3v, the motors draw ~1A each (so I assume I need to change the 2N2222 transistors)
     
    Tags:
Loading...

Share This Page

Loading...