*

Online LukeZ

  • 339
    • View Profile
  • Kansas, USA
Re: 3D Printed T-35
« Reply #30 on: January 09, 2018, 07:41:46 PM »
I have also added a tiny computer fan into the actual fan of the t35, works great and I plan on wiring it to the AUX output. Is there a way to tie the value of the AUX voltage to the throttle to simulate the fan spinning faster with engine demand? not critical but I think it would be neat.

Hi Dean, I've added this feature finally, you will need to update OP Config and then flash the latest version of TCB firmware (both will be 0.92.18).

You will see three new analog (variable) triggers that can be assigned to analog functions, such as "Aux Output - Set Level." They are Throttle Command, Engine Speed and Vehicle Speed. Throttle command is essentially your throttle stick (but only active when the engine is on), engine speed is close to that but has some padding to prevent sudden sharp changes (this is essentially the signal that gets fed to the smoker and sound cards, so we want a smooth response). Both of those are active whenever the engine is on, whether the transmission is engaged or not. Vehicle speed of course requires the vehicle to be moving and will reflect the actual speed as constrained by acceleration and deceleration presets, etc... So take your pick.

One problem with this for your application however is that all three of these triggers have outputs of Zero when the vehicle is stopped or when the throttle is at rest ("idle"). Presumably you would like your fan to be blowing some minimum amount at all times rather than stopping completely. That is the way the smoker output works, because it provides the option of setting a minimum smoker speed to be maintained at "idle." But these other signals are actually literally 0 at rest so that is what will be reflected on any output to which you link them.

For that reason I reiterate that the smoker output would probably be preferable for your purposes. And I'm not sure exactly what these new triggers will be useful for, but maybe now they're there someone will think of something. In testing I just put LEDs on the Aux output and I get a dimming effect as the throttle is advanced or the vehicle begins to move. Cool I guess, and useful for visualizing what accel/decel constraints do, but not ultimately of much practical purpose.
NO SUPPORT THROUGH PM - read why
Open Panzer FAQs

*

Offline Dean Rauch

  • 20
  • Lazy perfectionist = slow progress.
    • View Profile
  • Canada
Re: 3D Printed T-35
« Reply #31 on: January 13, 2018, 10:22:39 AM »
Johnny, I will post the files when I am done fixing the numerous mistakes I encountered while building, missing tolerances and ignored details and parts. Would not want someone else having to sand as many parts as I did!
Hello Luke!
Thanks for adding this feature, I may give it a shot.
Currently I like to have the fan and smoke unit separate, as I do not want to be burning the smoke oil all the time.
I replaced the fan motor and I now get a perfect speed at 10% output, however I can hear the board switching the voltage, its a piercing whine, which cuts through the engine noises noticeably. See below.

https://drive.google.com/open?id=19khUhRr5EvIl22muPwxcax_TGYcncZ8g

I doubt it is possible to fix this, but I figured I would let you know, because it seems you are doing your R&D with nice quiet LEDs.

My more pressing issue is the engine startup sounds on the Mini.
No matter the mode written to the sound card (auto or manual start) my engine sounds start when the boards do, and the TCB "engine" is off. Using the "toggle engine start" predictably flips this, I have drive but no sounds.
Any ideas would be appreciated!
   
« Last Edit: January 13, 2018, 10:56:30 AM by Dean Rauch »

*

Online LukeZ

  • 339
    • View Profile
  • Kansas, USA
Re: 3D Printed T-35
« Reply #32 on: January 13, 2018, 06:42:49 PM »
I replaced the fan motor and I now get a perfect speed at 10% output, however I can hear the board switching the voltage, its a piercing whine, which cuts through the engine noises noticeably. ...I doubt it is possible to fix this, but I figured I would let you know, because it seems you are doing your R&D with nice quiet LEDs.

Yes my test LEDs have indeed been very quiet! In fact it was possible at one time to have the Aux output operate at ultrasonic frequencies, the way the smoker and turret motor outputs still do. Then we added support for the Taigen sound card and I had to reconfigure one of the timer resources to generate the special pulses it requires, for reasons that are too boring to go into we used the same timer that was generating the Aux output PWM. Not really thinking about motor applications the frequency chosen at that time was quite low for convenience in the Taigen application.

