Open Source Battle System
#26
This is the first time I have seen this thread.
I'm not familiar with the Arduino, but I recognized your code as being C/C++. I've been learning to program in Objective-C recently. Your aspirations sort of make me think of a MAME project for RC tanks. Multiple Tank Battle Emulator MTBE? Not sure where you'd get the specs your looking for on the TBU.. I assume IMPACT must have obtained this kind of info, and what about DBU Dave? I have a TBU but no technical info about it.
I can see it being kind of daunting for some RC tank owners though. Especially a DIY unit encompassing all the variables and capability you've been working on. As an RC tank club member, for this kind of system to be acceptable for battle, I think everyone on the field would have to be using it. It is an interesting project though.
I'm not familiar with the Arduino, but I recognized your code as being C/C++. I've been learning to program in Objective-C recently. Your aspirations sort of make me think of a MAME project for RC tanks. Multiple Tank Battle Emulator MTBE? Not sure where you'd get the specs your looking for on the TBU.. I assume IMPACT must have obtained this kind of info, and what about DBU Dave? I have a TBU but no technical info about it.
I can see it being kind of daunting for some RC tank owners though. Especially a DIY unit encompassing all the variables and capability you've been working on. As an RC tank club member, for this kind of system to be acceptable for battle, I think everyone on the field would have to be using it. It is an interesting project though.
#27
Senior Member
Joined: Oct 2008
Posts: 178
Likes: 0
Received 0 Likes
on
0 Posts
From: singapore, SINGAPORE
I am been trying out some stuff too.
impact miniact casing was glued dead, as the warranty is void if opened.
anyway, knowing some very basic electronics, I removed the limiting resistor to the IR LED, and tried with a 50k ohm pot. resistor.
And found out that somewhere around 15.5k ohm, the range of the IR emission is reduced to a minimum of 3~5 inch.
which means, it can now be adjusted for the "power" of the main gun.
but, from the finding, the pot. resistor value is not directly proportional to the energy of the IR emission. More like exponential.
impact miniact casing was glued dead, as the warranty is void if opened.
anyway, knowing some very basic electronics, I removed the limiting resistor to the IR LED, and tried with a 50k ohm pot. resistor.
And found out that somewhere around 15.5k ohm, the range of the IR emission is reduced to a minimum of 3~5 inch.
which means, it can now be adjusted for the "power" of the main gun.
but, from the finding, the pot. resistor value is not directly proportional to the energy of the IR emission. More like exponential.
#31
Real engine and sound effects,neutral engine revving if possible,Tied to the sound card and the smoker device,also haveconsideredusing the new smoker to simulate a kill situation where the smoker kicks into high fan power and fills the tanks with smokeemittingfrom hatches or other open to air parts of the tanks like engine grills,I mean the new units will pump out some smoke and what could be more real and easier on the battle field to see than a tank engulfed in smoke?Sax
#32
Thread Starter
Senior Member
Joined: Apr 2007
Posts: 152
Likes: 0
Received 0 Likes
on
0 Posts
From: , OH
This design will have engine sounds (not the best in the world but no worse than HL i wouldnt say) digitally created on board and all the gun and track sounds etc. will be on the same external SD card board that bills battle unit uses now. Neutral engine revving is actually harder than it seems it would be to do. Its dificult to get it to sound correct revving the unit up quickly, but I have enlisted a friend of mine to help me develop on an STM8S-Discovery board. I told him if he helped me get up to speed on the Cosmic C compiler id help him tune the software on his quadcopter. so we will see.
#33
Thread Starter
Senior Member
Joined: Apr 2007
Posts: 152
Likes: 0
Received 0 Likes
on
0 Posts
From: , OH
Is anyone else who has an arduino mega that is interested in working on software? I have a few more blank boards im going to populate and give away for anyone who is interested in helping with code development. The sections that need developed are the battle system code, the code to connect to the sound modules, and some I2C stuff. Let me know and I will clean up the documentation I have now and get those boards populated.
#34
ORIGINAL: SAXONDOG
snip and the smoker device,also have considered using the new smoker to simulate a kill situation where the smoker kicks into high fan power and fills the tanks with smoke emitting from hatches or other open to air parts of the tanks like engine grills,I mean the new units will pump out some smoke and what could be more real and easier on the battle field to see than a tank engulfed in smoke? Sax
snip and the smoker device,also have considered using the new smoker to simulate a kill situation where the smoker kicks into high fan power and fills the tanks with smoke emitting from hatches or other open to air parts of the tanks like engine grills,I mean the new units will pump out some smoke and what could be more real and easier on the battle field to see than a tank engulfed in smoke? Sax
#35

