Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.
/ GKGF-1 Public archive
forked from ilias-ec/GKGF-1

Python Code for Astro-Pi mission 2016-2017

Notifications You must be signed in to change notification settings

astro-pi/GKGF-1

 
 

Repository files navigation

European Astro-Pi challenge 2016-2017
Team name: GKGF-1 - Gymnasium of Kanithos (Chalkida) Greece
Reference about challenge:

Our missions:
  • Primary:
    • Receiving measurements from all SenseHAT sensors per 10secs (temperature from humidity, temperature from pressure, relative humidity, pressure, orientation (in radians and degrees), accelerometer (raw and degrees), compass (direction of North and raw), gyroscope (raw and degrees) and CPU temperature at Raspberry PI3 model B).
    • Timestamp for each measurement (in format: dd/mm/yyyy and hh:mm:ss).
    • Monitoring living conditions of the ISS crew per 10 sec. Living conditions on ISS are: temperature (min 18.3oC – max 26.6oC), relative humidity (min 50% - max 70%), pressure (min 979.0559 mbar – max 1027.2769 mbar).
    • Displaying of notifying messages on the 8x8 led display of SenseHAT if the measurements of the sensors (temperature, humidity, pressure) are above or below the allowed limit.
    • For monitoring temperature we use the average measurement of temperature from the humidity sensor and temperature from the pressure sensor.
    • All our programme is conducted in 3 hours (10800 sec).
    • If there is a slight variation of temperature/humidity in the original measurements which will be received after commencing the programme (approximately 60 sec) we assume that somebody will be in proximity to Astro-Pi and a greeting message (Hi!) will be displayed in the 8x8 led display.
  • Secondary:
    • From Newton's Second Law and gravitational force it is evident that ISS speed is given by the formula u=sqrt(G*m/R), where: G=6,67428×10−11 (Nm2/kg2) - Gravitational constant, m=5.972*1024 Kg - mass of Earth, R=(Radius of Earth + altitude of ISS).
    • In calculating the Earth radius we take into consideration ISS latitude.
    • We use http://celestrak.com/NORAD/elements/stations.txt (NORAD Two-Line Element Sets) - we would appreciate it if you notified the 2 lines from NORAD TLE at the beginning of our programme BEFORE putting it into practice (lines 23 & 24 in our python code with name GKGF_1.py).
    • Calculation centripetal and centripetal acceleration (mass of ISS=419455 Kg).
    • Calculating rotation period of ISS around the Earth.
    • Storing of timestamp, latitude (in decimal format), longitude (in decimal format) and altitude of ISS (in meters) in a separate file from the one with the sensor measurements.
Reference about our missions:
Files description:
  • GKGF_1.py - the Python programme running on ISS
  • GKGF-1_GKGF_1_Greece_20170501_115603.csv - Data from ISS (from 01/05/2017, 11:56:03 until 01/05/2017, 14:55:51) - All mesurments from all sensors of SenseHat
  • GKGF-1_GKGF_1_Greece_calc_20170501_115603.csv - Data from ISS (from 01/05/2017, 11:56:03 until 01/05/2017, 14:55:51) - Position of ISS (latitude , longitude , altitude)
  • time_Temperatures_3_plots_pep8.py - Python programme that creates graphs of Temperature (from humidity/pressure/CPU censor) - Time using matplotlib
  • time_Pressure_sensor.py - Python programme that creates graph of Pressure (in mbar from pressure sensor) - Time using matplotlib
  • time_Humidity_sensor.py - Python programme that creates graph of Humidity (in %rH from humidity sensor) - Time using matplotlib
  • time_Speed_plus_R.py - Python programme that creates graphs of ISS speed (Km/h) - Radius earth (according lat/log) + altitude ISS (Km) - Time using matplotlib
Some results after proccessing data from ISS:
  • From the 3 graphs (Temperature/Pressure/Humidity - Time) we can see nobody from 01/05/2017, 11:56:03 until 01/05/2017, 14:55:51 come in to Colombus Laboratory Module.
Many thanks to:
  • My students (Paraskevas, Nikos, Pavlos, Constantinos and Anastasia)
  • Mr Tsamouris Tasos - Physics Teacher at 4th Lyceum of Chalkida for his scientific support
  • Mrs Pappa Korina - English Teacher at Gymnasium of Kanithos for her translating assistance from Greek to English.

About

Python Code for Astro-Pi mission 2016-2017

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%