-
Notifications
You must be signed in to change notification settings - Fork 216
SkyView Pi
- Hardware
- Disclaimer
- Bill of materials
- Assembly
- Software
-
Use cases
- Example 1 Operation together with SoftRF Dongle Edition.
- Example 2 Operation together with SoftRF Prime Mark II.
- Example 3 Change of radar view orientation and initial zoom level.
- Buttons
- Settings
SkyView Pi shows traffic information provided by a FLARM NMEA or Garmin GDL90 data source device.
It is best suited to operate as a companion device for SoftRF hardware and it helps to visualize nearby traffic in a user friendly manner.
Data input is accepted over:
- Serial interface ;
- USB interface.
SkyView Pi has a lot of similarities with SkyView EZ. However, these features that available on ESP platform(s) are NOT included into the Raspberry Pi port :
- WebUI
- Wi-Fi
- Bluetooth
They are to be superseded by built-in Raspberry Pi operating system capabilities. There are also chances that some of them will become ported later on.
Any of Raspberry Pi's that have 40-pin GPIO connector should suffice.
In general a lot of Chinese DIY electronics manufacturers are known to behave this way:
- sometimes they may not apply necessary Q.C. before releasing of a product from factory ;
- they may arbitrary change schematics and electronic components from one batch to the next one ;
- they may terminate manufacturing of a board just few month after initial production.
Because of that, author of SkyView:
- will reject any hardware related claims associated with Waveshare 2.7 inch e-Paper HAT board. Ask for support from seller or manufacturer ;
- reserves the right to suspend or terminate support of the e-Paper HAT in the firmware at any time.
For the time being ( April '20 ) there were no critical hardware issues reported for current version of the HAT board. However things my change over the time...
If you have issues with bringing up your new Waveshare 2.7 inch e-Paper HAT or just not happy with the board - be prepared to execute your Purchase Protection plan.
Number | Part | Qty | Picture | Source |
---|---|---|---|---|
1 | Waveshare 2.7 inch e-Paper HAT B&W 1 | 1 | AliExpress 1 2 3 4 |
1 - 2-color (black and white) version of the e-Paper HAT is the only one supported by SkyView's firmware.
SkyView Pi is designed to best operate together with SoftRF Dongle Edition.
Number | Part | Qty | Picture | Source |
---|---|---|---|---|
1 | LilyGO® & SoftRF T-Motion 2 |
1 |
AliExpress 1 2 3 |
2 - 868 MHz variant is applicable for these world regions: EU, RU, NZ, SA, IN ;
915 MHz - US, CA, AU ;
433 MHz - CN .
Although CLI application's source code for Raspberry Edition is located at the same place
and is shared with other SkyView platforms - build instructions for the code are different.
This build has to be done on a Raspberry Pi host.
A known good Raspbian OS version that fits for this purpose is "Stretch".
Make sure that basic development packages (such as: binutils, g++, GNU make & etc) are installed.
-
transfer full content of SkyView and libraries GitHub folders into a temporary build directory:
SkyView -->
<your path>
/SkyView
libraries --><your path>
/libraries -
change directory on
<your path>
/SkyView and execute make as follows:
pi@raspberrypi: $ make -f Makefile.RPi
(cd ../libraries/bcm2835/src/../ ; ./configure ; make)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
< ... skipped ... >
As a result of the build, SkyView program binary will become created:
pi@raspberrypi: $ ls -l SkyView
-rwxr-xr-x 1 pi pi 1119848 Apr 3 13:16 SkyView
-
Create Aircrafts folder in the same directory with SkyView executable ;
-
Download fln.db , ogn.db and icao.db files from this location ;
-
Put these files into the Aircrafts folder ;
-
Create Audio folder in the same directory with SkyView executable ;
-
Download this ZIP file from this location ;
-
Extract files from the ZIP archive into the Audio folder .
Final structure of your SkyView folder should look like this:
pi@raspberrypi: $ ls -la
total 2264
drwxr-xr-x 1 pi pi 60 Apr 3 12:55 .
drwxrwxrwt 1 pi pi 60 Apr 3 12:55 ..
drwxr-xr-x 1 pi pi 100 Apr 3 12:55 Aircrafts
drwxr-xr-x 1 pi pi 4096 Apr 2 14:33 Audio
-rwxr-xr-x 1 pi pi 1119848 Apr 3 13:16 SkyView
Example 1. Operation together with SoftRF Dongle Edition.
pi@raspberrypi $ sudo ./SkyView
SkyView-RPi FW.REV: 0.10 DEV.ID: 58E098B
Copyright (C) 2019-2020 Linar Yusupov. All rights reserved.
Intializing E-ink display module (may take up to 10 seconds)... done.
$PFLAU,0,0,0,1,0,,0,,,,3A052D,5,0,0*7B
$PGRMZ,820,f,3*11
$GPGGA,125858.00,,,,,0,00,,,,,,,*4B
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GNRMC,125858.00,V,,,,,,,030420,,,N*65
$PFLAU,0,0,0,1,0,,0,,,,3A052D,5,0,0*7B
$PGRMZ,820,f,3*11
< ... skipped ... >
Example 2. Operation together with SoftRF Prime Mark II.
pi@raspberrypi $ sudo TTYSERIAL_DEVICE_NAME=/dev/ttyUSB0 ./SkyView
SkyView-RPi FW.REV: 0.10 DEV.ID: 58E098B
Copyright (C) 2019-2020 Linar Yusupov. All rights reserved.
Intializing E-ink display module (may take up to 10 seconds)... done.
< ... skipped ... >
pi@raspberrypi $ echo "{class:SKYVIEW,orientation:TRACK,zoom:LOW}" | sudo ./SkyView
SkyView-RPi FW.REV: 0.10 DEV.ID: 58E098B
Copyright (C) 2019-2020 Linar Yusupov. All rights reserved.
Intializing E-ink display module (may take up to 10 seconds)... done.
$PFLAU,0,0,0,1,0,,0,,,,3A052D,5,0,0*7B
$PGRMZ,820,f,3*11
$GPGGA,130514.00,,,,,0,00,,,,,,,*4A
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GNRMC,130514.00,V,,,,,,,030420,,,N*64
< ... skipped ... >
MODE
Short press and release - change view mode
Long press ( >2 sec. ) and release - soft power off
LEFT
Radar view - zoom out
Text view - previous aircraft info
RIGHT
Radar view - zoom in
Text view - next aircraft info
Settings are explained on this page.
SkyView Pi specific JSON keywords are listed in this table:
1 | 2 | 3 | 4 |
---|---|---|---|
class | SKYVIEW | adapter | HAT27 |
connection | SERIAL | ||
baudrate | 4800 | ||
9600 | |||
19200 | |||
38400 | |||
57600 | |||
115200 | |||
2000000 | |||
protocol | NMEA | ||
GDL90 | |||
orientation | NORTH | ||
TRACK | |||
units | METRIC | ||
IMPERIAL | |||
MIXED | |||
vmode | RADAR | ||
TEXT | |||
zoom | LOWEST | ||
LOW | |||
MEDIUM | |||
HIGH | |||
adb | NONE | ||
AUTO | |||
FLN | |||
OGN | |||
ICAO | |||
idpref | REG | ||
TAIL | |||
MAM | |||
voice | OFF | ||
VOICE1 | |||
VOICE2 | |||
VOICE3 | |||
aghost | OFF | ||
AUTO | |||
2MIN | |||
5MIN | |||
10MIN | |||
filter | OFF | ||
500M | |||
1500M |