I am trying to create the following set up as a project in education:
- QAV250 quad with CC3D controller
- 2xBBC Micro:bits used as the receiver, giving out 50 Hz PWM signals to the CC3D controller - one does throttle and yaw, one does pitch and roll.
- 2xBBC Micro:bits sending out controlling signals
I can get past the receiver setup wizard and even arm the quad, however I'm getting erratic behaviour, particularly for the throttle. Despite commanding it low, the throttle sometimes remains high.
I don't know if this is linked but on the receiver calibration page of LibrePilot, the input values only update every second (PC plugged into the CC3D). Should these update more frequently? Also, the image of where the sticks are during calibration rarely moves.
Possible reasons I have thought of are:
- BBC Micro:bit runs at 3 V. Is this insufficient for the PWM signal (although I just tried with a Raspberry Pi and Adafruit PWM adaptor and the same laggy behaviour shows on LibrePilot)
- Is there a syncing issue in the PWM? (i.e. two Micro:bits outputting PWM signals which aren't synchronised). Unfortunately the Micro bit doesn't reliably cope with four simultaneous PWMs, hence the need to use two.
My goal is to show the power of the Micro:bit, despite the fact it's aimed at children, but is this just too much for it?!