Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pfeerick/usb_elrs_receiver


https://github.com/pfeerick/usb_elrs_receiver

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

USB CRSF/ELRS Receiver
======================

Use your ELRS transmitter as a joystick for your PC simulator using a
microcontroller and ELRS receiver.

## Hardware Requirements / Recommendations
- Microcontroller:
- [Seeed Studio XIAO SAMD21](https://www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html)
- [Seeed Studio XIAO RP2040](https://www.seeedstudio.com/XIAO-RP2040-v1-0-p-5026.html)
- ELRS Receiver:
- [Happymodel EP2](http://www.happymodel.cn/index.php/2021/04/10/happymodel-2-4g-expresslrs-elrs-nano-series-receiver-module-pp-rx-ep1-rx-ep2-rx)
- [Radiomaster RP2](https://www.radiomasterrc.com/products/rp2-expresslrs-2-4ghz-nano-receiver)
- [iFlight ELRS Receiver](https://shop.iflight-rc.com/iFlight-ELRS-Receiver-Pro1757)

Note: While the XIAO RP2040 is supported, I recommend the XIAO SAMD21, as
RP2040 platform support will take up some 2.5GB of space, so will take a while
to download. I also ran into an issue on Windows 11 where the firmware could
not be uploaded until using [Zadig](https://zadig.akeo.ie/) to install the
`libusb-win32` driver for the `RP2 Boot2 (Interface 1)`. There is no reason the
official Raspberry Pi Pico could not be used if you have one handy, but for
compactness the XIAO boards are best.

The choice of ELRS receiver is up to you. The recommended receivers are due to
the compact nature of the build, as they fit neatly within the footprint of the
XIAO boards.

## Device Connections:

```
XIAO --- ELRS
=================
5V <---> 5V
GND <---> GND
RX <---> TX
TX <---> RX
```
Both signal lines are 3.3V, just connect them as they are. Since this is serial
communications, it is necessary to connect RX of one side to the TX of the
other, and vice versa.

### XIAO SAMD21
![XIAO-SAMD21 wiring](doc/xiao-samd21-wiring.png)

### XIAO RP2040
![XIAO-RP2040 wiring](doc/xiao-rp2040-wiring.png)

As you can see from the images, the XIAO boards have a VIN and GND pin at the
bottom, which is actually 5V and GND when the USB is plugged in. So you all the
connections are accessible from the end with these boards, making the resulting
build very neat.

## Finished builds

### XIAO SAMD21 /w Happymodel EP2 Receiver
The antenna has seen better days!

![Built SAMD21 CRSF](doc/xiao-samd21-built-unit.png)

### XIAO RP2040 /w iFlight 2.4Ghz Receiver
This isn't as compact as some of the others, but has the added benefit of
coming with pre-soldered wires on the receiver - just cut the plug off and
solder the wires onto the microcontroller!

![Built RP2040 CRSF](doc/xiao-rp2040-built-unit.png)

## Acknowledgments:

Based on the project originally developed by kobatan:
- https://qiita.com/kobatan/items/40728fbb625057d9f42b
- https://qiita.com/kobatan/items/253f1614a8653a1dcb1a