Hi all,
For one of my modelbuilding projects I'm trying to override transmitter values depending on sensor measurements.
I'm using a Spektrum DX8i satellite receiver that transmits dataframes of 16 bytes to a flightcontroller.
I know how to decode the frame and change the bytes that need to be changed, but I'm having problems sending this altered frame to the flightcontroller. This results in the following two questions:
1. How can I read the serial stream of 16 bytes on pin RX2 and send it through to TX1 without changing anything in the timing?
2. The dataframe of 32 byte has no clear header frame but follows after a communication pause of 9.5 ms. How can I synchronize to the datastream using this knowledge?
Best regards,
Jan Willem
The Netherlands
For one of my modelbuilding projects I'm trying to override transmitter values depending on sensor measurements.
I'm using a Spektrum DX8i satellite receiver that transmits dataframes of 16 bytes to a flightcontroller.
I know how to decode the frame and change the bytes that need to be changed, but I'm having problems sending this altered frame to the flightcontroller. This results in the following two questions:
1. How can I read the serial stream of 16 bytes on pin RX2 and send it through to TX1 without changing anything in the timing?
2. The dataframe of 32 byte has no clear header frame but follows after a communication pause of 9.5 ms. How can I synchronize to the datastream using this knowledge?
Best regards,
Jan Willem
The Netherlands