Dagu hexapod + IR sensors + PIR sensors

Hey everyone.

I am too new to robotics, but I am trying to build a moving trash can that response to the garbage that’s thrown around it instead of inside of it.

In order to achieve that, I have decided to go with using a:

1- Dagu Hexapod
2- IR sensor with a remote
3- Motion sensors attached on each side of the garbage can

I am using the code attached (…and I have loaded the IR library…) - but it seems to give me erors like (avrdude: stk500_recv(): programmer is not responding) - any ideas?

I have a bunch of process photos of the wiring and the actual shape of it posted on my blog (www.maryamhome.tumblr.com)

_12_DOF_Hexapod.pde (9.88 KB)

Have you selected the right board in the Arduino IDE? From the photos on your site I can see that you are using a Dagu Red back spider controller. The first versions of this board had the ATmega1280, the latest versions have the ATmega2560. I suggest you take a good look at the chip on your board to see which micro controller you have and select the right board in the Arduino IDE (Arduino Mega 2560 or Arduino Mega 1280).