I have only one Huan Qi Tank, model 516-10 and green color and 40MHz, I could not find the yellow one yet and I'm working on a arduino bot to fight with green.
I made arduino tank using chassis from another tank, it is controlled by bluetooth and I added an IR emitter and receiver. I found on your library the code for barrel shot (huanQiPulses[] = {12500, 600, 2150, 600, 700, 1950, 600, 8500} and now my arduino tank can fire against green tank with barrel XD. Thank you for it.
Now I want one little favor from you ^^
Can you scan machine gun pulses? Please?
Oh.. and sorry for my bad english, i'm brazilian and my portuguese is bad, imagine other languages lol
Machine gun is very similar. I'm glad you liked it. I'll have to check my library, or do quick check. I have a library for hacking an ir pulse. That may be useful as well. Can you point me to how you did the Bluetooth control. I have a Bluetooth shield but I'm not sure if you need a master or a slave.
Thanks
Paul
My problema was know the pulses that green tank recognizes as barrel and machine-gun (from the yellow tank, that I not have). Thanks to you I have the barrel and I will be very happy if you can hack (dump) machine-gun pulses from your 27MHz yellow tank.
Hey guys,
Sorry I haven't replied for awhile. I can't find my old version of code that had the machine gun pulse so I will have to resurrect my little lab to sample the pulse.
I just saw something today that explained why I was getting (relatively) crappy range on my IR firing. I had the IR LED directly connected to the DIY arduino so that it was limited to Arduino power (20 mA). I should've using a transistor and ground/power to amplify the pulse like this example: http://www.instructables.com/id/Duino-Tagger/step4/Transmitter/
Flame affect mockup of building or vehicle should probably be placed outside, surrounded by non-flammable rocks. Even better: Make a fenced off arena which has these kind of affects and don't let the patrons inside the arena. Sounds like a great kickstarter idea. Kids would love it. What boy doesn't like fire. yeah he he yea yea burn
I started a github repository located GitHub - Paulware/IRBattleField: Awesome IR battle stuff
It contains a schematic for the receiver that uses an nrf24l01 and has a place for an hbridge to control 2 wheels.
I'm going to order the pcb from iteadstudio so it will be a few weeks before I know whether it is correct.
Nothing I have here is large enough to hide the RPi with DIY Arduino inside - have you tried to get them physically inside one of your iR tanks? And was there a reason you needed the extra horsepower of the RPi rather than doing it all within the Arduino code?
Although you could possibly fit a raspberry pi inside a scale 1/16th tank I don't recommend it.
Remember, the raspberry pi is used for the controller. The controller will be connected to the transmitter.
In the tank itself you will place the receiver, and yes I've made very small receivers with diy Arduinos that fit in smaller than 1/16 tanks.
But back to the horsepower question. This was the easiest/quickest way for me to read wiimote/Bluetooth. I saw a link to a usb host shield solution, and I also have a Bluetooth shield that I would like to try. But I haven't had success yet.
I've not got a bluetooth shield, but have used the bluetooth bees and seen the cheap bluetooth modules used too. Very straightforward, just send them commands much like the old-school AT modem controls.
So..... (just to make sure I understand all this): if I solder wires to those seven points on my tank's board and then connect these to digital ports on my Arduino, I can control the tank's movement with e.g. an ultrasonic sensor, point the gun at e.g. a heat source, fire it if the cat walks in front of an ir heat sensor, etc.? I'm new to this stuff and a tad geriatric as well, so I need things spelled out to me...
Wow its been more than a year since my last post.
I just finished testing out a new interface here is a list of components and why they were chosen.
Heng Long Scale 1/16 battle tank: Chosen because the pinouts to the board are known and lots of room to add components
2)L298 H-Bridge: Chosen for price (about $3.00 on ebay), and it can also convert 7.2V battery to 5V for Arduino
3)Access Point: Chosen for price (about $10.00 on ebay) and will allow udp communications from a Android Tablet
4)ENC28J60 module: Chosen for price (about $4.00 on ebay) and has a decent library for udp
5)Mini pro knockoff: Chosen for price (about $3.00 on ebay) and runs arduino code
A video and source code for android app and arduino mini pro will follow