Closed maciek252 closed 4 years ago
For those 8-bit AVR, (Arduino UNO for instance), I don't think it is possible to receive DShot as the technique I am using is bit banging while pushing the limit of the processor to single clock cycle.
But if you simply wants to tell if the input is PWM or DShot, I know some BLHeli will sound differently when armed, to distinguish different types of control signal.
I've asked this question on Stack Overflow, but it has been deleted and I doubt if it will survive the next attempt
https://arduino.stackexchange.com/questions/43851/dshot-implementation-on-arduino-esc-protocol
so asking also here:
Is it possible to use/adapt the library for receiving DShot as well? The motivation is that some (all?) ESCs fall back to PWM if they get no DShot input. So there is a possibility that the flight controller generates PWM despite being programmed for DShot output, the ESCs read it, the drone flies but it's still PWM and not DShot... So the idea is to test using Arduino if there is actually DShot emitted.