Go Back  RCU Forums > RC Cars, Buggies, Trucks, Tanks and more > RC Tanks
 Open Source Battle System >

Open Source Battle System

Community
Search
Notices
RC Tanks Discuss all aspects of rc tank building and driving here!

Open Source Battle System

Thread Tools
 
Search this Thread
 
Old 03-29-2010 | 02:58 AM
  #26  
RSEA's Avatar
 
Joined: Feb 2007
Posts: 742
Likes: 0
Received 3 Likes on 3 Posts
From: Scottsdale, AZ
Default RE: Open Source Battle System

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.
Old 03-29-2010 | 03:31 AM
  #27  
Senior Member
 
Joined: Oct 2008
Posts: 178
Likes: 0
Received 0 Likes on 0 Posts
From: singapore, SINGAPORE
Default RE: Open Source Battle System

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.
Attached Thumbnails Click image for larger version

Name:	Rp44491.jpg
Views:	58
Size:	103.3 KB
ID:	1407047  
Old 03-29-2010 | 07:13 PM
  #28  
 
Joined: Jan 2008
Posts: 5,531
Likes: 0
Received 2 Likes on 2 Posts
From: Florence, NJ
Default RE: Open Source Battle System

Holy smokes, and all i wanted was an easy way to trigger a DBC with out any outside input. LOL.
Old 05-08-2010 | 09:05 PM
  #29  
Thread Starter
Senior Member
 
Joined: Apr 2007
Posts: 152
Likes: 0
Received 0 Likes on 0 Posts
From: , OH
Default RE: Open Source Battle System

Got the first prototype board built up. Im getting excited.
Attached Thumbnails Click image for larger version

Name:	Sq46667.jpg
Views:	60
Size:	65.6 KB
ID:	1433127   Click image for larger version

Name:	Sn42012.jpg
Views:	61
Size:	61.6 KB
ID:	1433128  
Old 05-08-2010 | 09:11 PM
  #30  
Thread Starter
Senior Member
 
Joined: Apr 2007
Posts: 152
Likes: 0
Received 0 Likes on 0 Posts
From: , OH
Default RE: Open Source Battle System

I'm also working on a sound module similar to the creepingdeath unit but using a very cheap design. sub $20.
Attached Thumbnails Click image for larger version

Name:	Db84093.jpg
Views:	56
Size:	73.4 KB
ID:	1433129   Click image for larger version

Name:	Gb89877.jpg
Views:	45
Size:	62.0 KB
ID:	1433130   Click image for larger version

Name:	In27894.jpg
Views:	50
Size:	68.7 KB
ID:	1433131  
Old 05-08-2010 | 09:33 PM
  #31  
Saxondog's Avatar
Senior Member
 
Joined: Apr 2009
Posts: 279
Likes: 0
Received 0 Likes on 0 Posts
From: Memphis, TN
Default RE: Open Source Battle System

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
Old 05-08-2010 | 09:47 PM
  #32  
Thread Starter
Senior Member
 
Joined: Apr 2007
Posts: 152
Likes: 0
Received 0 Likes on 0 Posts
From: , OH
Default RE: Open Source Battle System

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.
Old 05-09-2010 | 01:08 AM
  #33  
Thread Starter
Senior Member
 
Joined: Apr 2007
Posts: 152
Likes: 0
Received 0 Likes on 0 Posts
From: , OH
Default RE: Open Source Battle System

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.
Old 05-09-2010 | 10:15 AM
  #34  
Flyn Chris's Avatar
Senior Member
 
Joined: Jan 2007
Posts: 751
Likes: 0
Received 0 Likes on 0 Posts
From: Green Bay, WI
Default RE: Open Source Battle System


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
I like that idea, and then maybe the smoker would actuall last
Old 05-09-2010 | 12:05 PM
  #35  
Tanque's Avatar
My Feedback: (1)
 
Joined: Feb 2003
Posts: 2,955
Received 118 Likes on 100 Posts
From: East Bay, CA
Default RE: Open Source Battle System

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
Old 05-10-2010 | 07:10 AM
  #36  
Senior Member
 
Joined: Dec 2007
Posts: 679
Likes: 0
Received 0 Likes on 0 Posts
From: nelson, UNITED KINGDOM
Default RE: Open Source Battle System

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!
Old 03-01-2011 | 02:25 PM
  #37  
DeadTom's Avatar
 
Joined: Feb 2007
Posts: 183
Likes: 0
Received 0 Likes on 0 Posts
From: Reno, NV
Default RE: Open Source Battle System

What happened to this project?
Old 03-04-2011 | 06:22 AM
  #38  
Thread Starter
Senior Member
 
Joined: Apr 2007
Posts: 152
Likes: 0
Received 0 Likes on 0 Posts
From: , OH
Default RE: Open Source Battle System

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.
Old 03-04-2011 | 09:57 AM
  #39  
DeadTom's Avatar
 
Joined: Feb 2007
Posts: 183
Likes: 0
Received 0 Likes on 0 Posts
From: Reno, NV
Default RE: Open Source Battle System

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
Old 09-14-2013 | 03:56 PM
  #40  
Member
 
Joined: Aug 2011
Posts: 96
Likes: 0
Received 0 Likes on 0 Posts
From: San Diego, CA
Default

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
Old 09-15-2013 | 12:33 PM
  #41  
Oracus's Avatar
 
Joined: Jun 2006
Posts: 1,056
Likes: 0
Received 2 Likes on 2 Posts
From: West Terre Haute, IN
Default

Originally Posted by SDCPs
make something where I can retrieve an IR signal and emulate it.
That is the current problem, replicating Tamiya code.
Old 09-16-2013 | 07:01 PM
  #42  
Love To build's Avatar
My Feedback: (30)
 
Joined: Feb 2002
Posts: 340
Likes: 0
Received 0 Likes on 0 Posts
From: Edison, NJ
Default

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?
Old 09-16-2013 | 10:59 PM
  #43  
Member
 
Joined: Aug 2011
Posts: 96
Likes: 0
Received 0 Likes on 0 Posts
From: San Diego, CA
Default

Originally Posted by Oracus
That is the current problem, replicating Tamiya code.
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.
Old 09-18-2013 | 05:33 PM
  #44  
Thread Starter
Senior Member
 
Joined: Apr 2007
Posts: 152
Likes: 0
Received 0 Likes on 0 Posts
From: , OH
Default

emulating tamiya ir code isnt a problem. Time to work on the project is.
Old 09-18-2013 | 06:49 PM
  #45  
Love To build's Avatar
My Feedback: (30)
 
Joined: Feb 2002
Posts: 340
Likes: 0
Received 0 Likes on 0 Posts
From: Edison, NJ
Default

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
Old 09-19-2013 | 06:02 PM
  #46  
Thread Starter
Senior Member
 
Joined: Apr 2007
Posts: 152
Likes: 0
Received 0 Likes on 0 Posts
From: , OH
Default

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.
Old 11-22-2014 | 11:42 PM
  #47  
Junior Member
 
Joined: Nov 2014
Posts: 2
Likes: 0
Received 0 Likes on 0 Posts
Default

Is this interresting project definitively dead ?

THE_BREED disapear from the forum ....

Nobody would like to go ahead ?

Last edited by Rebus; 12-12-2014 at 10:36 PM.
Old 12-14-2014 | 09:37 AM
  #48  
Junior Member
 
Joined: Nov 2014
Posts: 2
Likes: 0
Received 0 Likes on 0 Posts
Default

Up !

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.