Pages: [1]   Go Down
Author Topic: External power supply problem  (Read 531 times)
0 Members and 1 Guest are viewing this topic.
India
Offline Offline
Full Member
***
Karma: 0
Posts: 177
View Profile
WWW
 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
Online Online
Faraday Member
**
Karma: 106
Posts: 3758
"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

Created Libraries:
TFT_Extension, OneWireKeypad, SerialServo, (UPD)WiiClassicController, VWID

India
Offline Offline
Full Member
***
Karma: 0
Posts: 177
View Profile
WWW
 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: 25
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: 204
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
Jump to: