8 servos and ethernet shield? I think so...

Hi, Is it doable?

I'm looking at an Ethernet shield at: http://www.sparkfun.com/commerce/product_info.php?products_id=9026

A cool 4x servo demo at: http://principialabs.com/arduino-python-4-axis-servo-control/

with a nice closeup photo at: http://principialabs.com/wp-content/uploads/arduino-breadboard.jpg

The Ethernet shield makes pins 10, 11, 12, and 13 unusable for other stuff like servos. However with pins 2, 3, 4, 5, 6, 7, 8, and 9, I think I could still control 8 servos from the internet. I'm planning on only moving one servo at a time, so current shouldn't be an issue? What if I did move all at once? Instead of servos for the little meters I'm moving, I was thinking about using gear motors at: https://www.makershed.com/ProductDetails.asp?ProductCode=SBGM9

I was drooling over the Arduino Mega, but I haven't even ordered an Arduino yet... I like keeping it simple and cheap if possible. Thanls for the feedback in advance. :)

Here's a rough layout using Fritzing. I don't really know what I'm doing yet, but it might be close?

It's doable with a standard non-mega Arduino and an Ethernet shield. Your drawing is basically correct. The only thing to change is that you're going to need a separate power source for the servos. The Arduino isn't going to be able to supply the necessary current. So the servos' red wire will connect to the separate power instead of the Arduino 5V. Make sure to connect the separate power supply's ground to the Arduino ground to complete the circuit. The control wire for the servos will still connect to the digital pins as pictured.

For controlling the servos you can use Mem's MegaServo library.

Cool! Thanks for the tips and library link. As soon as some of the hardware comes in, I’ll refine this and post if I get nice results. :slight_smile: