Skip to content

Team cos(π) - Experiment and Code for Astro Pi - Mission Space Lab 2018/2019

Notifications You must be signed in to change notification settings

henrique-efonseca/Astro-Pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Astro Pi - Team cos(π)

Astro Pi - Mission Space Lab 2018/2019
Team name: cos(π) - Coding of Space
Professor: M. Cristina Pinho
Students:

School: Escola Secundária Sebastião e Silva
City: Oeiras
Country: Portugal

Introduction

The European Astro Pi Challenge is an ESA Education project run in collaboration with the Raspberry Pi Foundation. It offers young people the amazing opportunity to conduct scientific investigations in space by writing computer programs that run on Raspberry Pi computers aboard the International Space Station (ISS).
Mission Space Lab offers students and young people the chance to have their scientific experiments run on the ISS. Your challenge is to design and program an experiment to be run on an Astro Pi computer. The best experiments will be deployed to the ISS, and your team will have the opportunity to analyse your results and put together a short report about your findings. The ten teams that write the best reports will be selected as the Astro Pi Mission Space Lab winners!


Mission Resume

The main objective of the experiment is to study the relativity of the movement between a two-body system. We intend to demonstrate the validity of Galileo's Theory of Relativity, from an experimental point of view, using the Raspberry Pi. Using a mathematical model deducted, we used the photographs of the Earth among their coordinates to calculate the relative velocity and prove the importance of the Galileo's Theory of Relativity in experiments with this type of systems. As a secondary mission, we used the Humidity, Pressure and Temperature sensors to turn the RaspberryPi into a Human-Presence detector. We have also used be data science methods to find the experimental error associated with the AstroPi device.

Code

The Algorithm has a run-time of approximately 3 hours (2 ISS orbits).
Functions of the Algorithm:

    def security():
        """
        Function to get data from the environment on the ISS and compare it to
        the referenced values. This is used to check if anyone is near
        the AstroPi and to set colors and messages on the Sense Hat
        depending on Human Presence.
        """
    
    def get_Lat_Lon():
        """
        Function to get the latitude and longitude values
        from the 'ephem' library and write them to EXIF data for the
        photographys.
        """
    
   def photography():
        """
        Function to take photographs every 5 seconds.
        """
    
    def data():
        """
        Function to read the data gathered by the Raspberry Pi and store it in designated log file.
        """
    
    def MainFunction():
        """
        Function to run all the other functions in a multi-threading procedure.
        """  

Photographs

Example of the images we used for calculating the relative velocity:

20x20 grid

20x20 grid


Files

Files description:


Special Thanks

  • M. Cristina Pinho - Our Professor and Mentor for this project, for all the support.
  • Francisco Santos - Professor at Instituto Superior Técnico, for his scientific review of the experiment.
  • Afonso Gonçalves - Our friend, for his help reviewing the code.

Mission Space Lab Informations

  • https://astro-pi.org/missions/space-lab/
  • About

    Team cos(π) - Experiment and Code for Astro Pi - Mission Space Lab 2018/2019

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages