Share
Embed
Astro Pi @ campug
Ben Nuttall
July 02, 2019
Transcript
31 slides
-
Astro Pi: Python on the International Space Station Ben Nuttall
Raspberry Pi Foundation UK Charity 1129409 -
@ben_nuttall Ben Nuttall • Technical Programme Manager at Raspberry Pi
Foundation • Based in Cambridge office (here) • Creator of GPIO Zero and piwheels • Columnist on opensource.com • github.com/bennuttall • twitter.com/ben_nuttall • [email protected] -
@ben_nuttall What is Astro Pi? • Raspberry Pi 1B+ •
Sense HAT • Camera module V1 (VIS/IR) • Space-grade aluminium case -
@ben_nuttall Sense HAT • Temperature • Humidity • Pressure •
Gyroscope • Magnetometer • Accelerometer • 8x8 RGB LED display • Mini joystick -
@ben_nuttall Camera module • 5Mpx • 1080p30, 720p60 and 640
× 480p60/90 • 2592 × 1944 pixels • Visible light and infra-red versions available -
@ben_nuttall Astro Pi competition • Competitions for young people in
ESA member states (most of EU, plus Canada) • "Your code in space" • Mission Zero / Mission Space Lab • Running since 2015 -
@ben_nuttall Mission Zero • 30 seconds runtime on the ISS
• "Hello world" in space – pixel art and messages, with conditionals • Access to sensors but not camera • No data logging • Submit through web emulator on trinket.io -
@ben_nuttall Mission Space Lab • 3 hour runtime on ISS
• Science experiment • Idea phase; code phase; experiment run phase; analysis and report phase • Two themes: Life on Earth / Life in Space -
@ben_nuttall How did we get them up there? How did
we get them up there? -
@ben_nuttall How do we access or update them? • Launched
with Raspbian Wheezy SD cards • Ran first competition with no LAN access, and no upgrade plan • On Tim Peake’s last day in space, he had a task to connect an ethernet cable • Astro Pis are now on the station LAN (not the internet) – ground connection now possible -
@ben_nuttall How do we access or update them? • To
update the SD card: • Prepare image • Get image security hardened • Paperwork • Image gets uplinked to station laptop • Astronaut follows procedure to write image to SD card • Astronaut inserts SD card and connects power -
@ben_nuttall OS upgrades • Raspbian Wheezy Raspbian Jessie → Raspbi
• Raspbian Jessie Raspbian Stretch → Raspbi • Raspbian Stretch Raspbian Buster (next) → Raspbi -
@ben_nuttall Sending code to space • Code uploads are separate
from SD card image uploads: • Send zipfile • Send paperwork • Upload via scp • Hope it works :) • If not, read the syslogs... -
@ben_nuttall Mission Space Lab ideas • Detect crew presence with
sensors • Log data to see what happens • Environmental - check ISS conditions • Time-lapse • Global issues e.g. climate change • Wildfires • Forest depletion • Greenery • Shrinkage of lakes -
@ben_nuttall Mission Space Lab - libraries • picamera, sense_hat •
Pyephem, reverse_geocoder • GDAL (Geospatial Data Abstraction Library) • numpy, Scipy, Pandas • Tensorflow, opencv, scikit-learn, scikit-image -
@ben_nuttall Third mission? • In-between Mission Zero and Mission Space
Lab • Time commitment • Difficulty • No ISS involvement • Using existing data and photos • Small periodic challenges, drop in and out -
@ben_nuttall Data captured • CSV of all sensors for 24
hours (8 batches of 3- hour runs) • Time-lapse of photos -
@ben_nuttall How can you help? • Talk to me today
• Share your ideas and interest • Mentor a young person or group when the challenges launch • Volunteer at a Code Club or CoderDojo • Watch astro-pi.org and @Raspberry_Pi / @astro_pi on Twitter for updates -
Astro Pi: Python on the International Space Station Ben Nuttall
Raspberry Pi Foundation UK Charity 1129409