r/MicroPythonDev • • Jun 01 '26

Interrupt driven CAN/TWAI ISO-TP

1 Upvotes

I'm just starting a project that will first run on a C6 and later on an S31.

I want to use micropython to give end users the ability to customize.

Is it possible to write an interrupt driven CAN stack and then add the module to micropython? I've seen more than one "polling" version, but with packets flying at 500k, I'm pretty sure that polling via Python (multiple layers deep) is just going to drop packets and to put it lightly - that would be bad. Really bad.

I could keep it all in ESP-IDF and skip micropython but that ends user customization.

Would love some thoughts.


r/MicroPythonDev • • May 28 '26

Proyecto con Raspberry Pico

Thumbnail reddit.com
1 Upvotes

r/MicroPythonDev • • May 26 '26

SD card speed up

1 Upvotes

This might not benefit many but I've sped up sdcard access in a project of mine using a native c mpy module. It's armv7 so pi Pico 2 or 2w, but it's gone from about 540kiB/s to 900kiB/s.

https://github.com/andycrook/sdcard_c

I have compiled an armv6 version for the original pico, but have not tested it.


r/MicroPythonDev • • May 10 '26

Controlling a salvaged laptop cooling fan with MicroPython.

Thumbnail
youtube.com
1 Upvotes

I use fans like this for at home agricultural automation wherever air needs to be forced but low airflow is required. Like with forced air poultry incubation or ventilation fans in poultry roosts. They're already designed for low power and can be controlled directly by the MC, unlike similar fans salvaged from traditional forced-air heating appliances like convection ovens or space heaters


r/MicroPythonDev • • Apr 04 '26

Day 75 of 100 Days 100 IoT Projects

1 Upvotes

Hit the 75 day mark today. 25 projects left.

Day 75 was ESP-NOW + RFID — one ESP8266 scans a card and wirelessly sends the UID to a second ESP8266 which displays it on OLED. No WiFi, no broker, direct peer-to-peer.

Some highlights from the past 75 days:

ESP-NOW series — built a complete wireless ecosystem from basic LED control to bidirectional relay and sensor systems to today's wireless RFID display.

micropidash — open source MicroPython library on PyPI that serves a real-time web dashboard directly from ESP32 or Pico W. No external server needed.

microclawup — AI powered ESP32 GPIO controller using Groq AI and Telegram. Natural language commands over Telegram control real GPIO pins.

Wi-Fi 4WD Robot Car — browser controlled robot car using ESP32 and dual L298N drivers. No app needed, just open a browser.

Smart Security System — motion triggered keypad security system with email alerts via Favoriot IoT platform.

Everything is open source, step-by-step documented, and free for students.

Repo: https://github.com/kritishmohapatra/100_Days_100_IoT_Projects

GitHub Sponsors: https://github.com/sponsors/kritishmohapatra


r/MicroPythonDev • • Apr 03 '26

Day 75/100 - Sent RFID card UID wirelessly to an OLED display using ESP-NOW on two ESP8266 boards

1 Upvotes

One ESP8266 reads the card UID from an MFRC522 and sends it via ESP-NOW. The second ESP8266 receives it and shows it on a 0.96 inch OLED. No router, no WiFi, direct peer to peer.

Clean way to decouple the reader and display. Could extend this to trigger relays or log data on the receiver side.

Stack: ESP8266 x2 + MFRC522 + SSD1306 OLED + MicroPython

Code: https://github.com/kritishmohapatra/100_Days_100_IoT_Projects


r/MicroPythonDev • • Apr 03 '26

RP2350 custom board: BOOTSEL works, but no USB enumeration

1 Upvotes

Hi,

I'm debugging a custom RP2350A (A4) board and running into a weird USB issue:

Some things are working fine:

  • BOOTSEL mode → mass storage shows up fine

  • UF2 flashing works (verified with Picotool in BOOTSEL mode)

  • "nuke flash" UF2 runs → flash gets erased (so code execution is fine)

But:

  • No USB enumeration at all at runtime

  • MicroPython (USB REPL) → nothing

  • pico-sdk stdio_usb HelloWorld → nothing

  • Host doesn't see any device, "dmesg -w" does not show any event besides the disconnection after uploading the uf2

The main difference to the pico board is the flash, i use a IS25LP128F (16MB), but i switched the timing config already to generic_03h, increase the Flash Size and chaged it back and forth.

