Use your ELRS transmitter as a joystick for your PC simulator using a microcontroller and ELRS receiver.
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.
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.
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.
The antenna has seen better days!
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!
Based on the project originally developed by kobatan: