DigiSpark 3-channel propo encoder with single-channel, V mix, inactivity + softlock alarms
Posted: 04 Jul 2019, 23:54
See edits!
I've just done a 3-channel EK Logictrol with a DigiSpark, see photo, it has a a Flysky RM002 RF module and like the 4ch sketch its based on, it has all the usual reversing, V-tail or elevon mixer, S/C emulation, soft throttle lock, inactivity warning (with servo waggling in case you left the rx on too) etc but doesnt use P5 so doesnt need the fuse programmer, making it an easier DIY build.
It uses a lithium battery made from two LIDL 18650 "drill battery" cells.
Like all of my builds, the inside isnt at all tidy - because the pot tags look very delicate, I used all the original cabling rather than risk disturbing the pots. Note the dangling S/C button with the buzzer mounted on it.
Not sure whether to drill an extra hole for S/C or not, I think I'll probably leave it hidden inside.
The DigiSpark encoder is the tiny white blob and the Futaba-style Flysky module is mounted side-on to the camera, the RM002 has a fixed aerial so the whole thing just pokes up through an enlarged aerial hole - its probably the easiest module of all to install!
Cheers
Phil
There are a lot of wires and its a very small board, so its as well to keep them as tidy as you can:
I was trying to remember where the Logictrol came from, its been on the shelf awaiting conversion for a few years. I think I recall Shaun being given a pile of various Logictrols to share out, and I chose the 3ch as it was a bit different. Unfortunately I dont remember who donated them, sorry! but thank you whoever it was!
The Flysky module works with the F949R 'indoor bricks' and I have a stash of 3mm depron, so I might make an 'indoorneezer' for it I've never been to an indoor meeting, never flown indoors...
Cheers
Phil
Edit: One extra over the usual inactivity warning - if you've inadvertently left the receiver powered up as well as the transmitter, the inactivity alarm also waggles the rudder to let you know. Cool eh?
Edit 2:
I've updated this sketch with the dual maps, the new calibration procedure is to centre all trims, switch on with the S/C button pressed, and keeping it held, waggle all the sticks to their extremes but then (and this wasnt necessary before) to centre the sticks including throttle before releasing the button. The highest & lowest values are saved like before, but additionally the centres are now stored and the encoder now uses a separate map for either direction the stick is moved. This ensures that even a slightly non-linear stick pot will map accurately.
This ensures that stick-centre is channel centre whilst full travel is equal in both directions.
Edit 3: Added the "Power on with throttle open" warning, which indicates that the soft throttle lock is active - similar to the 7ch encoder.
I've just done a 3-channel EK Logictrol with a DigiSpark, see photo, it has a a Flysky RM002 RF module and like the 4ch sketch its based on, it has all the usual reversing, V-tail or elevon mixer, S/C emulation, soft throttle lock, inactivity warning (with servo waggling in case you left the rx on too) etc but doesnt use P5 so doesnt need the fuse programmer, making it an easier DIY build.
It uses a lithium battery made from two LIDL 18650 "drill battery" cells.
Like all of my builds, the inside isnt at all tidy - because the pot tags look very delicate, I used all the original cabling rather than risk disturbing the pots. Note the dangling S/C button with the buzzer mounted on it.
Not sure whether to drill an extra hole for S/C or not, I think I'll probably leave it hidden inside.
The DigiSpark encoder is the tiny white blob and the Futaba-style Flysky module is mounted side-on to the camera, the RM002 has a fixed aerial so the whole thing just pokes up through an enlarged aerial hole - its probably the easiest module of all to install!
Cheers
Phil
There are a lot of wires and its a very small board, so its as well to keep them as tidy as you can:
I was trying to remember where the Logictrol came from, its been on the shelf awaiting conversion for a few years. I think I recall Shaun being given a pile of various Logictrols to share out, and I chose the 3ch as it was a bit different. Unfortunately I dont remember who donated them, sorry! but thank you whoever it was!
The Flysky module works with the F949R 'indoor bricks' and I have a stash of 3mm depron, so I might make an 'indoorneezer' for it I've never been to an indoor meeting, never flown indoors...
Cheers
Phil
Edit: One extra over the usual inactivity warning - if you've inadvertently left the receiver powered up as well as the transmitter, the inactivity alarm also waggles the rudder to let you know. Cool eh?
Edit 2:
I've updated this sketch with the dual maps, the new calibration procedure is to centre all trims, switch on with the S/C button pressed, and keeping it held, waggle all the sticks to their extremes but then (and this wasnt necessary before) to centre the sticks including throttle before releasing the button. The highest & lowest values are saved like before, but additionally the centres are now stored and the encoder now uses a separate map for either direction the stick is moved. This ensures that even a slightly non-linear stick pot will map accurately.
This ensures that stick-centre is channel centre whilst full travel is equal in both directions.
Edit 3: Added the "Power on with throttle open" warning, which indicates that the soft throttle lock is active - similar to the 7ch encoder.