Pages: [1]   Go Down
Author Topic: Autonomous RC tank hacked with an Arduino board and Lego NXT brick  (Read 1895 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys,

I'm quite new on this forum and I wanted to share with you one of my latest projects:
http://trandi.wordpress.com/2011/05/14/tiger-1-bb-airsoft-rc-tank-%E2%80%93-v3/

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
Logged


Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 239
Posts: 24373
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
or any suggestions for improvement... !
A voice synth that says "You have five seconds to comply..."!

Nice work.
Logged

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

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged


0
Offline Offline
Full Member
***
Karma: 3
Posts: 119
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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,
Dan
Logged


Pages: [1]   Go Up
Jump to: