Have you a working Raspberry Pi?
I would make the following connections between the Pi and the unit.
Code: Select all
Pi Unit
Header JP2
pin 1 (3V3) <---> pin 2 VCC (3V3)
pin 6 (ground) <---> pin 1 (ground)
pin 10 (RXD) <---> pin 6 (TXD)
The following assumes you have a terminal window open on the Pi.
I would then issue the following command at the Pi to set the serial baud rate to 9600.
stty -F /dev/ttyAMA0 9600
The unit should be continuously transmitting (binary) data. Check that it is operating properly by
cat </dev/ttyAMA0 | od -x
The above command should print lots of data. Stop by pressing ctrl+C.
If you cut & paste then post some of the data it should be easy to confirm correct operation. The software to decode the binary is straightforward. Examples are in the pdf.
It should be an hour or so to write and test the software (then a couple of weeks to document and review and obey all other company procedures!).