Building a sourdough monitor that measures the temperature, humidity and distance of a sourdough starter. This is a personal project that demonstrates my skills as well as my motivation and passion for programming. I am using an ESP32 device and programming it using MicroPython on the VSCode IDE with the PyMakr extension. My final goal is to to send the data to a website and visualise the ideal state of growth of a sourdough starter.
- ESP32 NodeMCU
- DHT22
- HCSR04
- female-male jumper
- led light
- Download micropython firmware (.bin folder)
- Connect Esp32 to computer (while connecting hold boot button. This will reset microcontroller)
- Flash Micropython on devise
- Clone the repository
- Make sure you have the latest Python version
- Install latest Node version
- Install PyMakr extension in code
- Open Project:
in search panel
- Install venv:
python3 -m venv venv
- Run venv:
source venv/bin/activate
Micropython has its own package manager mip
# set up package manger
Import mip
# list all files on devise
uos.listdir()
The following dependency have to be installed manually on the microcontroller directly.
# install library
mip.install ("dht")