It was quicker for me to take a picture than for a schematic Hope it is clear enough. I can get the servo to work when the 5v is connected directly into the arduino pin. The problem arises when i connect the servo to the regulated 5v. When measuring the output from 5v voltage reg, i get a value of 2v. There has to be a problem with my wiring so let me explain how it is connected.
The three legs of the voltage regulator are connected to ground, with a 0.1μF cap (blue) and a 1μF(yellow). The third leg is connected by the red wire which should be giving a 5v-this is where the 2v measurement is coming from. For the servo, the black wire is connected to ground, the red to +5v(currently 2v) and the white wire is connected to the blue wire which is fed into pin 9 on my arduino. The code is fine because i can get it to work as explained above. I just want to know why im having issues here.
Finally, the voltage regulator has a max current of 1.5A and the servo has a max current of 0.5A, could this be causing an issue?
Thanks for any help on this!
The three legs of the voltage regulator are connected to ground, with a 0.1μF cap (blue) and a 1μF(yellow). The third leg is connected by the red wire which should be giving a 5v-this is where the 2v measurement is coming from. For the servo, the black wire is connected to ground, the red to +5v(currently 2v) and the white wire is connected to the blue wire which is fed into pin 9 on my arduino. The code is fine because i can get it to work as explained above. I just want to know why im having issues here.
Finally, the voltage regulator has a max current of 1.5A and the servo has a max current of 0.5A, could this be causing an issue?
Thanks for any help on this!
Attachments
-
23.5 KB Views: 45