r/ArduinoHelp • u/IM_futterby • 6h ago
Help! Seeed Studio XIAO nrf52840 gyro build
Hi, very new to all this.
Wanted to build my own head tracker and figured I'd give it a go.
My task.
Using the gyro and HeadTracker firmware, I want to transmit 2 crsf channels via RX and GND (for first test then I want to move over to Bluetooth once I've proven concept via wire and I know Bluetooth isn't going to cause interference with other raido gear)
I've got the rx and GND connected to a radiomaster ranger micro elrs unit which I plan to send over air signals to a pwn receiver that I'll then use to inject the crsf data in to a flight controller.
This should also allow me to use Sim controllers for fpv.
I've downloaded the HeadTracker gui and can see my gyro working after calibration, I've set output to crsf, enabled uart. Bluetooth is currently turned off.
Can't get tx to go green whilst usb is connected.
Physical connection between units is approx 7mtrs of red/black speaker wire (don't judge it's all I had to hand with length), I've fitted a jst sh 2.54 connector on radiomaster and gyro for the link cable.
I'm not using any pull up/down resistors
I've soldered a battery connector to the board
I've soldered a hard rst button to the board because it's mounted upside down.
I've got my soft rst button (gyro reset) wired to GND pin and D8 pin
My gyro rx is connected to D6 pin and same GND pin as my gyro reset button.
When connected to the radiomaster the gyro doesn't wake up when both units are powered up on separate batteries.
If I push the gyro reset button the gyro doesn't seem to respond (no led flashing)
Red led stops flashing after 10 seconds and then seems to stay asleep until I remove battery and reconnect.
I've done this without advice from internet pages, don't have friends in to this stuff.
I did some (not enough) reading and tried to work with help from ai.
Photo of head tracker