Hands-On Project with FreeRTOS: Building an MQTT Protocol Stack from Scratch

Hands-On Project with FreeRTOS: Building an MQTT Protocol Stack from Scratch

Last year, many students sent private messages asking when the FreeRTOS course would be available.
After a year of preparation, today, it has arrived!
The released course not only includes Q&A and materials but also provides a complete set of hardware!
Project Highlights
Joining FreeRTOS, even without a background in operating systems, you will understand it;
Writing the MQTT Protocol Stack, instead of using an open-source MQTT server, we will develop our own.
Project-Oriented
The course is project-oriented, and every knowledge point involved will be elaborated, suitable for STM32 beginners and those lacking practical project experience.
The course consists of four modules:

Module 1: PCB

Module 2: Embedded STM32

Module 3: Handwriting MQTT Server

Module 4: Developing MQTT Client

PCB
Based on the STM32F411 core board, drawing the bottom board schematic and PCB, adding a display and peripheral sensors.
Embedded Content
1. STM32 Bare-Metal Teaching:
  • Based on HAL library;
  • GPIO configuration and usage;
  • Interrupt system;
  • General timers, tick timers, and PWM signals;
  • Serial transmission and reception;
  • I2C bus, single bus;
  • ESP8266 IoT module;
  • JSON MQTT
2. FreeRTOS Project Teaching
  • Porting the FreeRTOS operating system;
  • Task creation and scheduling;
  • Heap and stack memory management;
  • Queues, semaphores, mutexes.
MQTT Cloud Server
The biggest highlight of this project update is the removal of the open-source MQTT server mosquitto, replaced by handwritten MQTT code. Yes, the course will start from scratch, teaching everyone how to develop an MQTT server and thoroughly understand how the MQTT protocol works.
  • Based on C language and epoll high concurrency framework;
  • Handwriting the MQTT protocol stack, implementing connection, publishing, and subscribing;
  • Adding sqlite3 database to store user information.
APP Side
  • QtMqtt development environment setup;

  • Using basic Qt controls;

  • Qt UI design;

  • Qt signal and slot mechanism;

  • QtMqtt subscribe/publish.

Complete IoT Development Process
The course content covers the entire process of IoT development. From hardware design to software development, from low-level drivers to application layer APP.
Most IoT tutorials on the market use ready-made IoT platforms and apps, with a fixed and uniform style, making custom development impossible. However, with our course, everything is built from scratch.
Complete Set of Hardware Provided
Students who have tried STM32 development should have experienced that the development boards of the F4 series on the market are very expensive, often costing five to six hundred, and if you add a screen, it could exceed a thousand. Therefore, this time we have self-developed the bottom board, purchased in bulk, and reduced the cost to the lowest.
The course includes a complete set of hardware:
  • STM32F4 series core board

  • Self-developed bottom board

  • BH1750 light sensor

  • ESP8266 WiFi module

  • DHT11 temperature and humidity module

  • OLED

  • DAP downloader

  • Necessary Dupont wires

Ready to use.
Course Services
One-on-one tutoring and Q&A with the instructor, not teaching assistants, not group chats.Teaching assistants lack professionalism, and group chats are chaotic; you can’t get to the core of the problem.
After completing the project, employment guidance is provided. The instructor will modify each student’s resume based on their actual situation and provide answers to common interview questions related to the project. After the interview, a summary and review of each interview will be conducted.
The course can be used for employment, as well as for graduation projects and competitions during school.
If you want to learn STM32 and RTOS, but feel that the courses on the market are only discussing scattered knowledge points and are dull, then you might as well scan the code and listen. A complete course that not only masters various knowledge points of STM32 but also accumulates project experience is worth it.
Long press to recognize and start the trial👇

Hands-On Project with FreeRTOS: Building an MQTT Protocol Stack from Scratch

Hands-On Project with FreeRTOS: Building an MQTT Protocol Stack from Scratch

Leave a Comment

×