Servos and multiple inputs

I am attempting to put together my first project and I wondered if anyone can tell me how I go about attaching servos to an Arduino and what happens if I need more inputs than are available?

https://www.arduino.cc/en/Tutorial/Sweep

https://www.arduino.cc/en/Main/ArduinoBoardMega2560

Thanks for the links. :slight_smile:

I see that this has been posted as solved, but I thought to reply… I’m using the SSC-32 servo controller from linxmotion (not sure if I"m allowed to say that on here though)… but it allows up to 32 servos to be controlled with just 2 pins connected to the Arduino. That might be worth a look?

I"m using it in my ROVer robot project (links below) and I had the same issue… needing the flexibility to add more stuff over time and worrying about running out of capacity.

What are you planning for your first build? Cheers,

Nick.