Another GG Re-coder for the DigiSpark and DRV8838
Posted: 28 Feb 2019, 21:59
SEE Update June 2019: viewtopic.php?f=25&t=599&p=4343#p5660
This project has been on my bench for a while, some of us love the DigiSpark and here is a simple DIY ultra-basic "PIC replacement" re-coder.
I'm happy to carry on supplying the PIC Re-coder chips but this gives an alternative for true 'DIY'.
In no way does it compete with Martins - it does work, in exactly the same way as the existing PIC Recoder, but replaces the PIC with the DigiSpark PCB. The rudder & elevator channels from the receiver control the mark-space and rate respectively as the Tiny pulses the DRV8838 bridge to and fro. As with the PIC there is no specific GG throttle function, that is left to your conventional ESC or throttle servo for IC.
Again, just like the PIC, there is no facility to adjust anything within the recoder itself, the intention is that any adjustments are made using throw variations (ATV or whatever) on a programmable transmitter.
The sketch can be tweaked of course if preferred, but in use it has no adjustment, that intentionally has to be done via transmitter programming.
DigiSpark port connections are:
P0: rudder channel input from the rx
P1: is the digispark's on-board LED used to indicate pulsing
P2: output to the DRV8838 bridge
P3: elevator channel input from the rx
P4: unused
P5: unused
This way the actuator is powered from the receiver supply, but as with the PIC recoder, the actuator can optionally have a separate battery if required by chopping the receiver positive supply to pin 9, and providing a new pos from the separate battery. The negatives are common:
Cheers
Phil
This project has been on my bench for a while, some of us love the DigiSpark and here is a simple DIY ultra-basic "PIC replacement" re-coder.
I'm happy to carry on supplying the PIC Re-coder chips but this gives an alternative for true 'DIY'.
In no way does it compete with Martins - it does work, in exactly the same way as the existing PIC Recoder, but replaces the PIC with the DigiSpark PCB. The rudder & elevator channels from the receiver control the mark-space and rate respectively as the Tiny pulses the DRV8838 bridge to and fro. As with the PIC there is no specific GG throttle function, that is left to your conventional ESC or throttle servo for IC.
Again, just like the PIC, there is no facility to adjust anything within the recoder itself, the intention is that any adjustments are made using throw variations (ATV or whatever) on a programmable transmitter.
The sketch can be tweaked of course if preferred, but in use it has no adjustment, that intentionally has to be done via transmitter programming.
DigiSpark port connections are:
P0: rudder channel input from the rx
P1: is the digispark's on-board LED used to indicate pulsing
P2: output to the DRV8838 bridge
P3: elevator channel input from the rx
P4: unused
P5: unused
This way the actuator is powered from the receiver supply, but as with the PIC recoder, the actuator can optionally have a separate battery if required by chopping the receiver positive supply to pin 9, and providing a new pos from the separate battery. The negatives are common:
Cheers
Phil