Recent Posts

Pages: 1 ... 7 8 9 [10]
91
TCB Dev / Potential OpenPanzer-DA
« Last post by Foxhood on October 01, 2025, 09:57:02 AM »
I’ve taken on the ambitious and potentially foolish endeavour on giving the TCB a re-design in hopes of creating a board that is a bit more future-proof. Lot of stuff on it has aged over the past decades with all three of the main ICs being overdue for substitution as their prices increase well beyond being worth the cost.

The biggest change I hope to accomplish is to replace the ATMega2560 by one of its modern counterparts: The AVR128DA64. Hence the working-title of “OpenPanzer-DA”.

The DA isn’t as big as the 2560, but it is very flexible. Featuring modern sensibilities like Port Multiplexing for most (now smarter) peripherals, Timers to spare and a fully functional Arduino Core. I’ve checked everything incl IO, flash, eeprom, usarts and timers and I believe OpenPanzer can be made to work on this without any major obstacles. With a few perks to be gained like a <24Mhz internal oscillator, programming from USB-Serial bridge via SerialUPDI and vastly easier routing.

Besides that some other changes I’m working on:

    • Replace FT232 by CH340C
        ◦ Add switch to switch from Serial to 'Recovery-Mode' (programmer)
        ◦ While I’m at it. Replace Micro-USB with USB-C
    • Replace the BJT L298P by newer FET based bridge(s) (currently checking DRV8874)
    • Probably remove the mostly unused LCD Header
    • Simplify some smaller bits (e.g. Replace BC848+2 resistors by single 74LVC1G06 Open-Drain Inverter, use Resistor-Networks more often)
    • Add dedicated Fan/Blower output due to increased prevalence of this type kind of smoke setup in newer models
    • Replace Schottky with PFET Polarity Protection.
    • Implement SMPS (Currently designing around TPS65208)
    • Use KiCad as Eagle is facing obsolescence next year.
        ◦ Will try to include (meta-)data for PCB Assembly services (JLCPCB / PCBWAY)
    • Give all RC/Servo Channels current limiting resistors..

Let me know if there are any thoughts on these kinds of changes. Or if anyone got any suggestions/wishes.

So far overall layout is coming along nicely, but there are a couple things i'm looking for input on before i route myself into a corner:

AUX PINS:
The AVR DA has a different timer setup. It gives you two big 3x-16b/6x-8b channel timers (TCA), An asynchoronous waveform generating beast (TCD) and five single-channel utility timers (TCB). Most OP/Arduino functions can be mapped to these in almost 1:1 fashion except for the AUX/Taigen timer as I lack a 3rd TCA for it. Best solution for that one is to move the Taigen sound duty to a dedicated TCB and hand the AUX channels over to the same timer in charge of motors and smoker (TCA). Consequence is that the AUX channels go from being their own 10-bit thing with a lower-frequency. To being the same as the motors: 8-bit and speedy. Besides that still got the analog and digital functions needed.

Are there situations where this might be a problem? Or is this perhaps a perk?

I2C:
Was hoping to maybe learn a little more on where things went awry with implementing I2C without Wire's habit to occupy the processor till a complete transaction occurred. The TWI Peripheral has seen some changes to make it smart enough to perform actions like I2C addressing and responding with ACK without user interference, so it may be less of a nightmare to implement if the issue is related to too much babysitting. Is there still interest in getting I2C working?
That way I know whether to invest effort on trying to figure it out.

Alternatively I could see about creating a Bus specifically for the newer BNO085 that uses SPI. I find that SPI is vastly more reliable than I2C in most circumstances.

IR-OUT:
I’ve Noticed that the control FET for IR out has the pull-down before the limiting resistor, rather than after. Any particular reason as to why? Or just layout constraints?

SMOKE:
Smoke units have mutated over time and not in a fun way. Not only are there seperate blowers everywhere, but most of them are made with 6V air-pumps and Heng Long apparantly decided to have their own heater also be at 6V starting with the TK6.0S. OpenPanzer can’t work optimally with the blowers at 5V (reduced power) and might overheat some heaters with constant 7.2V. The air-pump blowers seem to have become pretty popular as they are surprising effective.

I'm trying to figure out a good solution for these newer setups as the current approach of attaching a 5V fan to a AUX channel isn't ideal anymore due to their increased prevalence in newer models. At the very least I’m going to give them their own output on the board so the AUX pins remain available for other purposes. But their voltage is still a nuisance.

I could create a seperate 6V rail dedicated to Actuators (Servo, Fan, Optionally the motors). Accept slightly below maximum performance by sticking to 5V for the blower, or use 7.2V and use PWM to keep things from overheating. Heater seems best to keep at 7.2V as that is most widely accepted by most aftermarket smoke units with only Heng Long's own being sticks in the mud.
 
Any thoughts?
92
Show and Tell / Re: 1/10 Soviet AT-T
« Last post by LukeZ on September 28, 2025, 04:17:01 PM »
Hi Dean, that is a sweet looking truck. It must be really gratifying to see a physical object come to being in front of your eyes, from what was only a CAD model on a computer several months ago. Now comes all the fun of bringing it to life. I will especially be looking forward to more detail on your belt-drive setup which sounded very unique and interesting. 

I hope you were able to resolve your TCB problems from earlier, but let me know if anything is still amiss.
93
Scout Dev / Re: Scout ESC Mini
« Last post by LukeZ on September 28, 2025, 04:02:18 PM »
I totally understand about "the rest of life" getting in the way of hobbies. Better that than the other way around.

Anyway that's a cool looking board, and most importantly, it is very small! I have to say you did a very professional job on the design, I only just today noticed a ground frame around the crystal, though it was also visible in the Altium picture you posted last year. I am going to take a wild guess and declare that this surely can not be your first PCB layout.

Although I don't presently have a model to test this in, I think I am going to be tempted to assemble a few of these myself, to have on hand for that glorious future day when I am retired and get back into modeling.

If you need any help with the firmware just let me know. But somehow I am guessing you have it well in hand.  8)
94
Scout Dev / Re: Scout ESC Mini
« Last post by NielsD on September 27, 2025, 04:50:39 PM »
Thanks!  :D

Yeah, the progress has been really slow unfortunately.
I have been busy with work and private things other than hobbies, so I had to put it on ice for a while.

It was my first time that I ordered electronics in China at PCBWay, which was an interesting experience.
The boards came out nice and the process was surprisingly smooth and quick.
See attached a photo of the assembled board.

I am slowly working on updating the firmware now, for which I created a Gitlab repository which I will share here as well as soon as I have everything working.
95
Show and Tell / Re: 1/10 Soviet AT-T
« Last post by Dean Rauch on September 27, 2025, 07:55:57 AM »
Nearly ready for some drivetrain testing
96
Scout Dev / Re: Scout ESC Mini
« Last post by LukeZ on September 23, 2025, 10:02:16 AM »
Good work! I'm glad to hear you're still working on this, steadily if perhaps slowly. Not many people (in fact none) have ever managed to build a self-design board by post number 3 on a new forum! I'll look forward to hearing how it works.
97
Scout Dev / Re: Scout ESC Mini
« Last post by NielsD on September 22, 2025, 04:25:50 PM »
It took a while, but in the meantime I got the boards made, the boot loader flashed and I am working on adapting the firmware now to be able to work with the new motor drivers.

The control for the motor drivers is similar, but as mentioned above already, the status pins and current readback is different.

I attached the schematics for anyone who is interested.
The board files, BOM and finally firmware will follow later. :D
98
Open Panzer Help / Re: Auch ein Raucher Problem
« Last post by LukeZ on September 03, 2025, 11:26:29 AM »
Ok, I'm glad to hear that it's working. It's important to understand how the functions work, otherwise as I mentioned before it is certainly possible to create some function/trigger combinations that will result in unpredictable behavior.

On that topic I might mention once more that setting Acceleration and Deceleration levels by the Throttle command is yet again another one of these illogical combinations. It might function, but I am certain the result will not be what you want.

If you want to adjust the Acceleration or Decelaration levels while running, then you need to assign them to an analog aux channel on your radio. This is a valid approach which I have used many times myself, and it is very useful for observing in real time the effect that Acceleration and Decelerations will have on the driving of the tank.

However most people don't usually have 2 extra analog channels to devote to this, and besides, once you find the level that you like, it no longer needs to be adjusted. If for example you find that Acceleration level 4 is what you like, set it to level 4 under Profile 1 on the Driving tab of OP Config. Then you do not need any function-triggers at all. Profile 1 will always be active if a level is selected, and you will always be driving with Acceleration level 4. If you don't want any Acceleration or Decelaration constraints, simply uncheck those options in Profile 1 (uncheck Inertia and uncheck Momentum).

In short, you can use Acceleration and Deceleration effects if you want, or not. But it should be done using one of the methods I have just described. Assigning them to the Throttle command, or Engine speed, or other functions which by definition are related to acceleration and deceleration, is going to create very bizarre behavior, and may cause problems.
99
Open Panzer Help / Re: Auch ein Raucher Problem
« Last post by kettenpaul on September 02, 2025, 02:00:54 PM »
Hallo Luke
 ich habe schon vor Deiner Antwort Einstellungen geändert.
Der Smoker geht an und aus so wie er soll
Auch über einen AUX Kanal lässt er sich aus -und wieder einschalten.
Es lag bestimmt an meine Komischen Einstellungen.
Der Panzer stand lange in der Ecke. Dann habe ich ihn vorgeholt und Motor Getriebe Umbau --Test gemacht in der Garage.
Erst als ich den Smoker in Betrieb nehmen wollte habe ich festgestellt das etwas nicht in Ordnung ist.
Luke , ein Lob an Dich, bist immer gleich zur Stelle.
Ich muss einfach genauer hinsehen was eingestellt ist oder was ich einstellen will.


Grüße von der Ostsee Wolfgang


 ( BT8 sehr viel Spaß)
100
Open Panzer Help / Re: Auch ein Raucher Problem
« Last post by LukeZ on September 01, 2025, 10:57:09 AM »
Hi Paul, those settings look fine, but I still see no reason why the smoker should not turn off.

Since we do not know what the problem is, we must experiment.

First, please remove these unnecessary functions and do not add them again:
- Airsoft/Mech Recoil Enable (you have already enabled it in OP Config)
- Smoker Disable
- Smoker Enable
- Drive Profile - Set to 1
- Set Acceleration Level
- Set Deceleration Level

Then load the prior firmware version as I mentioned before, and let me know if this makes any difference. I don't expect it will, but we need to rule out every possibility.

Next, please also try assigning turning on/off the engine directly with function triggers. First uncheck  the "Auto-Start Engine with Throttle" option and set "Auto-Stop Engine when idle for" to 0 (zero) in OP Config in order to disable both those options, then use function triggers to assign a switch on your transmitter to the "Engine - Turn On" and "Engine - Turn Off" functions.

Let me know if this works, and if so on which step of the above three the change was detected.
Pages: 1 ... 7 8 9 [10]