Recent Posts

Pages: [1] 2 3 4 ... 10
1
Other Open Source Projects / Re: Standalone Tank IR
« Last post by LukeZ on May 25, 2017, 10:36:52 AM »
I've always known there were others working on Arduino tank projects, it's been nice to meet several of you recently. That's a good idea for your autonomous Panzerturm. A similar functionality could be added to the TankIR sketch, it is already set up to control up to 4 servos, right now only a single one is being used for the recoil. One of the others could be set to turret rotation and then as you did code it to turn and fire randomly. If you or anyone else would like to add these or other features don't hesitate to submit a pull request to the GitHub project.

I'm sure many people would be even more interested in your sound project. If you want to share more details about that feel free to start a thread in the Sound Forum.
2
Other Open Source Projects / Re: Standalone Tank IR
« Last post by Rileyelf on May 24, 2017, 12:17:27 PM »
Hello, new bloke here!

I designed my own Arduino powered tank battle system a while back, great to see this project!    I did a cut down version like this specific part to run a Panzerturm...  This runs a servo for a random time, fires the cannon then rests for a reload period and starts again.   Adds an interesting feature to the battleground!    I have also designed my own tank sound system which works pretty well.

Here's a video of the Panzerturm during dev....

https://www.youtube.com/watch?v=LaTYOzBSGUo

Drew.
3
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by LukeZ on May 24, 2017, 11:12:10 AM »
I plan on using a pair of HobbyKing X-Car 45's for ESC's.  Where would I plug them into the Mega?  The same pins as listed in the TCB Pinout?
See this post from earlier in this thread. Right tread ESC goes to pin 28 on the Mega, left tread to pin 29. These pins are for the signal wires to the ESCs. Both ESCs will also need a Ground connection to the Mega, which you can get from various places on the Mega board. Whether you connect the +5v from the ESC to the Mega is up to you. You could do so and use the ESC to power the Mega (connect the +5v from only a single ESC, not both). Or if you power your Mega directly from your main battery then leave the +5v from both ESCs disconnected. Either way you are going to have a real rat's nest of wiring!

If using the Mega, would it be IR battle capable (with the battle apple of course) or would this function be limited to the TCB?
You could connect an Apple to the Mega and you would be able to receive hits, but to send IR you would need additional circuitry because the Mega doesn't have the power to drive the IR LED directly (at least not with any kind of range). You don't need a lot, just a transistor/MOSFET and a few resistors, but again you start to really get into a wiring mess.

And finally a general question about the TCB; is it compatible with the DBU? http://darkith.dyndns.org/~darkith/html/dbu_inst.shtml
I ask because is far less expensive than the Tamiya system and may appeal to those willing to engage in a project like this anyway.
All the various "apples" operate the same way, so yes you can use the DBU with the TCB as long as you connect it properly (easy to do on the TCB since every pin is labelled on the bottom of the board). You can also use the Taigen apple which is dirt cheap but doesn't have indicator LEDs, there is a photo of it wired to the TCB on the IR page in the Wiki.

4
TCB Dev / Re: PS3 controller/transmitter question
« Last post by LukeZ on May 24, 2017, 10:57:04 AM »
The DIY radio protocol firmware would no doubt run on the processor in the PS3 controller (both projects use the standard ATmega 328) but there's not enough pins on the chip to do everything that both require. You would probably have to shoe-horn another Pro Mini into the PS3 controller to run the radio protocol code and interface with the the 2.4 Ghz Tx module. Then either modify the PS3 code to output PPM (what the radio project expects as input), or modify the radio code to accept serial input (what the PS3 code spits out).

Anything is possible with enough time but either way you're in for some hacking. If the PS3 guy were still actively involved it would be worth asking him to revise the PCB to integrate 2.4Ghz transmission into his design but it doesn't appear he's been active for some time. You could also post on one of the RCGroups threads as some of those guys might be interested in the same thing and maybe would be willing to work on it.

I agree with you the PS3 is a nice controller and would be interesting to use with RC models. I've spent many hours with it playing video games!

In a similar vein you could just buy the TBS Tango transmitter and be done with it, but it's way overpriced in my opinion.
5
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by uglyduck on May 23, 2017, 08:09:37 PM »
A couple of questions regarding using the Mega before the TCB arrives:

I plan on using a pair of HobbyKing X-Car 45's for ESC's.  Where would I plug them into the Mega?  The same pins as listed in the TCB Pinout?  Same method as described in the wiki for the TCB?

If using the Mega, would it be IR battle capable (with the battle apple of course) or would this function be limited to the TCB?

And finally a general question about the TCB; is it compatible with the DBU? http://darkith.dyndns.org/~darkith/html/dbu_inst.shtml
I ask because is far less expensive than the Tamiya system and may appeal to those willing to engage in a project like this anyway.


