Recent Posts

Pages: [1] 2 3 4 ... 10
1
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by Wibbly on December 04, 2019, 03:16:37 AM »
After having tried to get the recoil to work, I have drawn a blank.

Tried using a voltage regulator to power the servo +/-, with the signal going to pin 25. No joy. I discovered today that the digital readout was inaccurate. I set it to 5.9v as the servo's are 6v. A multimeter revealed that the actual output was 6.5v. Damned Chinese electronics...will need to test the servo's on another model to check that they aren't blown.

I also tried using the Arduino 5v, pin 25 and GND, but still no joy.

The best I got was a servo that operated over a small range at all four corners of the left stick, whilst a barely moving pulse in the gun fire position.

Has anyone got any suggestions?

Edit: Note to self...when tidying up wiring ensure that pin 33 is in pin 33 and not 34. I had put it into Repair Mode, as Snoop revealed.


I still had the problem where the low voltage warning would simply shut the board down.
I took a look back through the info available on the site and found a reference to pin 15? Should this be pinned to GND to activate the LV warning correctly?




2
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by LukeZ on December 03, 2019, 11:36:33 AM »
I’m glad to hear it! I hope others will be encouraged by your experience to try the same thing. 
3
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by Wibbly on December 03, 2019, 09:52:49 AM »
Hi Luke,

A quick video of the engine sounds, it seems to work ok, I can't test the turret sounds until I have completed the servo recoil, which is my next job. It's running like a dream now, just needed a decent tx and tweaking the motors via the config.  ;)

4
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by LukeZ on December 03, 2019, 08:54:11 AM »
Hi Wibbly, the TCB and the Arduino operate identically so all the settings on the Wiki for the TCB will apply in your case as well.

As for wiring, you are correct - you need to connect Prop 1, Prop2 and Prop 3 to Arduino pins 22, 23, and 24 (you can use all three Props with the Benedini Mini, but only Prop 1 and 2 with the Micro or Micro clones). Then as you say provide +5v and Gnd to the Benedini (you only need to provide it once, it doesn't have to be copied on each Prop input).

As for using the Y-lead directly from your receiver - yes, you can do that if you want, but at that point you are bypassing completely the TCB so the engine will probably not be synchronized and I don't know how the Benedini would know to play the sounds like the machine gun and cannon unless you program those into your transmitter separately which I think would get to be too complicated.
5
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by Wibbly on December 03, 2019, 06:52:18 AM »
I just hooked up my Turnigy with E9XR firmware as it is a much better tx (yes, I know it's not PPM, lol).

Huge difference in tank control, I edited the acceleration/deceleration/turn etc and it is all as smooth as silk now.

My next problem is the DasMikro Mini. I see that there is a Wiki for hooking one up to the TCB, but is there any info on how to connect one to the Arduino DIY. I have a programming cable so editing settings on the Mini isn't a problem, the Tiger sounds are now loaded and play ok on another RC model.

Basically, do I need to connect the three pins on Prop 1 & 2 to the Arduino 5v/GND and Prop pins?
What are the settings to make the engine, turret and gun sounds operate correctly?

It's already on Autostart, it's really the wiring and Prop settings I am after, especially if they are different to the TCB.

Edit 1: Just had a thought. I am using a PWM receiver and a signal converter. The Mini uses a pass through cable. It usually plugs into the Mini, and the Y lead is then plugged into the receiver and an esc. Will it work if I plug the Y lead into the receiver and the PWM>PPM signal converter? It will read the throttle stick and should theoretically generate the sounds. I might give that a go and see what happens.  ;)

Edit 2: It works perfectly. Super easy just plug the Mini in, in between the standard PWM receiver and the signal converter, video to follow.
6
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by Wibbly on December 02, 2019, 01:13:11 AM »
Many thanks Luke, your help and advice is much appreciated.  ;)
7
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by LukeZ on December 01, 2019, 08:35:07 PM »
The IR pin would not be a good choice because it sends out a long signal which will not look like a flash.

There is nothing to stop you using Arduino Pin 41, the Heng Long/Taigen flash unit just takes a short signal so if connected to an LED that would just be a flash.

OP Config also offers the options to configure a flash (or "pulse", same thing) on the Aux Output (Arduino pin 8) or either of the general-purpose I/O A or B (Arduino pins A9 and A8). The Aux output would be best since there is already an "Auto flash with cannon" checkbox to make it even easier (see the Lights & I/O tab).

In any case you probably need to use a transistor rather than drive the LED directly from the Arduino, and remember to use a current-limiting resistor inline with your LED that matches the specs for your LED.
8
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by Wibbly on December 01, 2019, 03:50:12 PM »
The servo recoil is almost finished, and should work ok. My last task is a muzzle flash. I am looking to use a simple high intensity led, but can't see a pin allocated to one on the PDF schematic.

I see that pin 9 is allocated to the IR emitter.

Could I use that and GND for the flash led?, it would be an easy option as it will be synched to the main gun. The pulse signal may mess things up though. If there is a pin that I can use that would be even better.

I am assuming that pin 41 marked high intensity muzzle flash is for use with the Heng Long flash unit.
9
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by LukeZ on November 30, 2019, 11:58:13 PM »
Thanks Wibbly for keeping us posted. Your tank is running quite well from the looks of it.

One question that someone may be able to answer?

I currently have two 2000mah 2S Lipo's installed. One powers the Arduino, the other powers the esc's and recoil servo. Can I assume that using a single battery will work perfectly, I tested it this way to avoid any power spikes to the Arduino, but I am guessing that this is overkill.
Yes, a single battery should work just fine and I don't expect any issues with spikes to the Arduino, since in fact a single battery is all we use with the TCB. If your drive motors draw too much current and lower the source battery voltage too much the TCB (but more likely your receiver) will brown out (meaning reset), but that is really just an issue of a dead battery rather than spikes or temporary drops.

Just to let you guys know I am in the midst of a long-distance move and will be rather pre-occupied for the next few weeks. But keep on as you are as I suspect many others are reading about your project who aren't posting.
10
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« Last post by Wibbly on November 30, 2019, 04:40:15 AM »
It's only just occurred to me that I have the entire hull and turret loom, complete with mechanical recoil and the muzzle flash unit neatly removed, all complete with screws and mounting plates, including the tx and RX18. I will see how much I can sell this for.

A friend has a PPM tx/rx so I will test the set up using that at some point and then see about buying decent esc's for the motors, and a compatible tx/rx. If it covers the cost, then it's a win/win.  ;) . I have Hobbywing 1060 esc's that I can test on it, so will try those once everything is working nicely. I can then see which components make the biggest difference from the baseline that I now have.

The project for me isn't about the best, I could have just gone and bought another Elmod, or swapped one that I already have, it was simply to see how cheaply I could get this working. The good thing about this set up is that it is all modular. If one component fails then I simply replace it instead of having to buy a complete new aftermarket board at a cost of £100+.  ;D

One question that someone may be able to answer?

I currently have two 2000mah 2S Lipo's installed. One powers the Arduino, the other powers the esc's and recoil servo. Can I assume that using a single battery will work perfectly, I tested it this way to avoid any power spikes to the Arduino, but I am guessing that this is overkill.
Pages: [1] 2 3 4 ... 10
bomber-explosion