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

Опубликовано: 29 Март 2025
на канале: WeeW - Stack
18,758
303

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 the communication with Python and a Serial data from a microcontroller (Arduino, STm32, PIC, ...) using the threading library so we can keep the main thread not busy

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

00:00 - Where we go

01:22 - Tutorial Overview

03:21 - Quick circuit & program review

05:00 - Get The serial data

08:18 - Build the Curses

14:55 - Add the Threading

24:34 - Make the sampling

tutorials to get data from STM32F1:
070-STM32F1 Analog to Digital Converter ADC setup and result visualization:    • 070-STM32F1 Analog to Digital Convert...  
012 - STM32F1 GPIO INPUT OUTPUT LIBRARY FROM SCRATCH:    • 012 -  STM32F1 GPIO INPUT OUTPUT LIBR...  
020 - STM32F1 DELAY FUNCTION & SYSTICK :    • 020 - STM32F1 DELAY FUNCTION &  SYSTICK