Coder Social home page Coder Social logo

jonl40 / rocket_payload Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 5.69 MB

C/C++ code for teensy 4.1 microcontroller to poll and log sensor data (IMU, 3 RTDs) using multithreading

C++ 39.39% C 57.06% Python 3.55%
arduino microcontroller embedded data-visualization multithreading

rocket_payload's Introduction

Rocket_Payload

C/C++ code for teensy 4.1 microcontroller to poll and log sensor data (IMU, 3 RTDs) using multithreading
Python pandas, matplotlib for data visualization

References / Filter Design

https://github.com/pms67/HadesFCS/blob/master/Filtering/C%20Code/FIR.h
https://www.youtube.com/watch?v=uNNNj9AZisM
https://www.youtube.com/watch?v=QRMe02kzVkA
http://t-filter.engineerjs.com/

Libraries Used

Multithreading library by Fernando Trias https://github.com/ftrias/TeensyThreads
ICM 20948 Arduino Library by Owen Lyke @ SparkFun Electronics https://github.com/sparkfun/SparkFun_ICM-20948_ArduinoLibrary
Adafruit PT100/P1000 RTD Sensor w/MAX31865 library by Limor Fried/Ladyada @ Adafruit Industries

Set up

https://www.arduino.cc/en/software
https://www.arduino.cc/en/Guide/Linux
https://playground.arduino.cc/Linux/All/#Permission
https://www.pjrc.com/teensy/td_download.html
In Arduino IDE Tools -> manage libraries search and install Adafruit_MAX31865
Install ICM-20948 https://github.com/sparkfun/SparkFun_ICM-20948_ArduinoLibrary
OR Install ICM-20948 with http://librarymanager/All#SparkFun_ICM_20948_IMU in IDE
Install Multithreading library https://github.com/ftrias/TeensyThreads
In Arduino IDE Tools -> Board -> Teensyduino -> Teensy 4.1
In Arduino IDE Tools -> Port -> "port connected to Teensy 4.1"

RTD Plot

RTD

IMU Plot

IMU

Acceleration Plot

ACC

Gyro Plot

GYR

Mag Plot

MAG

Schematic

Schematic_Payload_2021-08-14

rocket_payload's People

Contributors

jonl40 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.