The document describes a project by Juampe López to send a small capsule into the stratosphere using a high-altitude balloon. López provides step-by-step instructions on obtaining permission, insurance, a balloon, parachute, and tracking equipment. The capsule contains a Raspberry Pi computer running Python scripts to log sensor data from a GPS, barometer, and clock. López hopes to contribute to citizen science projects with pictures and sensor readings from the edge of space. The Python code controls an OLED display and interfaces with the sensors for altitude, time, and location readings during balloon flights.
2. Who I am
● I write code for embedded
Linux environments
● Maker
● Python enthusiast
● Father of two (this will be important later! :))
3. What I’ve done
● I’ve been writing C/C++ for a decade
● I’ve been using Linux forever
● There is a lot of things around us running
some kind of embedded Linux and I’ve
coded some of those things
4. What I’d actually like to do
● Robots
● Spaceships and rockets
● Some kind of robots and rockets
mash-up maybe?
6. What’s the stratosphere? Where is it?
● It’s the 2nd major layer of Earth's atmosphere
● Contains 20% of the atmosphere's mass
● It’s high but it’s not space: located between 10
km and 50 km - space starts at 100 km!
● It’s cold! Temperatures fluctuate between -55 ºC
and -5 ºC depending on the altitude (higher means
warmer)
8. How you can reach it (and come back safely)
1 - Ask air controllers for permission (better to be safe than sorry)
● ENAIRE is the air navigation
manager in Spain and Western
Sahara
● Public agency
● They are responsible for all
air traffic control within the
Spanish airspace
9. How you can reach it (and come back safely)
1 - Ask air controllers for permission (better to be safe than sorry)
● T-24h: e-mail ENAIRE
● T-30min: phone ZGZ, MAD
and BCN control towers
● T-0: phone ZGZ control tower
10. How you can reach it (and come back safely)
1 - Ask air controllers for permission (better to be safe than sorry)
● The air traffic controllers will produce
a NOTAM (Notice to Airmen) - an official
alert for aircraft pilots regarding
potential hazards along their flight route -
with information about your flight
11. How you can reach it (and come back safely)
2 - Get an insurance - people don’t like stuff falling on their heads for free
● A 300 € fee gives the project
a 900 000 € coverage for 1 year
● Just in case!
● Most incidents are related to
the balloon landing on private
property - but people are nice
and understanding!
12. How you can reach it (and come back safely)
3 - Buy a big balloon and fill it with helium
We got ours from:
http://www.randomengineering.co.uk/Random_Aerospace/Balloons.html
13. How you can reach it (and come back safely)
3 - Buy a big balloon and fill it with helium
● 7.21 m3
of helium
● ~150 €
● Should be enough for a flight
● Ascent speed around 4 m/s
14. How you can reach it (and come back safely)
3 - Buy a big balloon and fill it with helium
● 7.21 m3
of helium
● ~150 €
● Should be enough for a flight
● Ascent speed around 4 m/s
15. How you can reach it (and come back safely)
4 - Add a parachute
● Ripstop nylon
● Handmade
● ~1.1 m2
area
● Must decelerate the
capsule down to 7 m/s
● Tested in 3 flights
16. How you can reach it (and come back safely)
4 - Add a parachute
● Ripstop nylon
● Handmade
● ~1.1 m2
area
● Must decelerate the
capsule down to 7 m/s
● Tested in 3 flights
17. How you can reach it (and come back safely)
5 - Track it
● APRS - https://aprs.fi
● Spot GPS - https://www.findmespot.com/en/
18. What you can do up there
● Citizen science
● Amateur radio
● Beautiful pictures
and awesome videos
19. What you can do up there
● Citizen science
● Amateur radio
● Beautiful pictures
and awesome videos
20. What you can do up there
● Citizen science
● Amateur radio
● Beautiful pictures
and awesome videos
21. What you can do up there
● Citizen science
● Amateur radio
● Beautiful pictures
and awesome videos
22. What you can do up there
● Citizen science
● Amateur radio
● Beautiful pictures
and awesome videos
23. What you can do up there
● Citizen science
● Amateur radio
● Beautiful pictures
and awesome videos
24. What you can do up there
● Citizen science
● Amateur radio
● Beautiful pictures
and awesome videos
25. The Servet Project
● Citizen science
out of Zaragoza
● Public funding
● It involves scientists,
makers, artists and
ham radio operators
● 2 flights, 3rd one is
expected next summer
26. The Koroliov 3 capsule - hardware
● Raspberry Pi Zero
● GPS
● Barometer
● RTC clock
● OLED display
● 3D printed parts
27. The Koroliov 3 capsule - hardware
● Raspberry Pi Zero
● GPS
● Barometer
● RTC clock
● OLED display
● 3D printed parts
28. The Koroliov 3 capsule - hardware
● Raspberry Pi Zero
● GPS
● Barometer
● RTC clock
● OLED display
● 3D printed parts
29. The Koroliov 3 capsule - software
● Raspbian
● Python script
called every minute
● Data is logged with CSV
for further analysis
30. The Koroliov 3 capsule - the Python stuff
BMP180 is a nice I2C
barometer: it senses
atmospheric pressure
and temperature and
calculates the altitude.
32. The Koroliov 3 capsule - the Python stuff
DS1307 is an I2C
RTC clock that keeps
the system time using
an external battery.
Kernel driver is available!
34. The Koroliov 3 capsule - the Python stuff
MTK3339 is a serial GPS
capable of parsing altitude
up to 40 km.
It outputs GPS data every second
and you can read it via USB
using a USB/serial TTL converter.
35. The Koroliov 3 capsule - the Python stuff
There is a GPS library for
Python and also cool
command line apps like
gpsd or gpsmon.
36. The Koroliov 3 capsule - the Python stuff
I added an OLED display
for debugging while the capsule
was still on the ground.
The code uses the Python Image
Library to create a bitmap that
can be sent to the display via I2C.
37. Summary
● Near-space is cool
● Linux and Python are a safe bet for
embedded projects
● Get the job done with Python first,
optimize (if need be) later!