Let's Make Robots!

multiple arduino's in one project

im currently working on a octo-pod kind of like chopsticks. i plan on using 4dof legs from the t-hex and some components from vex robotics for the frame. i want to use two Dagu spider controlers. i want to use one for the legs and possible arm, and the other for sencers,etc... i was wondering how can i make the two work together as one. i want the sencers to control the legs, but at the same time keep them on separate controlers. this robot will be autonomous, but i have built several robots and am new to the complicated stuff like hex-pods. so any advanced user tips would be greatly appreciated 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

the project wont start till mabe another 3-4 months because im currently deployed.. but once i get back to the styates... the project will kick into turbo drive.i also wasnt sure if oi should go with standard sized servo's or the big mofo's... im leaning twards the larger ones cuz that is more room fo adding components and it will handle the weight much better.

sry for the triple post, my computer is acting up again.

because i will be working with voice recognition and object tracking, and facial tracking, mapping,all using a camra, and ir censers. but i want the camera to be the main censer... i will be using gps,etc. i will be adding a small infered camra that is live feed also, but thats js for shlits and gigs... js a lil extra.. i will also be adding touch sencers to the feet for travel through more uneven terain... i would js have prefered to use two  bordes because of there being so much involved. for it to process, but then again... i could be wrong. i think it will make it easier for the robot to process, but then again... i could be wrong. that why i want imput from u more experienced personell. and thanks for the info so far.i might fool around and see if the 12c will work. this will basically be my big never ending project... my perfect robot so to speek...
because i will be working with voice recognition and object tracking, and facial tracking, msping,all using a camra. i will be using gps,etc. i will also be adding touch sencers to the feet for travel through more uneven terain... i would js have prefered to use two  bordes because of there being so much involved. for it to process, but then again... i could be wrong. i think it will make it easier for the robot to process, but then again... i could be wrong. that why i want imput from u more experienced personell. and thanks for the info so far.i might fool around and see if the 12c will work. this will basically be my big never ending project... my perfect robot so to speek...

because i will be working with voice recognition and object tracking, and facial tracking, msping,all using a camra. i will be using gps,etc. i will also be adding touch sencers to the feet for travel through more uneven terain... i would js have prefered to use two  bordes because of there being so much involved. for it to process, but then again... i could be wrong. i think it will make it easier for the robot to process, but then again... i could be wrong. that why i want imput from u more experienced personell. and thanks for the info so far.i might fool around and see if the 12c will work. this will basically be my big never ending project... my perfect robot so to speek...

There is a ready made board for speech all over eBay for about $30 US. Facial recognition might be a bit much for an ATMega. I2c is probably the way to go to communicate between two boards. Keep us posted on your progress!

I don't see the point of using 2 Megas in one robot, but each his own. You can let 2 Arduinos talk to each other using serial, SPI or I2C. Take your pick... The Mega has 3 serial ports and serial is easy to use, on the other hand you can use I2C which is faster then serial and also uses only 2 wires (SDA/SCL). SPI is a bit more difficult to use and uses more pins. There are enough examples on the Arduino forum/playground for communicating between Arduinos with serial and I2C.

It's possible but maybe overly complicated/unnecessary to get two boards to work together.  If the reason for splitting shields is in/out limitations, you might consider a multiplexed servo driver shield (usually 4 pins to drive up to 16 servos.)  That would leave you 8 pins for sensors and considerably simplify your processing on an Uno/Duemillanove (9 if you want to mess with pin 0.)  

On a board using a Mega (like the Spider, HIGHLY RECOMMENDED) you can drive up to 48 servos off of one board, so with 8 x 4dof legs, you'd still have 16 pins left over for sensor input and an arm.  A 4dof arm (maybe overkill) would leave you with enough inputs to put multiple sweeping distance sensors... you get the picture.

Am I missing your reason for wanting to use two processors here?