Go Down

Topic: Need servo sweep code (Read 741 times) previous topic - next topic

aaronyz123

I need to be able to control 5 servos all sweeping at the same time at different angles. It needs to run on an Arduino nano. I need the code by tomorrow so this one time, instead of teaching me how, if you would mind giving me the code, I`m not asking you to write it just for me, of you have it or could find it online or something, that would be great. I know I must sound annoying but I`m kind of desperate so please just help me out. Thanks

CrossRoads

I've never done any servo work.
Do some reading, good luck. Make sure you have a good 5A power supply if all 5 are moving at once, or more if they are big servos.
https://www.arduino.cc/en/Reference/Servo
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

CrossRoads

There's 2 servo examples in the IDE under File:Example:Servo
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


J-M-L

#4
Nov 04, 2016, 06:56 am Last Edit: Nov 04, 2016, 07:18 am by J-M-L
What's the big urgency??  wasn't that the topic of your post two weeks ago

What have you done since?
Hello - Please do not PM me for help,  others will benefit as well if you post your question publicly on the forums.
Bonjour Pas de messages privés SVP, postez dans le forum directement pour que ça profite à tous

Go Up