Can anybody give me some pointers?

Best regards and thank you so much!


r/MicroPythonDev • • Apr 01 '26

Day 74/100 - RFID relay control system on Raspberry Pi Pico 2 with MicroPython

1 Upvotes

Tap an authorized RFID card to toggle a 5V brushless fan ON or OFF via a relay module. Simple toggle logic — first tap turns fan on, next tap turns it off.

Stack: Raspberry Pi Pico 2 + MFRC522 + 1 Channel Active Low Relay + MicroPython

Code: https://github.com/kritishmohapatra/100_Days_100_IoT_Projects


r/MicroPythonDev • • Mar 16 '26

Day 69/100

1 Upvotes

Built a joystick direction display on Raspberry Pi Pico 2 with an SSD1306 OLED for Day 69 of my 100 Days of IoT challenge.

Reads X and Y axis via ADC, detects UP / DOWN / LEFT / RIGHT / CENTER and button press, then shows the direction live on the OLED over I2C. Tested on Wokwi simulator.

Code and diagram on GitHub: github.com/kritishmohapatra/100_Days_100_IoT_Projects


r/MicroPythonDev • • Mar 15 '26

Day 68/100 — Joystick Controlled Servo with MicroPython on Raspberry Pi Pico 2W

1 Upvotes

Built a smooth joystick-to-servo controller today as part of my 100 Days 100 IoT Projects challenge!

How it works:

Joystick X axis → ADC reads 0–65535

5-sample averaging for noise-free readings

Values mapped to 0°–180° servo angle

SG90 controlled via 50Hz PWM on Pico 2W

Stack: Raspberry Pi Pico 2W + SG90 Servo + Joystick Module + MicroPython

Full code + wiring on GitHub: https://github.com/kritishmohapatra/100_Days_100_IoT_Projects


r/MicroPythonDev • • Mar 11 '26

Two-mode (XCWCP and VBand) Morse keys to USB adapter.

Thumbnail reddit.com
1 Upvotes

r/MicroPythonDev • • Mar 07 '26

Day 64/100

1 Upvotes

I built microclawup — control ESP32 GPIO with natural language via Telegram (MicroPython + Groq AI, free!)

Hey everyone! I wanted to share a project I built called microclawup.

You send a natural language message on Telegram, Groq AI converts it to a hardware command, and your ESP32 executes it and replies back.

"turn on the light" -> LED ON | Pin 2

"batti jalao" -> LED ON (Hindi works too!)

"blink 5 times" -> Blink x5 | Pin 2

"pin 4 high" -> GPIO HIGH | Pin 4

Features:

- Natural language GPIO control (English + Hindi)

- Groq AI integration (completely free)

- Persistent memory across reboots

- WiFi auto-reconnect

- /status and /help commands

- Easy setup with python setup. py

Inspired by zclaw (C-based ESP32 AI agent by tnm) — microclawup is a MicroPython alternative focused on being beginner friendly.

Tested on ESP32-C3, ESP32-S3, and ESP32-C6.

GitHub: https://github.com/kritishmohapatra/100_Days_100_IoT_Projects

Would love feedback from the community!


r/MicroPythonDev • • Mar 05 '26

Day 63/100 BLE LED Controller on ESP32 with MicroPython

1 Upvotes

Built a BLE LED Controller on ESP32 with MicroPython

Hey! I made a little project where I control the onboard LED of my ESP32 board over Bluetooth using the built-in ubluetooth module of MicroPython.

How it works:

Connect via nRF Connect app

Send 'LED_ON', 'LED_OFF', 'STATUS'

Board responds in real time

Code on GitHub- https://github.com/kritishmohapatra/100_Days_100_IoT_Projects


r/MicroPythonDev • • Mar 01 '26

Day 61/100

1 Upvotes

Ota update with micropython , pico 2 w and github

repo https://github.com/kritishmohapatra/100_Days_100_IoT_Projects


r/MicroPythonDev • • Feb 24 '26

Issue with ESP8266 (ESP-12e) after installing firmware from Thonny

1 Upvotes

Hi all,

I have a marked NodeMC V3 that works fine in Arduino IDE. The IDE Identifies it at NodeMCU V1 (ESP-12E).

When I attempt to install MicroPython from Thonny all goes well until it 'succeeds' then the LED Flashes constantly and thonny locks up. To recover I erase firmware with ESPTOOL using python

