viz1090/sdl1090
Nathan 374f2bc972 fixed upscale default for RPI
Former-commit-id: 163b68da5a6d3bad28b5922fbc626b6e05241c40
Former-commit-id: 3f5c74bc2e4d1b53a904092e1ff53aed32b71855
2017-10-05 22:32:36 -05:00
..
font status boxes on map layout 2017-10-05 22:25:30 -05:00
pthreads initial SDL version 2017-09-13 22:21:36 -05:00
public_html initial SDL version 2017-09-13 22:21:36 -05:00
rtlsdr initial SDL version 2017-09-13 22:21:36 -05:00
testfiles initial SDL version 2017-09-13 22:21:36 -05:00
tools initial SDL version 2017-09-13 22:21:36 -05:00
view1090.dSYM/Contents status boxes on map layout 2017-10-05 22:25:30 -05:00
.gitignore initial SDL version 2017-09-13 22:21:36 -05:00
anet.c initial SDL version 2017-09-13 22:21:36 -05:00
anet.h initial SDL version 2017-09-13 22:21:36 -05:00
coaa.h initial SDL version 2017-09-13 22:21:36 -05:00
defs.h status boxes on map layout 2017-10-05 22:25:30 -05:00
draw.aux trails in progress 2017-09-14 00:08:22 -05:00
draw.c status boxes on map layout 2017-10-05 22:25:30 -05:00
draw.fdb_latexmk trails in progress 2017-09-14 00:08:22 -05:00
draw.fls trails in progress 2017-09-14 00:08:22 -05:00
draw.log.REMOVED.git-id trails in progress 2017-09-14 00:08:22 -05:00
dump1090.aux trails in progress 2017-09-14 00:08:22 -05:00
dump1090.c initial SDL version 2017-09-13 22:21:36 -05:00
dump1090.fdb_latexmk trails in progress 2017-09-14 00:08:22 -05:00
dump1090.fls trails in progress 2017-09-14 00:08:22 -05:00
dump1090.h status boxes on map layout 2017-10-05 22:25:30 -05:00
dump1090.log.REMOVED.git-id trails in progress 2017-09-14 00:08:22 -05:00
font.c initial sdl list mode 2017-09-17 10:38:22 -05:00
font.h initial SDL version 2017-09-13 22:21:36 -05:00
GL_edit.svf map draw 2017-09-17 09:46:48 -05:00
init.c fixed upscale default for RPI 2017-10-05 22:32:36 -05:00
init.h initial SDL version 2017-09-13 22:21:36 -05:00
input.c initial sdl list mode 2017-09-17 10:38:22 -05:00
input.h initial SDL version 2017-09-13 22:21:36 -05:00
interactive.c status boxes on map layout 2017-10-05 22:25:30 -05:00
list.c status boxes on map layout 2017-10-05 22:25:30 -05:00
magma.h map draw 2017-09-17 09:46:48 -05:00
Makefile status boxes on map layout 2017-10-05 22:25:30 -05:00
mapconversion.xlsx.REMOVED.git-id map draw 2017-09-17 09:46:48 -05:00
mapdata.c map draw 2017-09-17 09:46:48 -05:00
mapdata.h map draw 2017-09-17 09:46:48 -05:00
maps.c status boxes on map layout 2017-10-05 22:25:30 -05:00
mode_ac.c initial SDL version 2017-09-13 22:21:36 -05:00
mode_s.c.REMOVED.git-id initial SDL version 2017-09-13 22:21:36 -05:00
monokai.c status boxes on map layout 2017-10-05 22:25:30 -05:00
monokai.h status boxes on map layout 2017-10-05 22:25:30 -05:00
net_io.c initial SDL version 2017-09-13 22:21:36 -05:00
parula.c initial sdl list mode 2017-09-17 10:38:22 -05:00
parula.h initial sdl list mode 2017-09-17 10:38:22 -05:00
README.md draw.c refactor. draw.c now handles outer draw routine, previous contents moved to maps.c 2017-10-05 09:58:23 -05:00
states.svg.REMOVED.git-id map draw 2017-09-17 09:46:48 -05:00
status.c fixed upscale default for RPI 2017-10-05 22:32:36 -05:00
structs.h status boxes on map layout 2017-10-05 22:25:30 -05:00
TODO initial SDL version 2017-09-13 22:21:36 -05:00
view1090.c status boxes on map layout 2017-10-05 22:25:30 -05:00
view1090.dsp initial SDL version 2017-09-13 22:21:36 -05:00
view1090.h initial SDL version 2017-09-13 22:21:36 -05:00
view1090.REMOVED.git-id status boxes on map layout 2017-10-05 22:25:30 -05:00
winstubs.h initial SDL version 2017-09-13 22:21:36 -05:00

#spidr1090

###HARDWARE

####Pi Zero Version

Part Link Cost
Raspberry Pi Zero W $10
Adafruit 2.4" PiTFT Hat (https://www.adafruit.com/product/2455) $35
NooElec Nano3 SDR $28
Adafruit GPS Hat (https://www.adafruit.com/product/2324) $45
Antenna
USB Jack
MicroSD Card
Total: $118+

####Battery Options (https://en.wikipedia.org/wiki/List_of_battery_sizes) Portrait Orientation: 18500 Batteries (18mm x 50mm), ~1000-2000mAh ea. The Pi Zero configuration consumes are 500mAh

Landscape Orientation 18650 batteries (18mm x 65mm). ~2200-3500mAh ea. Adafruit pack + PowerBoost Charger, ~$40 Anker PowerCore 10000, ~$25

Other options external recharger (maybe cheaper and smaller?) along with 18500/18650

Some 18500 / 18650 include current protection inside, such as: http://www.ebay.com/itm/2-x-Panasonic-NCR-18500-2000mAh-LI-ION-RECHARGEABLE-BATTERY-PCB-button-top-case-/391378348412?epid=1830264923&hash=item5b1ff7a97c:g:ePgAAOSwFqJWswnj, otherwise would require external protection circuit to be used in parallel.

####Pi 3 Version This gets you a slightly bigger screen, and slightly better performance using the SDR Smart rather than the Nano 3, but requires a ton of annoying port/header clipping and desoldering.

Part Link Cost
Raspberry Pi 3 $35
Adafruit 2.8" PiTFT Hat https://www.adafruit.com/product/2423 $45
NooElec SDR Smart $20
GlobalSat MicroGPS Dongle (https://www.amazon.com/GlobalSat-ND-105C-Micro-USB-Receiver/dp/B00N32HKIW/ref=sr_1_3?ie=UTF8&qid=1505829420&sr=8-3&keywords=gps+dongle) $30
Antenna
USB Jack
MicroSD Card
Total: $130+

alt screen https://www.amazon.com/3-5inch-RPi-LCD-Directly-pluggable-Displaying/dp/B01N48NOXI/ref=sr_1_26?ie=UTF8&qid=1505871836&sr=8-26&keywords=pi+3.5%22+tft, $30 instead of 45, larger, not cap touch

####Battery Options 18650 batteries (18mm x 65mm). ~2200mAH ea. Adafruit pack + PowerBoost Charger, ~$40 http://www.ebay.com/itm/3-7-volts-6400-mAh-1S2P-18650-Li-Ion-Battery-Pack-PCB-protected-Panasonic-Cells-/221923032745?hash=item33aba4bea9:g:0-IAAOSw14xWLSr2

###INSTALLATION

####On RPI

  1. Follow [Adafruit PiTFT install guide] (https://learn.adafruit.com/adafruit-2-2-pitft-hat-320-240-primary-display-for-raspberry-pi/easy-install)

  2. Install SDL and RTL-SDR libararies

sudo apt-get install libsdl1.2-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev wiringpi
  1. Download spidr
git clone sdfsdfdfs
  1. Build spidr with RPI flag set
cd spidr
make RPI=1

TODO make install should set up service?