Not sure if this is a common problem but despite having everything seemingly set up correctly, the potentiometer reading were all over the place in the Serial Monitor and it was causing the servo to oscillate back and force very quickly. The issue seemed to be that the potentiometer wasn't making full contact with the board so pressing the potentiometer down while turning the dial made this work as intended.
I know i'm 1 year too late but that's more for anyone else with this problem : It's a little bit hard, but you can push down the black part. Once dislodged, it become easier to move the black part up or down.
I did this and it worked fine from 0 degrees to about 165 degrees. When I turn the Pot the full amount I get 180 read out for angle and the servo stops motion but the motor vibrates unless I turn the pot down a couple of clicks then it points and stops and is non vibrating. Any ideas how to get the full range but not have it vibrate at the end? Thanks!
I followed the instructions in the book paying very close attention to how everything was hooked up. When I plugged the board in, the servo buzzed and moved a tiny bit, as if jumping when power was introduced. From that point on, it doesn't move, buzz or do anything at all, no matter which way I turn the pot. So I looked on the forums and didn't get any further with my problem solving as others seemed to have a dimilar issue but none of their solutions worked for me. So I stripped the breadboard and followed the steps in this video. Same exact result. I've tried the code in the book, the code from the library, tried the Sweep as well as someone on the forum suggested it and still, the only life I get out of the servo is that initial tiny jump followed by nothing. Running the Seriell Monitor shows the values changing in accordance with the pot being turned but yeah... The servo doesn't react. Help?
The analog (A0) seems to have to connect on the RIGHT side of the potentiometer/breadboard for it to work, which is not what the diagram shows in the book. I had the same problem.
My arduino wasn't turning on either for a while after I had everything set up and I plugged in the usb for power. My issue seemed to be that I mistakenly had ground and 5v flipped around the wrong way for the servo.
Not sure if this is a common problem but despite having everything seemingly set up correctly, the potentiometer reading were all over the place in the Serial Monitor and it was causing the servo to oscillate back and force very quickly. The issue seemed to be that the potentiometer wasn't making full contact with the board so pressing the potentiometer down while turning the dial made this work as intended.
Excellent video. I was able to connect a photo resistor and map the input values so the servo would move with bright light. Worked perfectly!
My male header for the servo motor is too short on one side :\ can't connect it to the bread board.
u gotta push a little
I know i'm 1 year too late but that's more for anyone else with this problem : It's a little bit hard, but you can push down the black part. Once dislodged, it become easier to move the black part up or down.
@@soon7221 Thank you for your help!
@@soon7221 Thank you! I didn’t know if it was safe to push it or if that would break it!
@@soon7221 Thank you, my male headers were too short to connect to the servo and this tip helped.
the book and the video show different guides, which one do I follow?
Where can i get a soft copy of the book
Got my first kit today , missing lots of parts and a parts list
Can someone please tell me why we add a decoupling capacitor to the potentiometer?
whee can i get sa soft copy of the book? thank you
I have
Be careful, the servo I got in the starter kit was wired Red, White, Black whilst the instructions and the one shown here are Black, Red, White.
It doesn’t work good as the video if you notice it automatically turned to wrong side
Where to find the example code?
file, examples, 10
I did this and it worked fine from 0 degrees to about 165 degrees. When I turn the Pot the full amount I get 180 read out for angle and the servo stops motion but the motor vibrates unless I turn the pot down a couple of clicks then it points and stops and is non vibrating. Any ideas how to get the full range but not have it vibrate at the end? Thanks!
What capacitor should I use?
100 uf
I did exactly as the book said first nothing happened then it moved a bit and then it moved about 1cm back and forth.
Why?
Thank you, Arduino!
I followed the instructions in the book paying very close attention to how everything was hooked up. When I plugged the board in, the servo buzzed and moved a tiny bit, as if jumping when power was introduced. From that point on, it doesn't move, buzz or do anything at all, no matter which way I turn the pot. So I looked on the forums and didn't get any further with my problem solving as others seemed to have a dimilar issue but none of their solutions worked for me.
So I stripped the breadboard and followed the steps in this video. Same exact result. I've tried the code in the book, the code from the library, tried the Sweep as well as someone on the forum suggested it and still, the only life I get out of the servo is that initial tiny jump followed by nothing.
Running the Seriell Monitor shows the values changing in accordance with the pot being turned but yeah... The servo doesn't react. Help?
The analog (A0) seems to have to connect on the RIGHT side of the potentiometer/breadboard for it to work, which is not what the diagram shows in the book. I had the same problem.
@@saracynthiasylvia I did that and it didn't work
make that shorter and they will see, or read it.
where can i get a soft copy for the book?
i am facing exactly same issue. any help ?
I followed this exactly and my arduino won't turn on
My arduino wasn't turning on either for a while after I had everything set up and I plugged in the usb for power. My issue seemed to be that I mistakenly had ground and 5v flipped around the wrong way for the servo.
hi, where is the code for this project available
arduino website and otherwise search it on internet
It looks like it can also be found in the Arduino IDE, specifically: File > Examples > 10.StarterKit_BasicKit > p05_ServoMoodIndicator
please flip your board