Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Wibbly

Pages: 1 [2] 3
16
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« on: December 10, 2019, 02:59:03 AM »
I have a feeling that as my TBS Flash is v1.0.1.4 that this may be causing a conflict between the TBS and the TCB. The DasMikro is v2.08.

I am not too sure how the diagnostic screen works, if I click on Read all of the fields go blank, if I try and edit the existing values then it won't let me.

If I start the tank with the USB attached, select Sound 2 (cannon) and click on Execute, it plays the cannon sound, so the TBS knows it is there. I am wondering whether the TBS needs the correct values in Prop settings so that it knows when to play the sounds when it gets a signal from the TCB. The engine sounds work ok, so it must just be Prop 2 that isn't seeing what it should.

If all else fails I have a friend who has the latest TBS Flash, so I may pay him a long overdue visit, hook the tank up to his pc and see if this makes a difference.


17
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« on: December 09, 2019, 04:26:16 PM »
Just to clarify, I have the DasMikro Mini, hence Mini is selected in both the TBS and TCB.

I tried deleting the User sound from the functions list, and even tried changing the sound card to micro, I also unchecked the turret rotation, barrel elevation, and lights boxes.

I tried resetting the min/max stick positions for the radio in case the up stick wasn't registering, but unfortunately, the cannon sound still eludes me.  :-\



18
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« on: December 09, 2019, 01:42:13 PM »
Ok, I tried the following settings, and I'm still missing the cannon or machine gun sounds.

Cannon is sound 2
Machine Gun is sound 1

I have disconnected Prop 3, this has had the desired effect of removing the engine start up on the left stick. I am assuming it isn't required for the above sounds.

19
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« on: December 08, 2019, 01:56:36 PM »
All back together, and all working.

Just need to figure out how to activate the cannon sound from the Mini sound unit, and trigger it from the left stick up.


20
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« on: December 08, 2019, 07:18:22 AM »
I have started doing a write up, it will take a while to cover it all so that even a complete novice like myself can do it. Hopefully others will see it and have a go.

Having jumped through all of the hoops, I now know how to configure everything, so anyone will just be able to follow the instructions and it will work.

I changed the Mini connections so that it runs from the Arduino, but having looked at the manual I can see that I need to configure the sounds so that the cannon is triggered correctly. Rad knows the Benedini system inside out, so I will pick his brains. I am taking a guess that the engine sounds are triggered on the left (turret) stick because I have auto start switched on, rather than letting the TCB firmware handle it on the right (throttle) stick.

If I had bought all of the components from China I could have saved a fair amount of cash, and if I do another one I'll simply order everything that way.

I've been out RC rock crawling today at high altitude in freezing weather, and I need to warm up!! :-[






21
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« on: December 07, 2019, 01:23:31 PM »
And it's all done.

I have a Tiger 1 with great sound, perfect throttle control, recoil and muzzle flash.
All neatly installed, and not a resistor, transistor etc used anywhere.
I might wire up the headlight so that I know when it is switched on.

So, it can be done, and a thousand thanks to Luke for his endless patiience.

The only glitches I have are that the engine sounds start when I touch the left stick, as well as the right, and I am not getting a cannon fire sound. I will have to take a look at the sound file to see if there is actually one in there.

 ;D ;D ;D

PS - I'll post up a video when it is all properly back together.

Edit: I've now figured out that the DasMikro Mini is the source of the glitches. I think I just need to disable auto start and set up the sounds properly.

22
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« on: December 06, 2019, 11:55:45 AM »
I connected the servo on 5v, Sig, and GND, and it glitched.

I then connected the + and -  to the VR, and ran GND to the balance lead on the Lipo, and added GND from the servo, and - on the VR to Arduino GND.

Added the Cannon fire to the function on left stick up.

The servo worked perfectly, no glitching at all. I didn't need to run the pin 14 menu at all.

I'll solder all the joints tomorrow.

One weird anomaly, the engine starts up when I touch the left stick, as well as the right stick. It's no big deal, but I have no idea why it is doing that.

Lastly, the muzzle flash. If I hook it up on the high intensity pin do I also need to select it in the config. I tried it a couple of days ago without the box checked and the led stayed permanently lit?

23
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« on: December 05, 2019, 02:55:56 PM »
Many thanks Luke. I was just looking at the VR without checking upstream to see the source of the loom.

I will go recheck all of the GND connections tomorrow, and see what happens.

Once the servo is working it's only the muzzle flash to resolve.  :)

24
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« on: December 05, 2019, 11:58:06 AM »
Thanks Luke, yes I did mean A15, I should type slower... :(

I have a voltage regulator with a digital display. Press the button and it show the output voltage, press it again and it shows the input voltage, so I can use that to check the battery level, as I have an easy access upper hull. Running a 3300mah 2S Lipo should give me plenty of run time.

I'll check the servo limits, sounds easy enough.

I was looking at Sergey's schematic, it looks like his VR only has the live feed taken off it, the negative isn't shown as having a connection. I've no idea how that works with the servo. He is obviously a clever guy. ;)

Ordinarily an Arduino has both the servo GND and a battery GND onto the Arduino. I am assuming that this isn't required, and that the servo GND is the only one required?

25
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« 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?





26
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« 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.  ;)


27
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« 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.

28
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« on: December 02, 2019, 01:13:11 AM »
Many thanks Luke, your help and advice is much appreciated.  ;)

29
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« 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.

30
TCB Dev / Re: Testing TCB Firmware with Stock Arduino Mega
« 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
bomber-explosion