No description
Find a file
2025-12-26 22:44:43 +01:00
.gitignore 🙈 add .gitignore 2025-12-26 22:44:20 +01:00
bme280_float.py first commit 2025-12-05 23:31:49 +01:00
config.sample.py reconnect if WiFi if lost and make sensor values configurable 2025-12-19 22:14:16 +01:00
main.py 🥅 catch errors 2025-12-26 22:44:43 +01:00
README.md 📝 update Readme 2025-12-19 22:32:31 +01:00

ESP32 + BME280 sensor

Written in MicroPython. Reads temperature, humidity and barometric pressure. Sends it to a MQTT broker. InfluxDB will be added soon.

Installation

  • Download MicroPython here
  • Then flash it to your microcontroller, ESP32 for example:
esptool.py -p /dev/ttyACM0 erase_flash
esptool.py -p /dev/ttyACM0 --baud 460800 write_flash 0 ESP32_GENERIC_C3-20250911-v1.26.1.bin

Use Thonny (graphical IDE) or ampy (CLI) to flash the files to the microcontroller.

Example with ampy:

ampy --port /dev/ttyACM0 put config.py
ampy --port /dev/ttyACM0 put bme280_float.py
ampy --port /dev/ttyACM0 put main.py