Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AntiBotCaptcha has a deprecated constructor in /homepages/8/d680172117/htdocs/QA/qa-plugin/q2a-captcha-antibot-master/AntiBotCaptcha.php on line 22
Powering Arduino mini from 3.7V - Electronoobs Q&A

Welcome to Electronoobs Q&A, where you can ask questions and receive answers from other members of the community.



Categories


+1 vote

Hello, I am using this tutorial to build the drone - http://www.electronoobs.com/eng_arduino_tut23.php.

It looks like that Arduino Mini 5V is used there, but there is no step up converter to 5V  to supply 5V pin. Does it mean that Arduino will work from 3.7V?

When motors are on, does it need a regulator to prevent drops in Arduino supply? 

When I assembled similar circuit my Arduino is going to a weird state - it stops sketch execution and hangs.

I use simple sketch to control motors:

#define fadePin 3

void setup(){

  pinMode(fadePin, OUTPUT);

  Serial.begin(9600);

}

void loop(){

  for(int i = 0; i<360; i++){

    //convert 0-360 angle to radian (needed for sin function)

    float rad = DEG_TO_RAD * i;

    //calculate sin of angle as number between 0 and 255

    int sinOut = constrain((sin(rad) * 128) + 128, 0, 255);

    analogWrite(fadePin, sinOut);

    Serial.println(sinOut);

    delay(15);

  }

}

After few cycles, controller hangs.

asked by (230 points)

1 Answer

0 votes
 
Best answer
Arduino could wprk with voltages from 3.1 to 5. With 3.7V battery should work. If the Arduino resets it might be for current spikes from the motors. Make sure to add a 10uF-100uF cap to the 3.7 input and also diodes to the motor leads. Keep up,

EN
answered by (31.4k points)
...