- 9
- 157 139
Kofi Asare
Приєднався 18 сер 2015
Welcome to my channel!
Developing Software for an Actively Controlled Rocket
Get JLCPCB 6 layer PCBs for just $5! Register to get $80 Coupons: jlcpcb.com/?from=kofiAsare
Firmware overview of versions 1, 2, & 2.5 of Flight Computer ONE. Future firmware and a new rocket are briefly discussed.
Hardware Overview: ua-cam.com/video/c3SYiI_NYq0/v-deo.html
This is not a guide, but here are the resources I learned from!
Embedded firmware and software development:
@PhilsLab
@digikey
@ShawnHymel
Navigation development:
iansguides.com/guides/#filter=.aerospace-engineering
ahrs.readthedocs.io/en/latest/filters/mahony.html
ahrs.readthedocs.io/en/latest/filters/madgwick.html#
betaflight.com/docs/development
github.com/iNavFlight/inav/blob/master/docs/Getting%20Started.md
ardupilot.org/dev/docs/learning-the-ardupilot-codebase.html
The advanced rocketry Gs:
@BPSspace
@LafayetteSystems
@jacobthornhill
Thanks for watching, please like, subscribe, and consider supporting me as a UA-cam member or on Patreon for more rocketry content!
Patreon: Patreon.com/KofiAsare
Timestamps
Intro: 0:00
JLCPCB: 0:15
v1 Firmware Goals: 0:54
v1 Firmware Process: 1:11
v1 Firmware Results: 1:59
v2 Firmware Goals: 2:27
v2 Firmware Process: 2:50
v2 RTOS Process: 3:38
v2 Results: 4:34
v2.5 Firmware Goals: 5:15
v2.5 Firmware Process: 5:22
v2.5 Firmware Results: 5:55
v3+ Firmware Goals: 6:17
v3+ Firmware Process: 6:36
Outro: 6:55
#firmware #software #rocketry
Firmware overview of versions 1, 2, & 2.5 of Flight Computer ONE. Future firmware and a new rocket are briefly discussed.
Hardware Overview: ua-cam.com/video/c3SYiI_NYq0/v-deo.html
This is not a guide, but here are the resources I learned from!
Embedded firmware and software development:
@PhilsLab
@digikey
@ShawnHymel
Navigation development:
iansguides.com/guides/#filter=.aerospace-engineering
ahrs.readthedocs.io/en/latest/filters/mahony.html
ahrs.readthedocs.io/en/latest/filters/madgwick.html#
betaflight.com/docs/development
github.com/iNavFlight/inav/blob/master/docs/Getting%20Started.md
ardupilot.org/dev/docs/learning-the-ardupilot-codebase.html
The advanced rocketry Gs:
@BPSspace
@LafayetteSystems
@jacobthornhill
Thanks for watching, please like, subscribe, and consider supporting me as a UA-cam member or on Patreon for more rocketry content!
Patreon: Patreon.com/KofiAsare
Timestamps
Intro: 0:00
JLCPCB: 0:15
v1 Firmware Goals: 0:54
v1 Firmware Process: 1:11
v1 Firmware Results: 1:59
v2 Firmware Goals: 2:27
v2 Firmware Process: 2:50
v2 RTOS Process: 3:38
v2 Results: 4:34
v2.5 Firmware Goals: 5:15
v2.5 Firmware Process: 5:22
v2.5 Firmware Results: 5:55
v3+ Firmware Goals: 6:17
v3+ Firmware Process: 6:36
Outro: 6:55
#firmware #software #rocketry
Переглядів: 8 039
Відео
Creating a Custom Flight Computer for Active Rocket Control | Hardware Overview
Переглядів 29 тис.4 місяці тому
Welcome to the first video in this two-part overview series about Flight Computer ONE! In this video, I go over the three versions of the computer made to date and explain in detail my reasoning behind each design along with the results and problems encountered. I also touch base on a future design at the end! The next video will be all about firmware development and should be completed much qu...
Actively Stabilized Model Rocket with Real-Time Telemetry
Переглядів 79 тис.6 місяців тому
Check out the most recent flight of my 3D-printed thrust vector-controlled model rocket! This video also includes an overview of my journey through TVC up to this point. Advance model rocketry resources: @BPSspace @LafayetteSystems PCB design(flight computer) resources: @PhilsLab @AltiumAcademy TVC flight simulator resources: @SHKYERAAerospace github.com/fszewczyk/tvc-simulator github.com/Guido...
Level 1 Certification High Power Rocket Launch
Переглядів 3,2 тис.Рік тому
This was my second launch attempt for L1 certification, this flight was successful and resulted in certification! Here are a few camera views and real-time telemetry from Flight Computer ONE! Another thing to note from this flight was the inaccuracy of calculated orientations during the coast and apogee flight states. I believe this to be caused by an unreliable gravity vector provided by the a...
Coaxial Bicopter test flight
Переглядів 33 тис.3 роки тому
Subscribe for more! Here you'll see the first decent flight of my Contra-rotating TVC Co-axial Bicopter running INAV, It's made out of aluminum, carbon fiber, and some 3Dprinted parts. My long-term goal for this project is to make it autonomous. Unlisted bi copter videos: ua-cam.com/video/OrDY5fME2L4/v-deo.html ua-cam.com/video/08ML2eMvNew/v-deo.html ua-cam.com/video/BeoluRoSGic/v-deo.html ua-c...
What printer do you have?
Creality Ender 5 with Micro Swiss direct drive, all metal hot end, and hardened steel nozzle. Also, the printer sits in a ventilated enclosure.
Can you explain how you made the PCB and programmed it in a future video? As well as how the simulations worked? I would love to see it!
Where do you get your printing filaments? Any particular brand? They do seem super strong...😮
Polymaker Fiberon! The PC was from iSANGHU on Amazon.
@KofiAsare0 much appreciated, thank you!
do you plan on sanding the fins for less drag? shaping?
The fins currently have a symmetrical NACA M1 airfoil but I also intend to sand for a smoother surface finish and paint!
@@KofiAsare0 very nice
awsome video, what is the programm that has the rocket model and the two plots on the right?
9:47 DAYMNNN YOU LOOK PRETTY MY CHOCOLETTE MEN
hello , great video , i would like to get some guidance from you , as i’m starting in this field , could you point me in some direction where should i start , as i have more than 4+ years of software’s dev experience and CS background but no aerospace related knowledge, ps : would be great if you have a discord or something.
Check your email! LOVE what you been upto!
really cool, thank you! however it would be nice for the mic to have a pop filter for better audio quality <3
Looks very stable, nice work!
Thanks, I really appreciate your work!
you are doing good bro! im encouraged 🤓
Love it ❤
Awesome progress video! Do you have a discord server or some other platform? Would love to ask some questions about this stuff :D
Not at the moment but I may set something up in the near future!
Great going mate !! You inspires to build my dream project thanks
i personally hate when i see bugs in projects!
No hating but why does ur voice sound so fake😅
Yaay! An ee rocket hobbyist. Subbed.
Dude! Good job! and you have a great narrator voice too.
Thank you so much, I appreciate it!
Hey! Your PCB design is super slick! I wanted to ask if you had any trouble with SD card logging in flight, mainly the SD becoming disconnected at all. I'm designing for an L3 rocket and worried that I'll need a different type of memory for logging. Just curious if you considered any solutions to keeping your SD card snug in its slot or using a power failure safe filesystem! Love your videos!
Where exactly the thrust vector is attached? At the last cross section of the exhaust nozzle?
excellent work as always. thanks for sharing.
how are you visualizing the real time data or the euler angles in xyz plane? can you please guide me how I can convert the roll pitch and yaw and show it on the web with xyz co-ordinates
Are you an electrical engineering student? How did you learn electronics and firmware?
How do you make the UI at 6:05?
Goated
The priority of the task most probably is a little bit inaccurate. That can result of missing deadline of controllers. Also if I2C manager is managed wth Semaphore you face with priority inversion. You must use mutex. However you should ABSOLUTELY check thr Active Object pattern . Dr.Miro Samek perfectly explain the concept also he published an freeRTOS version of it. You will perfectly manage your tasks.
Thanks for the info! I’ll definitely look into it more thoroughly. RTOS seems to have much more potential than what I’ve experienced so far!
@@KofiAsare0 Absolutely! For example, while you are trying to send the telemetry, deadline of the controllers may need to work, without preemption (rtos) its not possible so that you add an extra delay it may result of system failure. Dont worry, your telemetry task has been paused for a while, you will return back and continue to send. But managing those, is quite require some extra effort. Also I see that you are sending your telemetry datas as an ASCII??? Dont even do that. You waste your bandwidth. You should send your navigation package as an uint8 format . For example you have navigation struct you can cast it to ; uint8_t *data = (uint8_t*)&nav.data; Hal_Uarr_sed(data, sizeof(nav.data)); so you send your navigation data as byte format. But There is a problem. How you can understand is it a nav package or not? Thats simple. Add header and package type field to your struct and send them all; e.g: struct { uin32_t startofframe; uint16_t packagelen; uint16_t packagetype; NavDatas data; }mynav; so : struct mynav nav; // specify your header package lenght package type and etc.. uint8_t *data = (uint8_t*)&nav; Hal_Uarr_sed(data, sizeof(nav)); I hope you understand, Best regards,
Amazing work, bro!
Added Kalman Filter??
Not yet, but am currently implementing an Extended Kalman Filter!
@@KofiAsare0 👍😊
that's so cool! 🚀
Great work, keep going!
This is so cool! I really like your use of a RTOS, didn't know that was possible with Arduino.
Thank you! I wish I understood more about its implementation to get it working properly, but I think switching frameworks first is the right move. Also, I’m excited to see your fin-controlled rocket!
Good start. Nice that there are so many libraries available.
Good stuff man
Good job man
I was curious about what hardware would be fast enough for something like this.
Amazing job!
*taking notes Okay, I can do it natively.....nope, use RTOS.......fvck RTOS.......native......Yeah, writing code for hardware is still as difficult as it used to be ha!
Great job! How did you tune your PID constants so accurately? Is there a method to do so without launching the rocket itself and doing it from trial and error? Thanks!
Thanks! I used a Python simulator to create a basic model of the vehicle's dynamics, then applied the Ziegler-Nichols method to find initial gains. The rest of the tuning was done heuristically.
@@KofiAsare0 Nice! How well did tuning it heuristically work with real-life conditions when you tested it?
Nice. Lesssgoooo🎉
could use pip install rocketpy
Hi ! Such a great job ! Did you try to use DMA and SDMMC ?
Thank you! I’m not using either at the moment, but in version 3, I plan to implement DMA and use separate SPI buses for each sensor. The idea is to help minimize the load on the MCU.
@@KofiAsare0OK, cool, because it can simplify your logging in SD card I think and other stuff. I just hope that you'll have enough DMA and SPI cores for each device. Keep going 👌🏾
Extremely cool
Fire work bro!!
Thank you so much bro!