003-Python Live stream Graphic UI Arduino-STM32: Communication protocol & STM32 program example

Опубликовано: 04 Октябрь 2024
на канале: WeeW - Stack
6,804
82

Welcome to this new WeeW - Stack tutorial,

A new video for the Python library, where the code is from scratch.

The code that we have reviewed together in the video Download is available on this Github link: https://github.com/weewStack/Python-p...

This is video 3 of the tutorial that create an advanced Serial connection manager with an MCU (Arduino, STM32, PIC...) and allow to add function to manipulate, visualize and save the received data.

This tutorial is divided into 7 steps and the topic timeline will be as bellow:

00:00 - Trailer

00:43 - Tutorial Overview

01:57 - PC / MCU Serial connection 101

04:43 - Communication protocol

08:20 - STM32 serial Manager code (Embedded code)

14:40 - STM32 Message constructor

18:51 - Manual example with Hterm

Previous Video as the same Tutorial:
Python serial communication with MCU-Arduino Tutorial: 001-Setup the Connection User Interface:    • 001-Python Live stream Graphic User I...  
Python User Interface to steam MCU-STM Arduino data: 002-Setup the Connection User Interface Serial:    • 002-Python Live stream Graphic UI Ard...  
Python User Interface to stream MCU-STM Arduino data: 003- MCU Interfacing Logic & STM32 program:    • 003-Python Live stream Graphic UI Ard...  

Python (Some useful link to get other Ideas:
001- Using Python to read Serial data from Arduino / STM32 using threading and curses libraries:    • 001- Using Python to read Serial data...  
002-Python reading Arduino - STM32 Serial data using Graphic User Interface GUI Tkinter & threading:    • 002-Python reading Arduino - STM32 Se...  
003-Python logic to control and read data from Microcontroller for STM32 or Arduino MCU using UART:    • 003-Python logic to control and read ...  

tutorials to get data from STM32F1 and understand how to get ADC data:
070-STM32F1 Analog to Digital Converter ADC setup and result visualization:    • 070-STM32F1 Analog to Digital Convert...  
031 - STM32F1 USART UART SETUP INIT LIBRARY for USART : INPUT the USART and BAUD RATE:    • 002-Python reading Arduino - STM32 Se...  
012 - STM32F1 GPIO INPUT OUTPUT LIBRARY FROM SCRATCH:    / e0jfb