Giter Site home page Giter Site logo

wiltomdus / sora Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 67 KB

High power rocket data acquisition system with apogee detection for the RP2040 microcontroller written with circuitpython

License: MIT License

Python 100.00%
accelerometer-and-gyroscope altimeter apogee-detection circuitpython rocket rocketry rp2040

sora's Introduction

Sora

High power rocket data acquisition system with apogee detection for the RP2040 microcontroller written in microPython

Description

Sora is a data acquisition program based on the DPS310 Precision Barometric Pressure/Altitude sensor and the ISM330DHCX - 6 DoF IMU - Accelerometer and Gyroscope and runs on a PIM560, Pimoroni Pico LiPo - 16MB. The DPS310 sensor is used to track the altitude of the rocket during flight. The ISM330DHCX sensor is used to track the acceleration and angular velocity in 3 axis. All of the flight data is logged to the flight-data file (altitude, pressure, temperature, acceleration and angular velocity). To allow for easy activation and deactivation, a reed switch is used to trigger the program. This requires the use of a decently strong magnet to activate the reed switch through the fuselage of the rocket. The recommended use of the reed switch is to activate the avionics after the rocket is installed on the launchpad to prevent a false detection of the powered ascent stage.

features

  • Flight stage detection
  • Apogee detection
  • Activation with a reed switch
  • Sound notifications with a buzzer
  • Logging of altitude from ground level
  • Logging of 3 axis acceleration
  • Logging of 3 axis angular velocity

All the values are recorded in metric units.

  • Altitude is in meters(m) from ground level
  • Pressure is in hectoPascal(hPa)/millibar(mb) at current location/elevation
  • Temperature is in Celsius(°C) at current location/elevation
  • Acceleration is in meters per second squared (m/s²)
  • Velocity is in meters per second(m/s)
  • Angular velocity is in degres per second(°/s)

Getting Started

Hardware

Dependencies

Usage

  • Install CircuitPython on your pico
  • Copy the .py file to the CIRCUITPY drive
  • Create a data folder at the root of the CIRCUITPY drive
  • Run PUTTY with the serial port of your device to access REPL(console)
  • Before launch update the sea level pressure in the init function of the altimeter class to the current weather report

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

sora's People

Contributors

wiltomdus avatar

Stargazers

 avatar  avatar

Watchers

 avatar

sora's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.