#ELRS firmware with PWM output
18 messages · Page 1 of 1 (latest)
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.
Use any of the PWM targets appropriate for your board. Eg: https://github.com/ExpressLRS/targets/blob/master/RX/Generic 900 PWMP.json
Why not use existing designs or off the shelf hardware though?
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
That is 2.4Ghz, isn't it?
Yuea, it'll probably work right away with my boxer but I'm saving it for a fixed wing
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
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?
You should do this on your radio
by setting up a "model" for the tank specifically? I guess that'll be outside the scope of ELRS
Yes
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
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
removing ESP32 from build_src_filter and adding -D PLATFORM_ESP32=1 to build_flags didn't change anything, any help?