New protocol based on SX128x LORA chip 2.4Ghz Receiver
This project is the receiver part of a new protocol based on SX128x LORA RF chip.
- Long range
- Cheap HW(existing already)
- 16 full channels(11bits/channel).
- Sport telemetry.
- SBUS output on receiver.
- Use of existing ExpressLRS hardware comercially available on the market.
- Compatible with multiprotocol.
- WiFi OTA update via webserver(config server)
Ths receiver will bind with an Tx ExpressLRS module attached to exiting Tx OpenTX handsets(Taranis,Radiomaster,Jumper) The TX counterpart will be made compatible and be attached to the multiprotocol main code. There are several posibili ties to have acces to an Milo/multiprotocol compatible TX module.
-
First posibility - I used a hacked 2.4G BETAFPV - 500 expresslrs Tx module based on ESP32 chip.See below. https://github.com/midelic/DIY-Multiprotocol-TX-Module/tree/ESP_COMMON/docs/ESP32
-
Second posibility is to make a DIY Tx module based on ESP32. The diagram details and pinout are on my repo https://github.com/midelic/DIY-Multiprotocol-TX-Module/tree/ESP_COMMON/docs/ESP32
-
Third posiblity is to use ExpressLRS RX as Tx module.Maybe it is better that way as as there is no need to hack any EXpressLRS tx module or make a DIY module. The Rx has enough I/O pins to connect to Tx handset.More details about that you may find below. https://www.rcgroups.com/forums/showpost.php?p=49637731&postcount=451
At the moment the MILO Rx code is based on ESP8285 target as most Expresslrs receivers are. When developing the code I used for test an ExpressLRS receiver using the same pinout(I used Flywoo EL24P in this particular case). So in order to use this new protocol you have to buy and reflash an 2.4G ExpressLRS receiver. For now there is no DIY receiver.In the future I may make one if there is enough interest.A good candidate for DIY receiver I found a diversity module on Aliexpress https://nl.aliexpress.com/item/1005004493252273.html?spm=a2g0o.productlist.0.0.60365557RBwXoW&algo_pvid=93500978-b51b-4ecb-868e-ee74ff17a57a&algo_exp_id=93500978-b51b-4ecb-868e-ee74ff17a57a-5&pdp_ext_f=%7B%22sku_id%22%3A%2212000029349714709%22%7D&pdp_npi=2%40dis%21EUR%2112.48%2111.85%21%21%213.56%21%21%402100bb5116617854190017455ea104%2112000029349714709%21sea&curPageLogUid=mPXKkaUXRYpz
Discussion thread at rcgroups: https://www.rcgroups.com/forums/showthread.php?4144003-New-2-4G-LORA-protocol
The project is work in progress,in testing, and there is more work and testing before it is completed.
Main operation mode:
- LORA modulation
- Frame rate 142 HZ (7ms)
- Data Rate ~76kb/s (-108dBm)
- Bw-812 ; SF6 ; CR - LI - 4/7
- Preamble 12 symbols
- Fixed length packet format(implicit)->15 bytes
- Sport downlink telemetry rate (1:3)
- Sport uplink telemetry rate (1:6)
-
Project built in arduino IDE(version > 1.8.13) under ESP8266 arduino core ,select Tools, ESP8266-cores
- Board "Generic ESP8285 module"; - Builtin Led "16"; - Flash size "2M(FS:64KB ~ OTA 992KB)"; - MMU: "16KB cache + 48 KB RAM(IRAM)"
-
Library for WiFi( WiFiManager - https://github.com/tzapu/WiFiManager#install-through-library-manager )
- Serial ,connect USB-FTDI serial device TX,RX,5V,GND pins to coresponding receiver pins(TX ->RX and RX->TX) and power the receiver on with button pressed .Release the button and upload the firmware.
- OTA via WiFi,select "WIFI-RX" mode from Tx handset screen in protocol menu.
- Connect Rx to power without starting the Tx handset.After 30 seconds Rx enters in bind mode automatically.This feature is available only at start and when RX is not bound with TX.
- Start Tx ,enter in protocol menu and start bind process.
At the moment it is implemented only Failsafe from Rx. When Tx is bound with Rx, you position your sticks, pots(you can use the mixer menu) as you want the to be for failsafe( alternatively you can use a script) and press the Rx button. Rx Led will blink for several seconds. When Led blinking stopped the FS data will be saved in Rx memory. Aditionally you have the option to resetting FS data to "NO PULSE" when pressing button, while Rx is not bound. I planned to introduce also FS from Tx.It is not implemnted yet but it is intented to work the same as for FrSkyX(D16) protocol.