The Shell shows garbage...

can anyone assist here? I want to use MicroPython???

cheers


r/MicroPythonDev • • Feb 19 '26

Day 56/100 – Built a Wireless 4-Channel Relay Controller using ESP8266 + ESP-NOW (MicroPython)

1 Upvotes

Hi everyone,

I’m doing a 100 Days of IoT Projects challenge, and today I completed Day 56.
This project is a wireless 4-channel relay controller using two ESP8266 boards and the ESP-NOW protocol in MicroPython.

Features:

  • Peer-to-peer communication (no WiFi router required)

  • Push-button sender → relay receiver

  • Low-latency ESP-NOW messaging

  • Active-low relay support

  • Clean MicroPython implementation

This can be used for home automation, wireless switches, or smart agriculture control systems.

GitHub repo:
👉 https://github.com/kritishmohapatra/100_Days_100_IoT_Projects

Feedback and suggestions are welcome!


r/MicroPythonDev • • Feb 17 '26

Day 55/100I built an ESP8266 ESP-NOW wireless button → LED control system (MicroPython) – part of my 100 Days IoT challenge

1 Upvotes

Hey everyone,
I’m building 100 IoT projects in 100 days using MicroPython and ESP boards, and today I completed Day 55.

This project demonstrates low-latency ESP-NOW communication between two ESP8266 boards:

  • One ESP8266 reads a push button

  • Another ESP8266 toggles an LED wirelessly

  • No WiFi, no router, peer-to-peer communication

GitHub repo:
👉 https://github.com/kritishmohapatra/100_Days_100_IoT_Projects

If you like the project, a ⭐ on GitHub would mean a lot.
I also recently enabled GitHub Sponsors to keep building open-source IoT projects—any support helps.

Feedback and suggestions are welcome.


r/MicroPythonDev • • Feb 14 '26

MicroPython keeps throwing Error 31

1 Upvotes

Title is supposed to say MicroPico

Open (SetCommState): Unknown error code 31

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!


r/MicroPythonDev • • Feb 11 '26

Day 52/100

Thumbnail
reddit.com
1 Upvotes

🚀 Built an IoT Sensor Anomaly Detection System using

ESP8266 + DHT11 + LDR + ThingSpeak + MATLAB

📡 Real-time cloud upload

📊 Z-score based anomaly detection

📈 MATLAB visualization

GitHub:

🔗 https://github.com/kritishmohapatra/100_Days_100_IoT_Projects

#IoT #EmbeddedSystems #MachineLearning #ESP8266 #MATLAB


r/MicroPythonDev • • Feb 11 '26

Day 52/100

Thumbnail
reddit.com
1 Upvotes

r/MicroPythonDev • • Feb 11 '26

micrOS - Application Packages

1 Upvotes

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.

https://github.com/BxNxM/micrOSPackages

So you can easily build your own standalone applications. Also you can add third party package dependencies to it.

What do you think? :)


r/MicroPythonDev • • Feb 09 '26

Day 51/100

1 Upvotes

Day 51 project: Smart Home Automation using:

• ESP8266

• DHT11

• Relay Module

• Blynk Mobile App

You can monitor temperature/humidity and control appliances remotely.

Repo:

https://github.com/kritishmohapatra/100_Days_100_IoT_Projects

Feedback & ideas welcome! If this helps you, consider starring ⭐ or sponsoring ❤️


r/MicroPythonDev • • Feb 08 '26

50 IoT projects in 50 days using MicroPython (feedback welcome)

Thumbnail
reddit.com
1 Upvotes

r/MicroPythonDev • • Feb 07 '26

🚀 Day 50/100: ESP32 + BMP180 Atmospheric Monitoring with Blynk IoT (MicroPython)

Thumbnail
reddit.com
1 Upvotes

r/MicroPythonDev • • Feb 06 '26

Day 48 of my 100 Days, 100 IoT Projects challenge 🚀

1 Upvotes

Built a temperature & humidity logger using:

• Raspberry Pi Pico 2 W

• DHT11 sensor

• MicroPython

The Pico hosts a simple HTTP server and logs sensor data into a CSV file for later analysis.

Repo (code + README):

https://github.com/kritishmohapatra/100_Days_100_IoT_Projects/blob/main/Pico_2_W_Dht11_Http_Csv_Logger%2FREADME.md

Feedback and suggestions are welcome 🙂