Arduino Library and Examples for BlHeli Passtrough with RP2040, ESP32 or Atmega328P (Arduino UNO, Pro Mini, ...)
Sketch for BlHeli Passthrough without Flight Controller Just for BlHeli32 or AM32 and all other imARM_BLB ESC's
- Default Servo Signal Pin: GPIO16
- Please edit the #define ESC_RX in ESC_Serial.cpp to choose another Pin
- Espressif ESP32: https://github.com/espressif/arduino-esp32
- NimBLE-Arduino: https://github.com/h2zero/NimBLE-Arduino
- ESPSoftwareserial: https://github.com/plerup/espsoftwareserial/
all Libraries are available in Arduino Library Manager
- You can set up to 8 pins for 8 ESCs, the usage is documented in rp2040.ino
- I found this core to be the best for the RP2040, but others will likely work too without modification
- No external libraries needed
-
Default Pins: Servo RX = GPIO11; Servo TX = GPIO 10
-
connect Servo Signal to Servo RX (11)
-
connect 1k Resistor between Servo RX (11) and Servo TX (10)
-
Please edit the #define ESC_RX and ESC_TX in ESC_Serial.cpp to choose other Pins
You have to Change SoftwareSerial RX Buffer Size in:
- Windows: C:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.23\libraries\SoftwareSerial\src
- MaxOS: /Users/{username}/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/libraries/SoftwareSerial/src
Change #define _SS_MAX_RX_BUFF 64 to 300 in SoftwareSerial.h
BlHeli Configurator Firmware Flashing doesn't work (Keep Alive Bug in Configurator) -> should be fixed already
- BlHeliSuite32: https://drive.google.com/drive/folders/1Y1bUMnRRolmMD_lezL0FYd3aMBrNzCig
- BlHeli32 Android App: https://play.google.com/store/apps/details?id=org.blheli.BLHeli_32