002-Python reading Arduino - STM32 Serial data using Graphic User Interface GUI Tkinter & threading

Опубликовано: 26 Март 2025
на канале: WeeW - Stack
25,457
528

Welcome to this new WeeW - Stack tutorial,

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

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

If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel

My Amazon.com shop:
BluePill (STM32F103C8) : https://www.amazon.com/dp/0997925949/...

In this tutorial we are going to learn and setup from scratch a GUI with a munu to select COM & Baud unsing Python and a Serial data from a microcontroller (Arduino, STm32, PIC, ...) using the Tkinter and threading library so we can keep the main thread not busy

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

00:00 - The project

01:02 - Tutorial Overview

04:08 - Quick circuit & program review

05:40 - Setup initial basic graphics

23:38 - Update available COMs & Baude rate

39:32 - Serial connection setup

1:00:07 - Dynamic GUI update

1:29:44 - Testing & Debugging

Python:
001- Using Python to read Serial data from Arduino / STM32 using threading and curses libraries:    • 001- Using Python to read Serial data...  

tutorials to get data from STM32F1:
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