You are browsing as a guest. Sign up (or log in) to start making projects!

3h 31m logged

First time using freeRTOS, this is some intense stuff, but I finally got it set up where one core handles the sensors and state machine logic, and the other one handles the camera, and saving the frames to storage. Today, I basically fully finished the sensor core, adding detection for when it launches, when it passes apogee, and when it has landed. I also created a struct that saves alt, pres, temp, and time, to psram. I decided to migrate the project over to platformIO, and since I was switching I decided I would improve the logic, and also use two cores. Previously I used the average alt within a second, then fully delete that array and create a new one. Now it uses a rolling array. The launch and apogee detection is pretty simple, if the average now is higher or lower by a certain threshold boom detected, but for the landing I decided to make it so that it has to stay within a certain threshold for 5 seconds, and if it breaks it once it resets. Next I need to setup the camera logic (not excited)

0
2

Comments 0

No comments yet. Be the first!