Just want to check before ordering everything that I'm not going to run out of pins
I'm building a bot (3d printed) which when I have something workable going to upload for everyone to join in. I'm looking at the electronics side at the moment and I'm tight on space so have a nano to work with.
My aim is to make a bot with 16 servos / tilt sensor / wifi for PC communication (wrote in vb.net) + more sensors I've yet to decide on.
The Nano has 14 digital pins, including the two used for serial communication, and 8 analog pins, which can also be used as digital pins (at least 6 of them can, anyway).
16 servos need 16 pins. The three axis accelerometer needs three pins. That WiFi modules needs two pins. That is using 21 of the 20 or 22 pins you have.
You mention a servo board but have said nothing about it. If you can offload the servos to that board, and use SoftwareSerial to talk to it, then you should have enough pins.
2 of the analog pins, A6 & A7, are analog input only.
I wasn't sure about that. Nothing on the Nano page says for certain that any of the analog pins could be used as digital pins, but, since it is a 328-based device, I knew that 6 of them could be used as digital pins.
I want to add as many sensors as I can.. so the more free pins the better. I've heard about a serial software port so thanks for that.. will do some reading on it.
I'm taking it one step at a time at the moment... just printing and building mmy lower bot first and seeing how it goes.
Since you are using the computer along with the board, I'd suggest BitVoicer for the speech recognition features (http://www.bitsophia.com/BitVoicer.aspx). It will help to save pins.