Hello
I am very new here..I recently purchased an arduino mega and shield...I am trying to move a servo with both...but couldn't..anybody has a simple code to rotate the servo to 90 degrees
Thanks a lot
Have you tried the Servo library's sweep example?
Thanks for replying
Is it plug and play or it needs a library...I tried many examples but still the servo does not move!
Did you select the right I/O pins for the servo you have attached to the shield?
You really have be more detailed in your descriptions. How are we to know what examples you tried? What shield you have? What servo? How is it connected? etc. etc. etc.
Please provide all that information in one post so we don't have to play "100 questions" game.
1-The "servo sweep" example provided with IDE
2-Arduino mega sensor shield v2
3- mg995 servo connected attached to digital pin 9
Finally this is the first (and probably the last time to use arduino)...I am trying to make a simple project to use at home...no intention to learn arduino nor coding
Thanks
How are you powering the servo?
from the arduino mega
What pin?
Sorry, that's the wrong answer.
Use a separate power supply.
True, but I suspect there is more going wrong...
ok...thanks a lot....I will try it,,,hope it works
How do you know that you're definitely accessing pin 9 on the shield?
It is written on the shield
How is servo power provided on the shield? Are there jumpers for that? Are they set correctly? 94 questions remaining... just post a close up photo of the whole deal.
94 questions! that's too much for a simple project!
It's easier to drop it then
Thanks anyway Sir!
If you post all the information, there will be 0 questions.