The primary objective of utilizing a PWM receiver is to drive servos and ESCs straight with PWM indicators with out an FC. However do you know that ExpressLRS PWM receivers can even output serial protocols like SBUS and CRSF, identical to an ordinary serial receiver? On this tutorial, I’ll present you find out how to allow it. This makes PWM receivers way more versatile throughout completely different fashions, opening up many new potentialities.
New to ExpressLRS? Begin right here with our ELRS fundamentals tutorial: https://oscarliang.com/setup-expresslrs-2-4ghz/
What’s Required?
Nothing—simply your ExpressLRS PWM receiver!
Up to now, should you needed digital sign like SBUS or CRSF from a PWM receiver, you’d want an exterior serial converter. However with ExpressLRS, no further {hardware} is important. These ELRS receivers are so highly effective they’ll generate serial protocols straight.
When to Use SBUS or CRSF
PWM outputs are ultimate should you’re not utilizing a flight controller (FC)—for instance, in lots of fixed-wing fashions the place servos and ESCs join straight to the receiver (for instance I did that in my Heewing T1: https://oscarliang.com/hee-wing-t1-ranger-no-fc/).
However when utilizing a flight controller, serial protocols like SBUS or CRSF are higher:
- SBUS makes use of only one wire and helps as much as 8 channels.
- CRSF is bi-directional, requiring two wires, helps extra channels in addition to telemetry.
For PWM Receivers With out Devoted Serial Output
Some ExpressLRS receivers—don’t have a devoted serial port. In these instances, you may re-purpose PWM channels to behave as serial outputs. These receivers embrace: the Radiomaster ER3Ci, ER4, ER5A, ER5C, ER5Ci, ER5V2, ER6G and ER6GV.
Right here’s how:
Energy on the receiver.
Allow WiFi mode (both by way of the ExpressLRS LUA script in your radio or by ready 60 seconds).
Join your laptop computer/cellphone to the receiver’s WiFi community (ExpressLRS RX) and open the Internet UI by coming into 10.0.0.1 in your browser.
Below PWM Output, set Channel 2 to “Serial TX”. CH3 will robotically be assigned as Serial RX by default. This implies PWM outputs 2 and three develop into your serial port.
Below Serial Protocol, choose CRSF or SBUS (common or inverted). You’ll additionally see different choices like MAVLink, HoTT Telemetry, DJI RS Professional, and SUMD, making this function extraordinarily versatile.
Click on Save, and also you’re performed.
Right here I configure my receiver to output SBUS and make sure it’s working utilizing my SBUS tester. In case you’re curious, the instrument I’m utilizing is the ToolKitRC MC8 Battery Checker. It may double as a sign generator and reader for PWM, PPM, and SBUS—very helpful for troubleshooting and testing RC-related gear: https://oscarliang.com/toolkitrc-mc8/
Be aware: The remaining PWM channels will nonetheless work as regular. For instance, if CH2 and CH3 are reconfigured for serial output, CH1 will nonetheless output throttle, and CH4 will nonetheless output yaw (assuming your channel map is about to TAER).
For PWM Receivers with Devoted Serial Output
Some ExpressLRS PWM receivers embrace a devoted serial output port (with RX and TX pins labelled), such because the ER6, ER8, ER8G, and ER8GV.
With these receivers, you don’t must repurpose PWM channels for serial output. Nonetheless, in order for you, you may nonetheless configure two PWM outputs to behave as a serial port—the flexibleness is there.
Energy on the receiver.
Allow WiFi mode (by way of the ExpressLRS LUA script in your radio or by ready 60 seconds).
Connect with the receiver’s WiFi community (ExpressLRS RX) and open the Internet UI at 10.0.0.1.
Below Serial Protocol, choose CRSF or SBUS (common or inverted).
Click on Save. That’s it!
For Non-PWM Receivers (Serial Receivers) to Output SBUS
By default, all ExpressLRS serial receivers output CRSF. If you would like SBUS output as an alternative, observe this full tutorial: https://oscarliang.com/how-to-output-sbus-from-an-expresslrs-receiver/
The nice factor is you may configure whether or not the receiver outputs inverted or uninverted SBUS:
On F4 flight controllers:
- In case your board has a devoted SBUS pad, it’s more likely to have an built-in exterior inverter, on this case, choose inverted SBUS.
- If it doesn’t have a SBUS pad, and you might be solely utilizing an ordinary UART (RX pad), choose uninverted SBUS.
On F7 flight controllers, it doesn’t matter—they help each natively.
Conclusion
Enabling SBUS or CRSF on ExpressLRS PWM receivers makes them way more versatile, letting you adapt to completely different setups while not having to purchase a separate serial receiver. Due to the highly effective and versatile ExpressLRS {hardware}, the method is easy and simple, but unlocks big potential.