Skip to content

Haghighatbin/SerialCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Serial Check

This test code was written in Micropython (v1.17) to assess the serial connection with stm32/esp32 devices. Tested on WeActStudios F411CE devboard with STM32F411CE and ESP32-WROVER devkitC boards.

Requirements

  • matplotlib==3.5.0
  • pyserial==3.5

Usage

  • Depending on the board you use, rename either the main_esp32.py or main_stm32.py to main.py and transfer the file to the board.
  • On your system open a terminal and enter python3 serialChk.py 20

Note: The value passed as an argument will be used to generate a list of coordinates associated with an astroid-graph as a data-sample on the microcontroller and the list will be returned over serial connection to be plotted. The larger the argument the larger list, hence a larger file, will be generated.
The algorithm establishes a handshake to ensure the integrity of the data being transferred over serial to/from the microcontroller.

License

MIT License

About

Handshaking over serial for STM32/ESP32 devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages