kkbin505 / Arduino-Transmitter-for-ELRS

Arduino based RC transmitter for ELRS external TX Module
GNU General Public License v3.0
212 stars 47 forks source link

Support for Un-Inverted CRSF #13

Closed inx199 closed 3 months ago

inx199 commented 1 year ago

Iam using custom build firmware on my R9M, and i cant change the UART_INVERTED option, I know arduino can't output Un-inverted CRSF, but can it be done via hardware that can simply inverse the signal? or by using ESP32 which support signal inversion?

sercona commented 4 months ago

yes, the simplest solution is to use a logic gate and literally invert the uart signal. note you may need 3.3v logic (likely so).

kkbin505 commented 3 months ago

Iam using custom build firmware on my R9M, and i cant change the UART_INVERTED option, I know arduino can't output Un-inverted CRSF, but can it be done via hardware that can simply inverse the signal? or by using ESP32 which support signal inversion?

For arduino based simple TX, you need a logical invert gate to do that. If you need to implement uart-inverted in the TX side, my suggestion is to use ESP32 based simple TX instead which have build inverted uart option. https://github.com/danxdz/simpleTx_esp32