6
TCB Dev / Re: PS3 controller/transmitter question
« Last post by uglyduck on May 23, 2017, 03:04:19 PM »
I think your final suggestion makes the most sense and is really the result I would be after anyway.  Do you think the protocol could be added to the PCB by way of an Arduino sketch?  I'll do some research to see whats been done already.  maybe it has some application here too.

As an aside, the PS3 controller is appealing to me, and maybe others, because of its ergonomics.  It may also be attractive to younger generations who are already familiar with it.
7
TCB Dev / Re: PS3 controller/transmitter question
« Last post by LukeZ on May 23, 2017, 10:51:38 AM »
Because the project is open source, it certainly could be made to work, but you would need to construct your own receiver. It appears the author abandoned the project some time ago, and never completed the documentation for the receiving side. He does list the protocol so there is enough information to build your own. There are two options - one could connect the receiving XBee directly to the TCB and write a new module in the TCB firmware to decode the data stream, or you could add a small processor on the receiving end that would convert the data from the XBee into SBus, which would require no changes on the TCB side.

So yes it is possible but not plug-and-play.

It's a great idea to use a PS3 controller. In my opinion an even better project would have been to adapt the FrSky protocol and make it an actual RC transmitter, compatible with all standard FrSky receivers (or any other brand of your choosing for which the protocol has been decoded, there are quite a few). This would be considerably cheaper (XBees are expensive and in his scheme you need two) and it saves you the work of building a custom receiver, you can just buy an off-the-shelf one. That would allow you to control not only the TCB without changes, but any other standard RC model.
8
TCB Dev / PS3 controller/transmitter question
« Last post by uglyduck on May 22, 2017, 03:53:06 PM »
Hello all!  In considering a radio setup to pair with the TCB (and after reading the wiki) I remembered another project I came across.  The creator made a PCB for a PS3 controller to utilize the XBee transceiver to control his projects.  It uses and AtMega328P  processor and I believe the XBee he used utilizes wifi to transmit data but I'm unclear on if this would work with the TCB.  I believe the receiver uses serial protocol (same as PPM?) which I think will work with the TCB but can anyone confirm that this sort of thing will work?

A link to the project:
http://www.proofofprinciple.nl/projects/long-range-doubleshock-controller-part-2-of-2/
9
News & Announcements / Re: Project Status
« Last post by LukeZ on May 16, 2017, 10:48:20 AM »
May 16, 2017

Hobby King has revised their schedule. They are now estimating boards to be in store early July 2017.

It would not surprise me if the schedule changes yet again, I will post here with updates as I receive them.
10
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by LukeZ on May 11, 2017, 09:53:21 PM »
Danny,

A couple things. First, the only real difference between the Mini and the Micro as it relates to being controlled by the TCB are the auxillary sounds triggered on Prop 3. On the Micro there is a limit of 12 sounds and on the Mini (when used with the new version of TBS Flash v3) the limit is increased to 16. Because there are more sounds the signal that gets sent to the Benedini to trigger those sounds is different, and this is why they are not compatible.

However the signals for engine speed (Prop 1) and engine on/off (Prop 2) should be pretty much the same. You could try setting the sound card in OP Config to Benedini and then hooking up the Micro to Prop 1 and Prop 2 (leave Prop 3 disconnected). This might work to get you engine sounds on the Micro and you don't need to worry about RC pass-throughs. 

But - it sounds like using RC pass-throughs you have gotten the Micro to work anyway, the only thing is you are lacking motor control. Have you tried keeping the Mega connected to the computer and using the Snoop console to see what is going on? Perhaps it is as simple as the TCB not being told to turn the "engine" on (it has its own internal engine state variable which must be enabled before it will allow you to control the motors). If you have Channel 5 assigned to a 2-way switch and this channel is passed-through to the Micro, that's great for starting the engine sounds on the Micro - but did you remember you need to assign a function to start the engine on the TCB as well? Ideally you would just assign it to the same 2-way switch on Channel 5, unfortunately to get the pass-through to work on that channel you have to set it to "analog" in OP Config, as you know. This lets the signal be passed-through but because it is now an analog trigger you can't assign it to the engine on/off function which is of type digital. If you have enough extra channels in your 9X you could mix some other channel to Channel 5, let's say for example Channel 9, then in OP Config set Channel 5 to Analog -> assign to RC pass-through function -> connect to Micro (as you have already done), but set Channel 9 to digital of type 2-position switch -> assign to engine on/off functions.

Alternatively you could just set the engine to start automatically with the first blip of throttle (this option is on the Driving tab). So you still have to use Channel 5 to turn on the Micro, but when you advance the throttle the TCB will turn its internal "engine" on as well.

If there is some other problem going on then we'd need to do more troubleshooting. Like I say, running things while viewing the console output should help you pinpoint the issue.


Pages: [1] 2 3 4 ... 10