Pages: [1]   Go Down
Author Topic: analog read from sensor problem  (Read 157 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi guys ,

i have a problem with my Infrared Proximity Sensor , the reading of the sensor is stable but when i connect a servo motor the reading just go wild . 
Logged

Offline Offline
God Member
*****
Karma: 19
Posts: 551
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A servo motor needs a lot of current. More than the Arduino or usb can supply.
You need a seperate power supply for the servo motors. Connect the grounds.
Logged

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

A servo motor needs a lot of current. More than the Arduino or usb can supply.
You need a seperate power supply for the servo motors. Connect the grounds.

Thanks so much Peter_n , that really helped  smiley-cool
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 603
Posts: 33408
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Servo motors also generate a lot of interference, you need capacitors at least to cut this down.
Logged

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

Servo motors also generate a lot of interference, you need capacitors at least to cut this down.

thanks you Grumpy_Mike for this information , but where should i put this capacitor , and what the value that i should use ?


Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 603
Posts: 33408
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It depends on the amount of interference it generates. A 0.1uF ceramic at least and normally a 47uF as well from the power to ground of the servo, as close to the servo as you can get.
See:-
http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html
Logged

Pages: [1]   Go Up
Jump to: