Kofi Asare
Kofi Asare
  • 9
  • 157 139
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
Переглядів: 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...

КОМЕНТАРІ

  • @nicola_gaiani
    @nicola_gaiani 12 днів тому

    What printer do you have?

    • @KofiAsare0
      @KofiAsare0 11 днів тому

      Creality Ender 5 with Micro Swiss direct drive, all metal hot end, and hardened steel nozzle. Also, the printer sits in a ventilated enclosure.

  • @SanjayS-eq1ko
    @SanjayS-eq1ko 13 днів тому

    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!

  • @adjeielias6346
    @adjeielias6346 14 днів тому

    Where do you get your printing filaments? Any particular brand? They do seem super strong...😮

    • @KofiAsare0
      @KofiAsare0 14 днів тому

      Polymaker Fiberon! The PC was from iSANGHU on Amazon.

    • @adjeielias6346
      @adjeielias6346 13 днів тому

      @KofiAsare0 much appreciated, thank you!

  • @Laserfish17
    @Laserfish17 15 днів тому

    do you plan on sanding the fins for less drag? shaping?

    • @KofiAsare0
      @KofiAsare0 15 днів тому

      The fins currently have a symmetrical NACA M1 airfoil but I also intend to sand for a smoother surface finish and paint!

    • @Laserfish17
      @Laserfish17 11 днів тому

      @@KofiAsare0 very nice

  • @georgeKir
    @georgeKir 17 днів тому

    awsome video, what is the programm that has the rocket model and the two plots on the right?

  • @WierdOrange-x9g
    @WierdOrange-x9g 19 днів тому

    9:47 DAYMNNN YOU LOOK PRETTY MY CHOCOLETTE MEN

  • @iharshrawat
    @iharshrawat 28 днів тому

    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.

  • @miestermind
    @miestermind Місяць тому

    Check your email! LOVE what you been upto!

  • @maximood-tired
    @maximood-tired Місяць тому

    really cool, thank you! however it would be nice for the mic to have a pop filter for better audio quality <3

  • @iforce2d
    @iforce2d Місяць тому

    Looks very stable, nice work!

    • @KofiAsare0
      @KofiAsare0 Місяць тому

      Thanks, I really appreciate your work!

  • @Funguy0077
    @Funguy0077 Місяць тому

    you are doing good bro! im encouraged 🤓

  • @zed-im
    @zed-im Місяць тому

    Love it ❤

  • @KonradKubacki
    @KonradKubacki Місяць тому

    Awesome progress video! Do you have a discord server or some other platform? Would love to ask some questions about this stuff :D

    • @KofiAsare0
      @KofiAsare0 24 дні тому

      Not at the moment but I may set something up in the near future!

  • @lakshyakumarpandey382
    @lakshyakumarpandey382 Місяць тому

    Great going mate !! You inspires to build my dream project thanks

  • @0m1d
    @0m1d Місяць тому

    i personally hate when i see bugs in projects!

  • @abdelmananabdelrahman4099
    @abdelmananabdelrahman4099 Місяць тому

    No hating but why does ur voice sound so fake😅

  • @lad4694
    @lad4694 Місяць тому

    Yaay! An ee rocket hobbyist. Subbed.

  • @CodeCowboy64
    @CodeCowboy64 Місяць тому

    Dude! Good job! and you have a great narrator voice too.

    • @KofiAsare0
      @KofiAsare0 24 дні тому

      Thank you so much, I appreciate it!

  • @MatteoGolin-kc6uy
    @MatteoGolin-kc6uy Місяць тому

    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!

  • @Tome4kkkk
    @Tome4kkkk Місяць тому

    Where exactly the thrust vector is attached? At the last cross section of the exhaust nozzle?

  • @adjeielias6346
    @adjeielias6346 Місяць тому

    excellent work as always. thanks for sharing.

  • @mahirdaiyansafwaan2148
    @mahirdaiyansafwaan2148 Місяць тому

    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

  • @ripsky7586
    @ripsky7586 Місяць тому

    Are you an electrical engineering student? How did you learn electronics and firmware?

  • @johnschmidt874
    @johnschmidt874 Місяць тому

    How do you make the UI at 6:05?

  • @JackOHaraEngineering
    @JackOHaraEngineering Місяць тому

    Goated

  • @mecitpamuk5623
    @mecitpamuk5623 Місяць тому

    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.

    • @KofiAsare0
      @KofiAsare0 Місяць тому

      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!

    • @mecitpamuk5623
      @mecitpamuk5623 Місяць тому

      @@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,

  • @TaykTech
    @TaykTech Місяць тому

    Amazing work, bro!

  • @Ruhgtfo
    @Ruhgtfo Місяць тому

    Added Kalman Filter??

    • @KofiAsare0
      @KofiAsare0 Місяць тому

      Not yet, but am currently implementing an Extended Kalman Filter!

    • @Ruhgtfo
      @Ruhgtfo Місяць тому

      @@KofiAsare0 👍😊

  • @rw-kb9qv
    @rw-kb9qv Місяць тому

    that's so cool! 🚀

  • @nicola_gaiani
    @nicola_gaiani Місяць тому

    Great work, keep going!

  • @jacobthornhill
    @jacobthornhill Місяць тому

    This is so cool! I really like your use of a RTOS, didn't know that was possible with Arduino.

    • @KofiAsare0
      @KofiAsare0 Місяць тому

      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!

  • @legobuildingsrewiew7538
    @legobuildingsrewiew7538 Місяць тому

    Good start. Nice that there are so many libraries available.

  • @l1nkz100
    @l1nkz100 Місяць тому

    Good stuff man

  • @l1nkz100
    @l1nkz100 Місяць тому

    Good job man

  • @elHippieSupremo
    @elHippieSupremo Місяць тому

    I was curious about what hardware would be fast enough for something like this.

  • @nicholascarr6251
    @nicholascarr6251 Місяць тому

    Amazing job!

  • @robdgonz
    @robdgonz Місяць тому

    *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!

  • @spacium-3030
    @spacium-3030 Місяць тому

    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!

    • @KofiAsare0
      @KofiAsare0 Місяць тому

      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.

    • @spacium-3030
      @spacium-3030 Місяць тому

      @@KofiAsare0 Nice! How well did tuning it heuristically work with real-life conditions when you tested it?

  • @johndawson6057
    @johndawson6057 Місяць тому

    Nice. Lesssgoooo🎉

  • @jsu-oz1fo
    @jsu-oz1fo Місяць тому

    could use pip install rocketpy

  • @Pkemarco
    @Pkemarco Місяць тому

    Hi ! Such a great job ! Did you try to use DMA and SDMMC ?

    • @KofiAsare0
      @KofiAsare0 Місяць тому

      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.

    • @Pkemarco
      @Pkemarco Місяць тому

      ​@@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 👌🏾

  • @stickyfingies
    @stickyfingies Місяць тому

    Extremely cool

  • @algassimoudiallo8345
    @algassimoudiallo8345 Місяць тому

    Fire work bro!!

    • @KofiAsare0
      @KofiAsare0 Місяць тому

      Thank you so much bro!