Chris Stubbs Whats in the HAB kit Balloon keep this safe Parachute PITS kit Raspberry Pi Model A for flight SD Camera Raspberry Pi Model B for development Duct tape Cord Glue ID: 420526
Download Presentation The PPT/PDF document "Pi In The Sky" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Pi In The Sky
Chris
StubbsSlide2
What’s in the HAB kit
Balloon (keep this safe)
Parachute
PITS kit
Raspberry Pi Model A (for flight) + SD + Camera
Raspberry Pi Model B (for development)
Duct tape
Cord
Glue
Batteries
FoamSlide3
Raspberry Pi
Low cost
Credit card sized computer
Plugs into:
HDMI TV
USB KeyboardUSB MouseEthernetRuns Linux OSGPIOSlide4
Block DiagramSlide5
What’s in the PITS kit
PITS board
Battery holder
Battery connector
GPS antenna
Coax pigtail (for radio antenna)Stand offs and screwsSlide6
Power
Raspberry Pi onboard regulator overheats
PITS board contains better regulator
Energizer Lithium batteries perform best in the cold
Higher energy densitySlide7
GPS Antenna
Ensure GPS antenna is connected to GPS socket!
Clear view of the sky
No metallic objects above it
Correct way up
Radio Antenna
GPS Antenna
GPS ModuleSlide8
Antenna Pigtail
Pigtail MUST be made into an antenna
Full Guide:
http://ukhas.org.uk/guides:payloadantennaSlide9
Pi Camera
5MP Camera
1080P HD Video (not supported by default PITS SW)
Lift clip on Pi and insert cable (silver contacts facing HDMI port)
Press down on clipSlide10
Tracking block diagramSlide11
Receiver Setup
OR
DL-FLDIGISlide12
RTTY
FSK (Frequency Shift Keying)
Originally used on
teleprinters
(
Baudot 5 bit)Broadcasts continuous carrier waveShifts up/down in frequency depending on bitWe use 7 or 8 bit ASCII instead of Baudot8 bit allows for bytes of SSDV etc Slide13
SSDV
Breaks JPEG image up into small packets (256 bytes)
Packets contain:
Callsign
of the sender
Image IDPacket IDImage dimensionsError correctionPackets can then be sent over the radioPackets are decoded and uploaded to internetServer reassembles packets into imageSlide14
Balloon Tracking - EssexHamSlide15
Complexity levels
3 tiers depending on capability of students/teacher/mentors:
Basic
Pre built image must be downloaded and copied onto SD card
Configuration text file must be edited
Hardware must be assembled (possibility of things like antenna pre made)Intermediate Raspbian must be installed & configuredSoftware downloaded and built from sourceAdvanced
Raspbian
must be installed & configured
Software downloaded and built from source
Modification to perform an additional task (Video? Telemetry overlay?)Slide16
Setup
Install
Raspbian
Use a bigger SD card if you have one (4GB provided, 8GB would be better)
Flash up to date
raspbian image using win32diskimagerSlide17
Setup
Configure
Raspbian
Log in as “pi” password “raspberry” (
raspi-config
autoruns on first boot)Run “sudo raspi-config”
Expand
filesystem
Enable camera
Enter advanced options:
Enable SPI
Enable I2C
Disable serial shell
Run “
sudo
halt” to shutdown to complete the setup (required)
Connect camera, LAN and PITS board then update OS
Power on (from USB OR Battery) and Log in
Run “
sudo
apt-get update”
Run “
sudo
apt-get upgrade”Slide18
Setup
Install
wiringPi
GPIO library
Change directory to home directory
“cd ~” Download wiringPi“git clone git://git.drogon.net/wiringPi”Move into
wiringPi
directory and build
“
cd
wiringPi
”“./build” – This will take some time
Install SSDV encoder
Download and build like above
“
cd
~”
“git clone https://github.com/fsphil/ssdv.git”
“
cd
ssdv
”
“
sudo make install”Slide19
Setup
Install PITS tracker software
Download and build like above
“
cd
~”“git clone https://github.com/PiInTheSky/pits.git”“cd pits”“./build”TestingConnect PITS board and camera
“
cd
~/pits/tracker”
./
startup
You should see the red WARN light come on straightaway.
Once GPS lock has been established, the WARN LED will go out and the green OK light will flash.Slide20
Setup
Editing
config
file
This must be changed to your allocated call sign
Change to “N” to enable HDMI
This must be changed to your allocated frequency
Other parameters can be left as defaultSlide21
Setup
Habitat
http://habitat.habhub.org/genpayload
/
Create payload configuration document from existing “PI_SKY”
configChange parameters such as call sign and frequency as per pixky.txtOnce correct your payload should appear on
http://habhub.org/mt
once decoded with dl-
fldigi
Create a flight document to notify others of your flight and enable them to configure dl-
fldigi
with your settings.Slide22
Q&A
Slides can be downloaded from:
http://chris-stubbs.co.uk/pits/pits.pptx
Handy links:
http://habhub.org/ - Tracker, predictor, burst calculator, dl-fldigi, ssdv
http://ukhas.org.uk
/
- Everything you need to know about ballooning
http://
ukhas.org.uk/frontpage:guides
– A set of comprehensive guides written by the community
http://
ukhas.org.uk/ukhas:irc_channel
- IRC
chatroom
(best place to ask for help)
http://www.pi-in-the-sky.com
/
- PITS tracker hardware and software