My Feedback: (1)
Gosh this sounds interesting, wish I had the time to get involved! I'm a Java/ C/C++/C# developer and while
it would be the cat's meow to work this project I barely have enough time to do any model stuff. Weekends find me so tired that I'm moving at sub impulse speeds....I work for a financial that believes in getting the "utmost" from its it people.
Doesn't leave much energy left over for ambitious projects or even semi ambitious projects.... It takes me days or weeks to do even small model projects. :-(
Jerry
it would be the cat's meow to work this project I barely have enough time to do any model stuff. Weekends find me so tired that I'm moving at sub impulse speeds....I work for a financial that believes in getting the "utmost" from its it people.
Doesn't leave much energy left over for ambitious projects or even semi ambitious projects.... It takes me days or weeks to do even small model projects. :-(
Jerry
#36
Senior Member
Joined: Dec 2007
Posts: 679
Likes: 0
Received 0 Likes
on
0 Posts
From: nelson, UNITED KINGDOM
Hi Have you tried contacting Impact and asking them for the codes(or if they are interested in collaberation or fund you)Maybe they would and then help produce and market them.
They have there own Battle units which are much cheaper than Tamiyas,maybe they would be interested in a Battle system that is better than Tamiya and cheaper.If there were more people making battle systems it would drive the prices down.
Tamiya battle systems are good but they need to be upgraded (need to have mommentum at least)I have a Tamiya pershing Which has a servo slow added to simulate mommentum not perfect but it works to a degree.If you used the Tamiya start up proccedure like the Tamiya Pershing ,the tank wont move untill full power reverse is inputted this gives you engine rev up ,the tank still takes hits and can fire while in this mode.
regards pete
If the Tamiya codes are to the standard we use to battle with why is no one knows what they are?
Or if someone know why not share!
They have there own Battle units which are much cheaper than Tamiyas,maybe they would be interested in a Battle system that is better than Tamiya and cheaper.If there were more people making battle systems it would drive the prices down.
Tamiya battle systems are good but they need to be upgraded (need to have mommentum at least)I have a Tamiya pershing Which has a servo slow added to simulate mommentum not perfect but it works to a degree.If you used the Tamiya start up proccedure like the Tamiya Pershing ,the tank wont move untill full power reverse is inputted this gives you engine rev up ,the tank still takes hits and can fire while in this mode.
regards pete
If the Tamiya codes are to the standard we use to battle with why is no one knows what they are?
Or if someone know why not share!
#38
Thread Starter
Senior Member
Joined: Apr 2007
Posts: 152
Likes: 0
Received 0 Likes
on
0 Posts
From: , OH
Its sitting on my work bench. Havent touched any rc tank stuff for prob six months been working six and seven days a week. Some day when I get time again ill hopefully pick it up and finish it. Was thinking the other day about building an abrams with a tankzone lower hull and hobby engine top that way i would have to finish it. The awesome part is I'm back out in the test department so I can get all the speed values for the abrams and tune it up perfect.
#39
I understand, a person must work if they have work.
I was thinking of doing something very similar but with a smaller Arduino like the Pro, of course it would not be as robust as your system just enough to have some good battles with like-setup tanks using the lower cost HL IR stuff. Since I do not have anyone else around me that battles with 1/16th tanks I set the standard with my 4 HL tanks.
Good luck,
Tom
I was thinking of doing something very similar but with a smaller Arduino like the Pro, of course it would not be as robust as your system just enough to have some good battles with like-setup tanks using the lower cost HL IR stuff. Since I do not have anyone else around me that battles with 1/16th tanks I set the standard with my 4 HL tanks.
Good luck,
Tom
#40
Member
Joined: Aug 2011
Posts: 96
Likes: 0
Received 0 Likes
on
0 Posts
From: San Diego,
CA
Just saw this thread. Sigh. I still need to figure out how to program my Uno. Want to at least make something where I can retrieve an IR signal and emulate it. Maybe with one of those wireless connectors so I can make AT guns. But maybe I don't want it bad enough since nothing is happening
#42
Retrieving the signal is easy with a oscilloscope. You'll get the pattern, then get the frequency. From there. Or a Spectrum analyzer with a Rec/playback option. I used to work on these type devices. PCB layout, circuit design, and Fab. The one thing I couldn't do was writing the code. We had a software engineer for the.
I like the work you put into it so far. I was thinking of putting a 4 digit preamble before the shot signal to identify the tank it came from(using the Tamiya fire code after the preamble will let it work with standard Tamiya unit also). and have a Bluetooth link from the unit to a laptop. Putting all combatants with their ids in the computer and registering shots. Then expand it to 2 way communication. Depending on what type tank and gun shoots you the laptop link will adjust damage accordingly. What is the number of I/O ports available?
I like the work you put into it so far. I was thinking of putting a 4 digit preamble before the shot signal to identify the tank it came from(using the Tamiya fire code after the preamble will let it work with standard Tamiya unit also). and have a Bluetooth link from the unit to a laptop. Putting all combatants with their ids in the computer and registering shots. Then expand it to 2 way communication. Depending on what type tank and gun shoots you the laptop link will adjust damage accordingly. What is the number of I/O ports available?
#43
Member
Joined: Aug 2011
Posts: 96
Likes: 0
Received 0 Likes
on
0 Posts
From: San Diego,
CA
I am a member of a Yahoo group for Lazer tag enthusiasts and members on there have (and say it is extremely easy to do) coded arduinos with just ir receivers and emitters to record an ir signature and repeat it on demand. Storing it long term shouldn't be much of a stretch. I think they were more worried about patent infringement and also wanted devices that replicated their player IDs so hits generated were credited to them. We use Hazbro "Lazer tag" guns such as the deluxe, LTAR, pheonix LTX, Drone, and Master Blaster. A search for any one of those would give a general idea of the equipment. Range is ~300 ft.
But I don't think the process is easy or straightforward since I'm such a coding newb.
But I don't think the process is easy or straightforward since I'm such a coding newb.
#45
I debating taking a course in C+ at the college. I have many projects where the PCB side I can bang out, just can't code. I am disabled so time I have just no experience in code.. Guess I might take a stab at it. I did Colbal and Fortran in college in the late 70's( yeah showing my age). Might be worth a shot. This could be a good platform for expansion also .I'm going to look at the offered courses for the spring semester and take it. I think there can be a good collaboration between us all and make something amazing.
Bill
Bill
#46
Thread Starter
Senior Member
Joined: Apr 2007
Posts: 152
Likes: 0
Received 0 Likes
on
0 Posts
From: , OH
A few weeks ago i found a new Arduino board that is pretty much ready made for rc applications and started a new thread about it. its only $10-$15. i started modding the code for it but with my new job i only get every third weekend off and after work all i want to do is sleep. i can read ir and have modified the traction, azi, pivot, and recoil code but there is much to be done yet.




