002-Python Live stream Graphic UI Arduino-STM32:Setup the Serial Connection ( Tkinter - PySerial )

Опубликовано: 10 Февраль 2025
на канале: WeeW - Stack
12,748
182

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 2 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 8 steps and the topic timeline will be as bellow:

00:00 - Trailer

01:03 - Tutorial Overview

02:25 - Setup the connect button “Enable” logic

07:27 - Initialize the Serial Class

10:56 - Setup the Port refresh method

20:25 - Open the serial connection

32:06 - Close the Serial connection

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 (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