Revisiting this code today I was able to increase the PWM frequency significantly while still maintaining the Taigen sound card functionality. What you have been hearing, and what your video illustrates quite effectively, is a 2 kHz PWM frequency. I have now bumped it up to 15.6 kHz. That is not quite ultrasonic (which would be >20 kHz) but I think you will find it probably eliminates all audible whine.



My more pressing issue is the engine startup sounds on the Mini. No matter the mode written to the sound card (auto or manual start) my engine sounds start when the boards do, and the TCB "engine" is off. Using the "toggle engine start" predictably flips this, I have drive but no sounds.

Thanks for bringing this to my attention, this was in fact a bug. Looking back it was found to have been introduced in August of last year, so I guess that shows you how many people are using the Benedini Mini since then...  It is now corrected.

Both these changes are implemented in the new TCB firmware I have just posted (v0.92.19)
NO SUPPORT THROUGH PM - read why
Open Panzer FAQs

*

Offline Dean Rauch

  • 20
  • Lazy perfectionist = slow progress.
    • View Profile
  • Canada
Re: 3D Printed T-35
« Reply #33 on: January 13, 2018, 07:30:43 PM »
Thanks for the quick fixes Luke! You are a machine.
I will test the firmware tomorrow!

*

Offline Dean Rauch

  • 20
  • Lazy perfectionist = slow progress.
    • View Profile
  • Canada
Re: 3D Printed T-35
« Reply #34 on: January 14, 2018, 01:23:27 PM »
Hello guys, here is a quick and shaky video of the tank moving around!

https://drive.google.com/open?id=11Hktcusiao6wx30hNgDSWFQ2ZOdFXl8H

Thanks Luke for the new firmware, the fan motor is quiet enough to work with and the engine sounds are now working.
I am unable to use a 2 position switch assigned to start and stop, this still auto starts, but using the switch as a toggle command works.
Only issues now are the throttle sounds rev up to full when my stick is about 60% up, and the turret sounds are a bit patchy, but this may be a TBS issue.
Next is the machine guns and then the paint!

*

Online LukeZ

  • 339
    • View Profile
  • Kansas, USA
Re: 3D Printed T-35
« Reply #35 on: January 14, 2018, 02:02:38 PM »
I am unable to use a 2 position switch assigned to start and stop, this still auto starts, but using the switch as a toggle command works.

Yes that is normal, I should probably put a note about this somewhere in the Wiki. The Mini is unlike other sound cards in that it doesn't have an explicit on and explicit off command, it only has "engine toggle." The TCB has on/off functions but when used with the Mini they each can only do the same thing, which is call the "toggle" command on the Mini. If you set on/off to a two position switch, on boot that switch will inevitably be in one or the other position, and therefore on boot the Mini will get toggled, which causes it to turn on.

Therefore when using the Mini it makes more sense to use the TCB's toggle command as well.

Only issues now are the throttle sounds rev up to full when my stick is about 60% up, and the turret sounds are a bit patchy, but this may be a TBS issue.

This could be, or else you might also want to re-check radio setup in OP Config to make sure you have your throttle range mapped correctly.
NO SUPPORT THROUGH PM - read why
Open Panzer FAQs

*

Offline Dean Rauch

  • 20
  • Lazy perfectionist = slow progress.
    • View Profile
  • Canada
Re: 3D Printed T-35
« Reply #36 on: January 14, 2018, 03:04:01 PM »
To clarify, I still have throttle response past 60%, just the sounds stop there.

*

Online LukeZ

  • 339
    • View Profile
  • Kansas, USA
Re: 3D Printed T-35
« Reply #37 on: January 14, 2018, 04:03:59 PM »
The only thing I can say is to check the Misc tab of Benedini's Flash program and make sure your Prop 1 settings are as shown in the Wiki, that would confirm that the Mini is aware of the full throttle range.

The other thing you can do is temporarily attach a servo to the Prop 1 output of the TCB and see if it moves across the entire throttle range. It should, and if it does then the issue is with your Mini though I can't say what it would be. Perhaps try re-flashing the Mini, and reloading the sounds and the Prop Settings file as a first step.

I watched your video and the model looks great. However impractical in real life, I would not have wanted to be the soldier that had all three turrets pointed my way!
NO SUPPORT THROUGH PM - read why
Open Panzer FAQs