Autonomous RC tank hacked with an Arduino board and Lego NXT brick

Hi guys,

I'm quite new on this forum and I wanted to share with you one of my latest projects:

The above post contains all the details, including the code for the Arduino slave board, but in a nutsell, it's about an airsoft RC tank that I hacked so that it can be FULLY controlled by a NXT brick (programmed in LeJOS) helped by an Arduino.
I've also added an IR Camera hacked from a WiiMote, which allows it to track and lock on targets (a simple IR LED) and then fire plastic pellets at it...

I'd be very keen to have some feedback from you guys and / or any suggestions for improvement... !

Thanks,
Dan

or any suggestions for improvement... !

A voice synth that says "You have five seconds to comply..."!

Nice work.

:slight_smile: yes that's actually a great idea... then start making some loud noise, and only then fire the plastic pellet ! ...

I really like this and would like to add some of these concepts to my own tank projects. Could you point me to the documentation on the using the wii to detect the ir target. I'm assuming that an atmega128/328 could be used. Thanks, awesome work. By the way I am able to decode and reproduce IR pulses from Huan Qi, Forces of Valor, that might be a nice enhancement to your project.

Hi Paulware,

There are several posts on my blog regarding the WiiMote IR Camera, and in one of them dealing with the un-mounting etc. ... (The WiiMote and FEZ Domino | Robotics / Electronics / Physical Computing) you can find a link to the WIIBREW site (Wiimote - WiiBrew) that has all the technical details.

Basically, the camera does ALL the work for you (it's not only a simple camera it also has a uC included) and outputs on a I2C bus the positions and sizes of the 1st 4 IR points it can find.
So you only need to know what are the requests you need to send on this bus and the format of the received response (both of which you can find in my code examples).

For my tank project I have connected the IR Camera directly to the NXT brick, but I have another post (WiiMote IR Camera with Arduino | Robotics / Electronics / Physical Computing) where I show the Arduino code.

I don't really know what "Huan Qi, Forces of Valor" is but I'll have a look when I get back home, it sounds intersting...

Hope all this helps,
Dan