Loading...
Pages: [1]   Go Down
Author Topic: External power supply problem  (Read 139 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I have an arduino uno r3 running a servo based on the inputs from a sharp ir range sensor. Things work fine when the Arduino is powered through USB port. The servo and sensor is running off the Vin on the board. The sketch works fine this way. But when I disconnect the USB and power the Arduino by providing regulated 5 V power to Vin(the servo and sensor runs from the regulated power now), the servo has a mind of its own. So, help me with the external power supply problem. You can get a better picture at:
http://www.youtube.com/watch?v=Fnipmf4_WL0&feature=youtu.be
Logged

Queens, New York
Offline Offline
Edison Member
*
Karma: 27
Posts: 1539
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The servo HAS TO BE ON ITS OWN POWER! not through the Vin, make it run on a 9 volt battery pack. You can run the ARD from the battery pack too if it has a high enough current output. The sensor may only be able to have 5 volt only, so that has be powered by the 5 volt pins on the ARD.
Logged

UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino

Arduino Tutorials, coming soon.

"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown

Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The servo works fine when powered off the Vin when Arduino is on USB power. But when extn. 9V is connected it goes its own way. Other sketches which involved the sensor and LEDs work fine with extn. supply
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is i think because of the voltage drop on the voltage stabilizer on the arduino board. You should power it more than 8V
Logged

Indiana, US
Offline Offline
Full Member
***
Karma: 12
Posts: 161
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Are the grounds connected? This is a very common error / oversight.
Logged

There are 10 types of people in the world, those that understand binary, and those that don't.

Pages: [1]   Go Up
Print
 
Jump to: