A few things came up yesterday as I was trying to source components.
The first thing I realized was that in order to get the legs to move much more realistically I will need 3 servos per leg. Which comes out to 18 servos for the legs and 2 for the body. Well the Arduino boards I like all only have 14 digital I/O pins. So this poses a bit of a problem. My first thought is to use a demux to give me more outputs. Indeed this seems to be a viable option, the Arduino site has an article on using a
4051 Analog Multiplexer/Demultiplexer. But to keep this project as simple as possible I'm just going to use 2 Servos per leg, with the addition of 2 for the body, that puts me at 14, which should work out perfectly. Note that I'm still not sure if I need to be using the PWM lines only for driving the servos. If this is the case, I will need to get 2 x 4051s and use PWM lines as the signal input.
The other major thing that came up yesterday was trying to buy the components. I'm located in Canada so sourcing was getting to be a bit of a pain. I first tried to order directly from
sparkfun, but when the checkout screen got to the shipping options, I saw that shipping was going to cost me 50% of the cost of my order. That in addition to the duties on the import was not looking very cost effective. To resolve this I started looking for Canadian companies that sell Arduinos. I managed to find a company located in Calgary called
Solarbotics. Their prices seem reasonable to me, as does their shipping. The biggest problem here is actually that they don't sell the
Arduino Fio that I wanted to buy. So now I'll have to come up with a new parts list and try to find another way to skin the cat.
The design I'm now considering will use an
Arduino Pro Mini as the primary micro controller. In conjunction with the
SparkFun Bluetooth Mate, I should be able to get similar functionality. The one thing I can see still having to add is a charging circuit, of which I know nothing about yet.
Edit:
Ok so I found a site with reasonable shipping, no duties and everything I needed. Ordered from
robotshop, I picked up an
Arduino Fio,
FTDI Basic Breakout - 3.3V,
DFRobot Bluetooth Bee, and a
Polymer Lithium Ion Batteries - 3.7V 860mAh. Grand total after tax and shipping: $105.