Go Down

Topic: Ch 3 - Controlling Motors - Battery Voltage (Read 5560 times) previous topic - next topic

nodnermot

I'm sure I'm missing something simple, but why does the code not perform any motor tests when the battery voltage drops below 11 V.  The data sheet for the motor shows that it can take a min voltage of 3.5 volts

if (batteryVoltage < 11)
  {
    Serial.println(" ");
    Serial.println("WARNING: LOW BATTERY");
    Serial.println("ALL SYSTEMS DOWN");
    M1.setDuty(0);
    M2.setDuty(0);
    M3.setDuty(0);
    M4.setDuty(0);
    while (batteryVoltage < 11)
    {
      batteryVoltage = (float)battery.getConverted();
    }

Sravya Amirisetti

Our Engineering kit projects are designed with a safety mechanism to prevent the battery from getting damaged, however,if you want to use the motors with 3.5V it is possible, but we recommend not to use the Lipo battery when its voltage lower than 11V.
Best Regards,
Sravya.

Sravya Amirisetti

Our Engineering kit projects are designed with a safety mechanism to prevent the battery from getting damaged, however,if you want to use the motors with 3.5V it is possible, but we recommend not to use the Lipo battery (from the kit) when its voltage lower than 11V.
Best Regards,
Sravya.

Go Up