Skip to content

Programie/Microcontrollers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microcontrollers

Various projects for ESP32 microcontrollers using MicroPython.

Project setup

Note: Helper script in this repository requires Docker to execute commands.

Build the Docker image:

./helper.py build-image

Prepare ESP32 microcontroller for MicroPython

Download the latest MicroPython firmware from the MicroPython download page. Use the normal firmware as .bin file.

Write the MicroPython firmware to the ESP32 microcontroller:

./helper.py flash /path/to/downloaded/ESP32_GENERIC.bin

Create a new project

Create a new project folder and symlink the shared files (replace {PROJECT_NAME} with the directory name of the project):

./helper.py create-project {PROJECT_NAME}

Copy project files to ESP32 microcontroller

Sync and reboot the microcontroller (replace {PROJECT_NAME} with the directory name of the project):

./helper.py sync {PROJECT_NAME}

Project configuration

Some projects need some additional configuration like WLAN and MQTT credentials. For that, copy the provided sample.config.py to config.py and modify it.

About

A collection of my ESP32 microcontroller projects using MicroPython

Topics

Resources

Stars

Watchers

Forks