UM96 Reciever/Transmitter
Jessica Uelmen
Posts: 490
Hello!
I am setting up an IMU device to place in a rocket that will measure different values such as roll, pitch, yaw, etc. I am using the HAC-UM96 from Sparkfun to transmit and receive the data. The manual can be found here:
www.sparkfun.com/datasheets/RF/HAC-UM96_manual.pdf
I have no jumpers attached and have found the device is using an odd parity with an RS-485 interface. I am using the FullDuplexSerial object to get the devices to communicate and display the values from the transmitter to the PropTerminal. Using the rxcheck command I found that the receiver is sporadically receiving data in the following pattern: 0 0 -1 0 -1. However, no matter what value I send the transmitter outputs a 0. I think the issue is that I need to make the FDS a HalfDuplexSerial object, but I am not sure how to go about this. I also may not be using the commands correctly, I am not sure. I've attached my coding and the schematic for my circuit.
Any nudge in the correct direction would be appreciated! Thank you!
I am setting up an IMU device to place in a rocket that will measure different values such as roll, pitch, yaw, etc. I am using the HAC-UM96 from Sparkfun to transmit and receive the data. The manual can be found here:
www.sparkfun.com/datasheets/RF/HAC-UM96_manual.pdf
I have no jumpers attached and have found the device is using an odd parity with an RS-485 interface. I am using the FullDuplexSerial object to get the devices to communicate and display the values from the transmitter to the PropTerminal. Using the rxcheck command I found that the receiver is sporadically receiving data in the following pattern: 0 0 -1 0 -1. However, no matter what value I send the transmitter outputs a 0. I think the issue is that I need to make the FDS a HalfDuplexSerial object, but I am not sure how to go about this. I also may not be using the commands correctly, I am not sure. I've attached my coding and the schematic for my circuit.
Any nudge in the correct direction would be appreciated! Thank you!
Comments
Thread
My first part of the project is simply to get the parts working correctly on the ground first. Once I get the receiver receiving the correct data while they're sitting near to each other on my desk, I can move on to testing over longer distances (although all datasheets do show that transmission should be possible over our desired distance). I was hoping to get some input on my coding techniques to see if anyone else can see if I'm missing something - or perhaps not even calling FullDuplexSerial correctly. I am not sure, but as I am the only coder on the project, I figured that sometimes it helps to have a second pair of eyes look at something.
Thank you!
John Abshier
Thanks!