So, i'm currently working on my final project (High school). For which i'm building a drone, that is able to detect and avoid obstacles using a teensy 4.1 as a inbetween chip between the rc receiver and the flight controller on my drone. The drone opperates on ppm signals (which i'm able to read out, manipulate and send out again). The problem comes, when i don't connect the teensy 4.1 to ANY power (so no gnd and vcc) it still works fine, it seams that the two pins i use, pin 2 for read out and 17 for sending out the ppm signal are feeding the teensy with power (idk how that works). But when i now connect the teensy to the same powersupply my flightcontroller and receiver are both connected to it all off a sudden stops working, so the signals don't get send through no longer. I've checked my code, the powersupply, tryed resistors but nothing seams to work.
So if you have any ideas how i can fix this, feel free to tell me
And like some general infos about my stuff:
- microcontroller: Teensy 4.1
- rc receiver: Jeti duplex rx3
- flightcontroller: Omnibus f4
- cabling is alright i've checked it thousends of times already
all are connected to my battery on the drone
I have attached my code if it helps:
So if you have any ideas how i can fix this, feel free to tell me
And like some general infos about my stuff:
- microcontroller: Teensy 4.1
- rc receiver: Jeti duplex rx3
- flightcontroller: Omnibus f4
- cabling is alright i've checked it thousends of times already
all are connected to my battery on the drone
I have attached my code if it helps: