36 | | - Flarm delivers RS232 signal on its data port. To feed this signal into the Pi, there are presently two alternatives |
37 | | - RS232-USB-cable: Buy a RS232 to USB converter cable. Preferable one which uses the FTDI chipset (e.g TBD). If you use a different chipset, this may not be supported by default by the Pi operating system. |
| 36 | - Flarm delivers RS232 signal on its data port. To feed this signal into the Pi, there are presently two alternative ways of doing: |
| 37 | - RS232-USB-cable |
| 38 | - Buy a RS232 to USB converter cable. Preferable one which uses the FTDI chipset (e.g TBD). If you use a different chipset, this may not be supported by default by the Pi operating system. |
| 39 | - Attach the converter to your Flarm and to one of the USB connectors on the Pi |
| 40 | - Serial-In of the Pi |
| 41 | - The Pi features a serial interface (UART) on its GPIO pins. |
| 42 | - Pi's serial interface works on 3.3V. Hower, Flarm supplies higher signal levels. DO NOT CONNECT THE FLARM DATA LINES DIRECTLY TO THE PI'S GPIO PINS!!! |
| 43 | - Buy a RS232 to TTL level shifter (e.g. [http://www.ebay.de/itm/115200bps-Stucke-Mini-RS232-auf-TTL-Converter-Module-Konverter-Board-MAX3232-/261070156589?pt=Wissenschaftliche_Geräte&hash=item3cc8fe732d E-Bay] - costs less than 2 EUR) |
| 44 | - Solder Flarm's TX, RX and ground (coming from the RJ45 jack) onto the RS232 side of the level shifter. Most level shifters have well labeled soldering pads |
| 45 | - Solder 4 wires to the TTL side of the level shifter. Ground, +3.3V, TX and RX need to be connected |
| 46 | - Buy a 2x13 IDC connector which attaches to the Pi's GPIO pin headers (e.g. [http://de.rs-online.com/web/p/idc-steckverbinder/3237902/ RS-Online] |
| 47 | - Connect the four wires coming from the TTL side of the level shifter to the IDC connector. Pin layout depends on the version of your Pi. See [http://wiringpi.com/pins/ GPIO Pins] GND, +3.3V, RX and TX must be connected |
| 48 | - Disable console output and boot messages on the serial interface. See [http://www.irrational.net/2012/04/19/using-the-raspberry-pis-serial-port/ here] |
| 49 | |