I'm making a hexapod for my college final project ( I have no idea how it's called in english ) and I want to clear some things out before destroying something.
I'm using 18 servos, the classic chassis that you find online and an Arduino Mega 2560. Here is my first problem. I saw a lot of robots with 16+ servos that run on Arduino alone. I'm new in the "business" but from what I know you control a servo through a PWM pin and the Mega has only 15 of them. Can you control a servo through another pin ?
Also, I want to control my hexapod with an app on my phone and I'm not yet decided if I want Bluetooth or WiFI but I saw for both options the XBee add-on. My question is , do I have to write the driver myself or does the little add-on work plug-and-play?
Your final year project? Or the hexapod? You are using both appropriately.
No. You can use any pin.
What add-on? A bluetooth shield is just a radio link to get data from the app on the phone to the Arduino. All the smarts need to be in the phone app and in the Arduino sketch.
In my country we call that project "Licence project".
What is the difference between controlling it with PWM or with any other pin? I looked it up online but I can't find any solid info , even on this website the example for servos is on a PWM pin.
I was referring to the shield, I'm a software guy, I forgot the name