#ELRS firmware with PWM output

18 messages · Page 1 of 1 (latest)

warped gale
#

Hi, I'm looking to make a firmware build I can use without a flight controller for controlling fixed wings and other RC devices.

#

Currently I have a 915MHz TTGO as a receiver and a esp32wroom + AIthinker-01 lora module as a transmitter, which will be added as a backpack to my radiomaster boxer.

sonic anvil
#

Why not use existing designs or off the shelf hardware though?

warped gale
#

I do have one of those PWM radiomaster RXs, I can't easily get more electronics where I live and would like to use my stock to build more RCs

sonic anvil
#

That is 2.4Ghz, isn't it?

warped gale
#

Yuea, it'll probably work right away with my boxer but I'm saving it for a fixed wing

warped gale
#

Soldered accordingly to generic PWM, the ttgo I had was 915, these are 433 apparently

#

theres a build for esp8285 for the sx127x but only the "truediversity" for esp32

warped gale
#

I played around with the PWM receiver and it works well for servos, the only problem I have is that on the tank I'm trying to control it has 4 PWM channels for the 2 motors that control forwards/backwards for the 2 treads. I'd need some code that would take the directional channel input and remix it into the PWMs to drive it properly. is there anywhere in the code I should be looking for that?

sonic anvil
warped gale
#

by setting up a "model" for the tank specifically? I guess that'll be outside the scope of ELRS

sonic anvil
#

Yes

warped gale
#

alright well thats a problem for later, I got the diversity firmware on the Rx i have soldered but the wifi isn't turning on. is there a baud to use to see the bootloader to troubleshoot?

#

-DAUTO_WIFI_ON_INTERVAL="60"

I might have made some problems with the wiring, the original build is for a esp8285 but theres isn't any options for esp32 with the sx1278

warped gale
#

alright so I got platformio all updated and I'm going through the files,I can't seem to find where it pulls the boardinfo from for the DIY_900_RX_PWMP_via_UART environment

warped gale
#

removing ESP32 from build_src_filter and adding -D PLATFORM_ESP32=1 to build_flags didn't change anything, any help?