STM32 Drone Programming A to Z: Sensor I/F to Flight Control

Udemy STM32 Drone Programming A to Z: Sensor I/F to Flight Control

Register & Get access to index
3803230-608c-3.jpg

Learn all about drone from basic to essential features such as AHRS sensor, GPS and PID control with STM32 in HAL and LL
3.7 | (24 ratings) | 297 students | Author: Wonyeob Chris Park
Course Duration:


16 sections • 52 lectures • 31h 30m total length




What you'll learn:

  • STM32F4 based high performance drone flight control system firmware development
  • How to setup peripherals, generate and build source code for STM32 with STM32CubeIDE (including CubeMX)
  • Sensor interface, motor driving, radio data transmission, flight control and its all source code
  • How to use STM32F4 HAL and LL driver (mainly LL use)
  • Embedded system firmware development process
  • Self-made drone FC software development
  • 9-axis (BNO080) and 6-axis (ICM-20602) sensor, barometric pressure sensor (LPS22HH) interface
  • UBLOX NEO M8N interface and data parsing (ubx message protocol parsing)
  • FlySky FS-iA6B receiver interface and data parsing, FS-i6 transmitter configuration (iBus message protocol parsing)
  • How to setup a quadcoptor drone
  • PWM generation using TIM peripheral of STM32
  • ESC calibration and ESC protocol types (Standard PWM, Oneshot, Multishot, Dshot, etc.)
  • BLDC motor driving using oneshot125 protocol
  • 3DR Telemetry configuration (using 3DR radio config)
  • Transmission and reception of drone status information (sensor data, FS-i6 transmitter data, battery voltage, PID control gain, etc.)
  • Additional functions - storing PID gains in EEPROM, battery voltage checker and low battery alarm
  • Safety functions - sensor connection check, Fail-safe, etc.
  • Drone flight control technique - PID control in self-leveling mode
  • Single loop PID control theory and experiment
  • Double loop PID (Cascade PID) control theory and experiment


Requirements:

  • Korean voice, English captions.
  • MH-FC V2.2 flight controller is required!! (If you don't have it, you can't proceed!! You can purchase it by contacting me)
  • You must purchase the drone components yourself. Check the attached file on the chapter 0-1. Introduction of hardware components.
  • Windows PC and STM32CubeIDE. (Not supported MAC or linux, etc.)
  • C programming language novice or intermediate level required.
  • STM32F4 or any type of microcontroller (MCU) development experience required.
  • Basic circuit knowledge required. (But not essential)


Description:



※ Supports Korean voice, English captions. (English captions will be sequentially uploaded. Total 23 of 52 done.)※ All texts in the course materials are written in Korean. (Course materials and schematics are not provided.)※ Before purchasing this course, please watch chapter 0 and 1 overview.※ Please check the hardware component list file attached in chapter0 video.※ MH-FC V2.2 is needed to take STM32 Drone Programming course. It is now on sale. Contact us via E-mail. [email protected] you want to build your own high performance drone flight controller with arm cortex micro-controller?Do you want to add specific functions to your drone?Is it too difficult to develop drones using the open-source such as ArduPilot or PX4?→ Here is the easiest way in the world to make your own drone flight control system firmware!!→ You can build high-performance STM32 flight control system with this course!!This is the only course that explains how to build the flight control system for high-performance self-made drone using STM32 with STM32CubeIDE, a free IDE. Since we implement everything from GPIO, sensor interface to motor drive and PID control NOT USING OPEN SOURCE SW/HW SUCH AS PIXHAWK, ARDUPILOT OR PX4, you can learn and understand all the development processes of drone control system and embedded system.I will explain all source code and hardware assembly methods step by step so that even non-majors and beginners can easily follow this course. If you follow all of this course, you can make your own drone flights stable like other commercial products that you developed yourself.Unlike other drone development courses, this course focused on the embedded system development process in firmware level.It is the easiest way to understand the process of developing a drone flight control system because it implements all the functions one by one without using open source.Moreover, the performance of the drone developed in this lecture is not inferior to that of commercial products such as pixhawk and ardupilot, so it can be applied to research and industrial applications beyond simple educational drones. Also, the MH-FC V2.2 can be applied not only to drones, but to all moving unmanned vehicles, so it can be applied to systems like unmanned vehicles!MH-FC V2.2 designed by M-HIVE is required to take this course!!! Contact me via E-mail. [email protected]- The price of MH-FC V2.2: $199 → $149 USD. $50 off until website open.- Shipping fee: $30~$60 USD.- Payment fee: $10 USD.- Customs tax or other taxes may be charged depending on the country.You must purchase the drone components yourself. Check the attached file on the chapter 0-1. Introduction of hardware components. It is recommended to purchase the same products on the list. (Note: If the parts are different, they may not work as course!)The lecture consists of 3 parts and 12 chapters. (51 videos)In Part 1. Flight control system development fundamentalsCH1. Setting up the development environment for STM32 embedded systemsCH2. Sensor interface - BNO080 9-axis sensor, ICM-20602 6-axis sensor, LPS22HH barometric pressure sensor (SPI)CH3. GPS data receiving and parsing - NEO M8N (UART)CH4. Transmitter and receiver, data receiving and parsing - FS-i6 transmitter, FS-iA6B receiver using i-Bus serial protocol (UART)CH5. Drone assembly (QAV210 frame)CH6. BLDC motor drive - Oneshot125 PWM protocol (TIM-PWM)In Part2. Communication and add-on functionsCH7. Add-on functions - EEPROM interface(I2C), battery voltage checker(ADC), BNO080 calibration, gyro offset removalCH8. Radio data transmission (FC↔GCS) (Transmitting drone status information and receiving control parameters, how to use Ground Control Station for this course)CH9. Safety functions - Fail-safe motor force stop and low battery alarm for safetyIn Part3. Flight Control using PID ControlCH10. Preparation for PID controlCH11. Roll, pitch control (Cascade PID)CH12. Heading control (Single PID)In this course, the STM32F405 Cortex M4 microcontroller is used as a main processor, the BNO080 9-axis and ICM-20602 6-axis sensor for attitude control, the LPS22HH barometric pressure sensor for altitude control. It also covers receiving ublox M8N GPS data for outdoor automatic flight. (However, altitude control and GPS control are not covered in this course)The purpose of this course is to develop a high-performance drone flight controller, but it explains embedded system development process in more depth.This course explains from sensor data interface, which is the most basic step for drone flight, to PID control for attitude control.The process for developing embedded applications is intensively explained, and they are combined to complete the drone flight control system.I will always do my best to provide informative video lectures.- M-HIVE ChrisP


Who this course is for:

  • Those who want to build the entire drone control system step by step, from sensor interface to the flight control
  • Those who want to develop embedded application programs using STM32
  • Anyone who want to build your own unique drone flight controller
  • Students majoring in electronics, communication, control, mechanics, and dynamics
  • Those who want to experience the embedded system development process
  • Engineers who want learn sensor interfaces and various message protocols such as UBX, i-bus(similar with s-bus)
  • Those who want to jump up from Arduino or 8bit to 32bit MCU
  • Those who want to learn the basic principles of PID control and implement their own operation
  • Those who want to practice high-level embedded projects
  • Drone-related research institutes and educational institutions
  • Those who are working on projects related to unmanned vehicles
Author
Satoru Gojo
Downloads
62
Views
1,096
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Satoru Gojo