| 44 | | Then plug in the Sub-D plug into the plug socket of the RS232 Communication Board. Also connect micro-usb cable with the Raspberry's power supply socket. Finally connect the 3 cables with GND (black), +12V (red) and +5V ( |
| | 44 | Then plug in the Sub-D plug into the plug socket of the RS232 Communication Board. Also connect micro-usb cable with the Raspberry's power supply socket. Finally connect the 3 cables with GND (black), +12V (red) and +5V (yellow) with your power supply. |
| | 45 | |
| | 46 | Then turn on the power supply. You should see the Raspberrys LEDs light up, indicating that the 5V power supply is working correctly. |
| | 47 | |
| | 48 | Connect now the communication cable with the Flarm device. You should also see that the device starts the boot sequence. |
| | 49 | |
| | 50 | Finally connect the Raspberry to the network. |
| | 51 | |
| | 52 | ==== Establish communication between Flarm and Raspberry ==== |
| | 53 | |
| | 54 | 1. Log on the Raspberry (as user 'pi') and install required dependencies |
| | 55 | |
| | 56 | |
| | 57 | {{{ |
| | 58 | $ sudo apt-get update && apt-get install zip dnsutils libwww-perl libdevice-serialport-perl minicom |
| | 59 | }}} |
| | 60 | |
| | 61 | |
| | 62 | 2. Connect the Flarm to the Raspberry and start minicom |
| | 63 | -> $ sudo minicom |
| | 64 | |
| | 65 | 3. Configure communication settings for minicom (tty, baud rate, etc.). Save the |
| | 66 | configuration file. Once the configuration is correct and the Flarm Device is |
| | 67 | turned on, you must be able to see live position data when you start minicom: |
| | 68 | |
| | 69 | $ sudo minicom |
| | 70 | .... |
| | 71 | $GPRMC,123512.00,A,4710.24781,N,00902.46662,E,0.017,237.67,240312,,,A*6E |
| | 72 | $GPGGA,123512.00,4710.24781,N,00902.46662,E,1,8,1.40,413.2,M,48.0,M,,*6E |
| | 73 | $PFLAA,0,-118,-85,1,1,4B51BC,0,,0,0.1,1*1E |
| | 74 | $PFLAA,0,-35,-124,2,1,4B51FF,158,,0,0.1,1*14 |
| | 75 | $PFLAU,2,1,1,1,0,,0,,*61 |
| | 76 | $GPRMC,123513.00,A,4710.24782,N,00902.46659,E,0.002,237.67,240312,,,A*60 |
| | 77 | $GPGGA,123513.00,4710.24782,N,00902.46659,E,1,8,1.40,413.1,M,48.0,M,,*67 |
| | 78 | .... |
| | 79 | Download the software package The software is installed via Follow the [https://secure.netzschmiede.ch/svn/flarmradar/core/trunk/client/README.txt installation procedure] to install the client software. |