pfeerick / USB_ELRS_Receiver

MIT License
30 stars 2 forks source link

USB CRSF/ELRS Receiver

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

Hardware Requirements / Recommendations

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 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

XIAO RP2040

XIAO-RP2040 wiring

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

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

Acknowledgments:

Based on the project originally developed by kobatan: