Page 18 of 19
Re: 1/16 Elefant Ludwig/Asiatam
Posted: Tue Aug 28, 2018 8:56 pm
by Soeren
Very, very nice tank

Re: 1/16 Elefant Ludwig/Asiatam
Posted: Wed Aug 29, 2018 4:55 am
by HERMAN BIX
That view through the front cover is spectacular Mr X, thanks again for getting back to this and for sharing with us all on here.
Re: 1/16 Elefant Ludwig/Asiatam
Posted: Wed Aug 29, 2018 7:24 am
by Markocaster
Absolutely amazing work
Sent from my iPad using Tapatalk
Re: 1/16 Elefant Ludwig/Asiatam
Posted: Thu Aug 30, 2018 1:58 am
by xrad
WOW! Thank you for all the awesome comments! I am really happy I came back to finish this project and get back on the RCTW board and read about everyone's new projects. Especially now with some Arduino and 3D experience, modelling seems even more fun than ever before!
While the paint is drying, been hard at work on the wav trigger code. Finally took care of a CANFIRE bug. Basically, I have a timer which times RELOAD out to 2.5 seconds and does some reload sound trigger. Once this timer is started, you can't trigger CANFIRE until after 2.5 seconds has elapsed. Also, had to write the code so that the main gun is loaded first, before you can CANFIRE.... makes sense. The original versions of the code allowed one to refire CANFIRE during the 'reload' timer; it caused the CANFIRE to serialprint, but no wav trigger , and restarted the timer again. So basically, what seemed like a good idea (keeping one under the 'reload' timer so that the commander has to wait the full 2.5 seconds, really meant that an itchy trigger finger could be caught in the 'egg timer' loop forever.
Also, all pseudo delays have to occur without any real delay so that the rest of the code is not effected. Creating a pseudo delay in these simple loop programs is not entirely obvious or easy. Anyway, all good for now. My Tsunami arrived (spark fun had to send another one out- they were VERY helpful!). So in the next few weeks, will start on the wave trigger serial code (the other half of the code).....
so now I have:
16 channel discrimination
within each channel a way to divide up to 1000 pulse frequencies
(so basically a max of 16000 sound triggers...but only need 30 or so..and the Tsunami supports 4096 wav files)
If I can find a way to add a random polyplay to the Tsunami, it would be really cool to have totally random engine backfires and other tank noises/yells/squeaks thrown into the sounds....
Re: 1/16 Elefant Ludwig/Asiatam
Posted: Sat Sep 08, 2018 9:40 pm
by xrad
Getting closer with sound. I can now play mono 16 tracks controlled by 'switches' all at once. I just loaded my DECEL file 16 times. Sounds like an echo due to the way I was playing the tracks. VERY smooth transition from one track to another, no audible abnormalities....
Just have to due a bit of coding to get the tracks to play with my RC converted to serial signal......
https://www.youtube.com/watch?v=-kcG1VKu5lU
Re: 1/16 Elefant Ludwig/Asiatam
Posted: Sat Sep 08, 2018 10:28 pm
by c.rainford73
Love it sounds excellent

Re: 1/16 Elefant Ludwig/Asiatam
Posted: Sun Sep 09, 2018 1:21 am
by xrad

- Teensy 3.2 on top, Tsunami RED board, 3 watt amp little blue board, yellow wire serial Tx -Rx
THX CRainford!

Just got the Tsunami Super wav board up and running with one wire serial control (Tx-Rx) . I am using Robertsonics demo arduino code and the Teensy 3.2 Super nice fades, and polyplay sounds. Should sound great once I add tank sounds and the serial code to my RC code...
I know it's not RC tank sounds, but you get the idea.....
https://www.youtube.com/watch?v=g0b_fDJZg80
Re: 1/16 Elefant Ludwig/Asiatam
Posted: Sun Sep 09, 2018 2:18 pm
by xrad
OK, so this am I merged the Tsunami wav board with the Teensy sbus RC controller both physically through the wiring, and in my code. It all works nicely. The Tsunami serial control is straightforward . It's messy breadboard wiring right now but really will be minimal when done.
Re: 1/16 Elefant Ludwig/Asiatam
Posted: Sun Sep 09, 2018 2:52 pm
by c.rainford73
Stunning work I am beyond impressed

Re: 1/16 Elefant Ludwig/Asiatam
Posted: Sun Sep 09, 2018 10:29 pm
by xrad
Thx CRainford! Its been a bit of a day trying to get the serial control working. I have to create some kind of array or 'for' which does not let the tracks repeat. I am able to get MG sounds and Cannon sound and idle sound no problem. Also fades and loops work fine. It is just getting one engine sound to another fading and looping all at once....I am sure that someone with coding experience could get this done in a few hours..
Other issue was a bad RMILEC (died after 8 hours) which of course made for some horrible serial sound issues...and took a bit of time to find..hence the blue light 8 channel sbus converter..a back-up.
Here is basic idle with overlayed MG and Cannonfire, note: real MG34 and 88mm sounds
https://www.youtube.com/watch?v=BNNmEDc0YVE