I’m a 3rd-year Electrical Engineering student doing a personal challenge: 100 Days → 100 IoT Projects using MicroPython, ESP32, ESP8266, and Raspberry Pi Pico.
The goal is to create free, practical embedded systems learning resources so students don’t have to rely only on theory. So far I’ve built dashboards, sensor systems, displays, and reusable MicroPython tools like MicroPiDash and MicroPythonSevenSeg.
Hardware costs add up quickly (boards, sensors, displays), so I’ve enabled GitHub Sponsors. If this repo helps you or you care about open-source education, even small support helps me continue documenting and building in public.
Totally optional—stars, feedback, and contributions are just as valuable. Thanks for reading 🙏
MicroPico keeps throwing this error whenever I plug my ESP8266 running MicroPython on it. I'm using the VS Code extension. It works on my Linux machine running Debian 12, but not on my Windows 11 machine. Please help!
Just finished an end-to-end IoT gas monitoring project using ESP32, MQ sensor, Flask backend, and Chart.js dashboard. Added moving-average anomaly detection for SAFE/DANGER prediction. Would love feedback on improving the AI logic and real-time architecture. GitHub: https://github.com/kritishmohapatra/100_Days_100_IoT_Projects
If this project helped you, please consider starring the repository.
For sustained development and educational content, sponsorships are welcome via GitHub Sponsors and Buy Me a Coffee.
Hi, micrOS main interface is socket (terminal like experience), it is way more light weight than http, but seeking the best integration I have built a web engine too (can be turned on in micrOS settings)
Even you can create / edit application code (or any text) on the device itself :) very flexible, right? 😊
As you may know micropython has its light weight package manager (mip). I have extended the capabilities of that to be able to easily install/delete/upgrade packages on micrOS platform.
I am trying to run a web page asynchronously on an ESP32 using MicroPython. Along with the webpage, which will allow me to turn a relay on, on demand, I want to run a timed function which turns the relay on, every morning at 08:00.
I am using an ESP32 Dev board with CP2102 USB chip, DS1307 RTC and 5V relay.
When I run the code in the REPL, I can see the "run_relay_timer(), but none of the other debugging output
The web server debugging output is not showing either, nor can I connect to http://192.168.10.130 (the DHCP IP assigned to this ESP32)
Looking at the REPL in Thonny, the run_rrelay_timer() runs, but not the run_web_page()
import asyncio
import esp
esp.osdebug(None)
import time
import urtc
from machine import I2C, Pin
set_hour = 15
set_time = 30
relay = Pin(4, Pin.OUT)
led = Pin(2, Pin.OUT)
relay.value(0) # Start OFF (active low)
def web_page():
if relay.value() == 0:
print("Relay value: ")
print(relay.value)
relay_state = ''
else:
relay_state = 'checked'
html = """<html><head><meta name="viewport" content="width=device-width, initial-scale=1"><style>
Started building this a couple of years ago. It takes an async-first approach with yielding behavior.
Static route declaration
Static async task declaration with API for runtime interrupting/restarting
Built-in HTML templating engine with value injection and logic execution at runtime
HTML form parsing
Dynamic settings module to allow for runtime settings changes
Pure MicroPython with no external dependencies.
Allows you to serve a web interface over local network via WLAN and easily add/run/interrupt mundane tasks without multithreading.
Open to feedback. I'm not a professional programmer so any/all criticism will be viewed as constructive. I use this in my daily life and am always looking to improve it.
I am a newbie just trying to get started. My pyboard has PYBFLASH(D) where main.py is located and will execute various blink LED programs so I know the board is OK. I plugged in a micro SD card on which I copied a new main.py from my host laptop but the pyboard won't boot up from the SD card. The file manager on my laptop (WIN 11) sees the PYFLASHH(D) on the pyboard but not the SD card. The main.py was generated on Notebook and saved on the SD card. Does the SD card have to be initialized in some way? If so, how to do that on my laptop?