Go Down

Topic: Autonomous RC tank hacked with an Arduino board and Lego NXT brick (Read 2986 times) previous topic - next topic


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... !



or any suggestions for improvement... !

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

Nice work.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.


:) 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. ... (http://trandi.wordpress.com/2011/04/03/the-wiimote-and-fez-domino/) you can find a link to the WIIBREW site (http://wiibrew.org/wiki/Wiimote#IR_Camera) 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 (http://trandi.wordpress.com/2011/05/11/wiimote-ir-camera-with-arduino/)  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,

Go Up