r/MicroPythonDev • • Feb 29 '24

Stupid beginner question.

1 Upvotes

Is it possible to have Micro Python to sign into your Amazon Account? Or any accounts for that matter? I’m trying to come up with a shipping tracking system.

Tutorials would be appreciated. :-)


r/MicroPythonDev • • Mar 12 '24

Has anyone implemented A*, D*, D* Lite algorithms in ESP32? Is it possible to implement these algorithms using micro python in ESP32?

2 Upvotes

r/MicroPythonDev • • Oct 05 '24

Machine Learning on microcontrollers using MicroPython and emlearn [PyCon DE & PyData Berlin 2024]

11 Upvotes

Hi everyone,
I have been working for around 1 year on a Machine Learning library for MicroPython. It is now in a minimally useful shape, and can be found at https://github.com/emlearn/emlearn-micropython/

Earlier this year I gave a presentation at PyData Berlin on how to use this library to implement machine learning models on microcontroller-based systems. This approach, known as "TinyML," enables the creation of devices capable of analyzing and responding to real-world data captured by sensors like microphones, accelerometers, and cameras. You can train models with scikit-learn or Keras, and deploying them on devices using the emlearn library. This can be used for a wide range of sensor-data tasks such as Sound Event Detection, Image Classification, and Human Activity Recognition, et. Video recordng available here: https://www.youtube.com/watch?v=S3GjLr0ZIE0


r/MicroPythonDev • • Sep 29 '24

DIY-Arcade-Machine Using MicroPython, LED Matrix (Hub75) and Joystick (Nunchuck)

6 Upvotes

Hi

I wanted to share a fun project I’ve been working on — a DIY Arcade Machine powered by MicroPython, using the Interstate 75 - RGB LED Matrix Driver from Pimoroni and a 64x64 RGB LED matrix. It features a bunch of retro-inspired games like Simon, Snake, Qix, Breakout, Tetris, Asteroid, and Pong, all playable on a colorful LED Hub75 matrix display.

The project is fully open-source, and I’ve put together detailed instructions and code for anyone who wants to try building their own arcade machine at home. It’s a great way to dive into MicroPython, play around with some classic games, and even do some DIY hardware work. If you don’t have the hardware, I’ve also built a PyGame branch so you can simulate the games on your computer.

Key Highlights:

  • MicroPython-based project with an RGB LED matrix display and joystick controls.

  • 7 classic games: Simon, Snake, Qix, Breakout, Tetris, Asteroid, and Pong.

  • Detailed guide available with all the hardware and software requirements.

  • Short video showing the arcade machine in action.

If you’re interested in retro games, LED matrices, or working with MicroPython, this might be something fun to explore. I’d love to hear your thoughts!

You can check out the full project on the GitHub Repo.

Happy coding and gaming!


r/MicroPythonDev • • Oct 11 '25

Automating grow

2 Upvotes

Hello my friends!

I'm making an automation for my grow plants. Now, I'm controlling temperature with fans and exhaustor, humidity with humidifier and desumidifier, soil moisture with sensors and water pumps and the lighting per hour.

Furthermore, reading electrical values (voltage, current, frequency, etc)

In your opinion, how more things can I apply in this project?

After I finish the project, I can share de codes :)

Thank you so much!


r/MicroPythonDev • • Dec 02 '25

Searching Firmware for ESP32-S3 CAM

Thumbnail
gallery
51 Upvotes

I recently purchased the ESP32-S3 CAM DEV module with an OV5640 camera and would like to start working with MicroPython/CircuitPython, but I can't find a compatible firmware.

Can you help me find one? Thank you.


r/MicroPythonDev • • Dec 19 '25

Microtest - A small test framework

8 Upvotes

Hi,

I have created a very small test framework for micropython. It is tested on a ESP32. Please provide feedback. Any features you would like?

https://gitlab.com/Bremer/microtest

Remember, the whole idea is to keep it small.

Thanks!


r/MicroPythonDev • • May 18 '26

MicroPython VS Code Extension with MCP-Based File System and Code Execution Tools

Thumbnail
marketplace.visualstudio.com
4 Upvotes

I was working with MicroPython on ESP32-S3-WROOM-1 and faced repeated friction with uploading code, editing files directly on the device, downloading files from the MCU, testing code, and quickly experimenting with new features. To reduce this friction, I built a VS Code extension with a local MCP server between the extension and AI agents like Copilot/Codex. The goal is simple: the AI should not guess how to connect to a board, upload code, create files/folders, run code, or read device files. These actions are exposed as registered tools, so the user can give a normal prompt and the agent can perform the workflow through the extension. Disclosure: I built this extension.I’m sharing this for feedback from MicroPython users, especially around file upload, run, and device file editing workflows.


r/MicroPythonDev • • Aug 23 '25

Sensor data processing for scientific applications with MicroPython (EuroSciPy 2025)

9 Upvotes

Hi all. Here is a recent presentation I did about MicroPython. It covers Wireless Sensor Networks, and the emlearn-micropython library for Digital Signal processing and Machine Learning on-device.

Video link: https://www.youtube.com/watch?v=VmVQu9cygMI


r/MicroPythonDev • • May 19 '24

i created a smart sit stand desk firmware

Thumbnail
gallery
13 Upvotes

Transformed a broken Ikea Skarsta sit-stand table into a smart, customizable workstation using Raspberry Pico W and MicroPython. Integrated hardware components like sensors, displays, and actuators using 3D printed enclosures and mounts.

Developed firmware with advanced motor control, wireless connectivity, and more leveraging MicroPython's capabilities on the Pico W board.

Documented the entire process here https://youtu.be/PKzvHBzcGJ4


r/MicroPythonDev • • Jul 21 '26

ICYMI Python on Microcontrollers Newsletter: MicroPython in a Eurorack and on Super Nintendo, Plus More!

Post image
1 Upvotes

If you missed this week’s Python on Microcontrollers Newsletter, here is the ICYMI (in case you missed it) version.

To never miss another issue, subscribe now! – You’ll get a terrific newsletter each Monday (which is out before this post). 12,353 subscribers worldwide!

The next newsletter goes out Monday morning and subscribing is the best way to keep up with all things Python for hardware. No ads or spam, no selling lists, leave any time.

Read it free on the Adafruit Blog - direct link https://blog.adafruit.com/2026/07/21/icymi-python-on-microcontrollers-newsletter-micropython-in-a-eurorack-and-on-super-nintendo-plus-more/


r/MicroPythonDev • • Aug 07 '26

I ran MicroPython and CircuitPython on this ESP32-S3 based screen from DFRobot (the model is a DFR0997)

Thumbnail gallery
3 Upvotes

r/MicroPythonDev • • 4d ago

I built my own PicoDesk using a Raspberry Pi Pico 2 W!

Thumbnail
gallery
12 Upvotes

Hey everyone!

I've been working on improving my little PicoDesk project, and this weekend I finally put together a new hardware setup using the Raspberry Pi Pico 2 W and a zero PCB.

The setup currently features:

  • Raspberry Pi Pico 2 W as the main controller.

  • Dual OLED displays for displaying different information.

  • A compact DIY hardware layout.

This is a small personal maker project, and I'm really enjoying experimenting with MicroPython and embedded hardware.

It's not a polished commercial product, but I'm happy with how it's coming together!

GitHub: https://github.com/kritishmohapatra/PicoDesk

Would love to hear your suggestions, feedback, or ideas for features I could add next!

Thanks!


r/MicroPythonDev • • May 07 '25

Creating custom-class USB device - easy way with MicroPython - update

7 Upvotes

One year ago I posted info about creating an own USB class in Micropython: https://www.reddit.com/user/WZab/comments/1btx5vo/creating_customclass_usb_device_easy_way_with/ . Now I returned to that topic and found that the current Micropython enables creating own USB classes without using experimental micropython-lib.

The only modification that I had to do was adding:

require("usb-device")

at the end of the ports/rp2/boards/manifest.py .

Of course, if one wants to use the originally provided classes, the lines below should be added as well:

require("usb-device-cdc")
require("usb-device-hid")
require("usb-device-keyboard")
require("usb-device-midi")
require("usb-device-mouse")

Additionally, my code (provided in the previous post) should by modified by replacing:

from usb.device.impl import Interface, Buffer, split_bmRequestTypefrom usb.device.impl import Interface, Buffer, split_bmRequestType

with

from usb.device.core import Interface, Buffer, split_bmRequestTypefrom usb.device.impl import Interface, Buffer, split_bmRequestType

r/MicroPythonDev • • Feb 27 '26

Day 60/100 Student Management System using ESP

2 Upvotes

Built a Student Management System on ESP32 using MicroPython

Recently, I have completed a project on creating a fully functional student management system on an ESP32 microcontroller.

What the project does:

Add, Edit, and View student management system using Serial Monitor commands.

Live display on SH1106 OLED display (List View and Detail View).

The system also supports persistent storage using LittleFS and ujson libraries.

The system supports up to 1000 student records.

Tech Stack:

ESP32 Microcontroller.

MicroPython.

SH1106 OLED Display.

LittleFS Library.

ujson Library.

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

If you are interested in sponsoring this project or want to support future open-source work on embedded systems, feel free to reach out to me.

I would be happy to hear from you if you have any questions or want to know more about the project.

#MicroPython #ESP32 #EmbeddedSystems #IoT #OpenSource


r/MicroPythonDev • • Aug 23 '26

Swervo/ Joystick Project....Terminal coming back blank

3 Upvotes

Im quite confused, ive spent the night learning about the ESP32 pinout and all the different things about the modules i need, such as duty, frequency, what all the abbreviations mean, etc.

im now stuck at the end of it (i think).

import machine
from machine import PWM, ADC, Pin



#OUTPUT SWERVOS 
axis_1 = PWM(Pin(4, Pin.OUT), freq=50, duty_u16 = 32768)
axis_2 = PWM(Pin(5, Pin.OUT), freq=50, duty_u16 = 32768)
axis_3 = PWM(Pin(6, Pin.OUT), freq=50, duty_u16 = 32768)
axis_4 = PWM(Pin(7, Pin.OUT), freq=50, duty_u16 = 32768)
gripper = Pin(15, Pin.OUT)


#THE Gripper Buttons
button_close = Pin(1, Pin.IN)
button_open = Pin(9, Pin.IN)


#The Potentiometers on the two joysticks
p_1 = ADC(Pin(16, Pin.IN))
p_2 = ADC(Pin(17, Pin.IN))
p_3 = ADC(Pin(18, Pin.IN))
p_4 = ADC(Pin(8, Pin.IN))




while True:
    print(p_1.read_u16(), "     ",p_2.read_u16(), "     ", p_3.read_u16(), "     ", p_4.read_u16())import machine
from machine import PWM, ADC, Pin



#OUTPUT SWERVOS 
axis_1 = PWM(Pin(4, Pin.OUT), freq=50, duty_u16 = 32768)
axis_2 = PWM(Pin(5, Pin.OUT), freq=50, duty_u16 = 32768)
axis_3 = PWM(Pin(6, Pin.OUT), freq=50, duty_u16 = 32768)
axis_4 = PWM(Pin(7, Pin.OUT), freq=50, duty_u16 = 32768)
gripper = Pin(15, Pin.OUT)


#THE Gripper Buttons
button_close = Pin(1, Pin.IN)
button_open = Pin(9, Pin.IN)


#The Potentiometers on the two joysticks
p_1 = ADC(Pin(16, Pin.IN))
p_2 = ADC(Pin(17, Pin.IN))
p_3 = ADC(Pin(18, Pin.IN))
p_4 = ADC(Pin(8, Pin.IN))




while True:
    print(p_1.read_u16(), "     ",p_2.read_u16(), "     ", p_3.read_u16(), "     ", p_4.read_u16())

It comes back with no errors, just a blank indention:

>>>

all of my swervos are 270 degree

i might honestly have an issue with screening, but im not sure

im on a HP linux.cinnamon-swapped, in VS Code on MicroPico, ESP32-s3 flashed with MicroPython, not sure that it matters, but it might.

let me know if ive got something wrong up there^^


r/MicroPythonDev • • Apr 23 '26

Day 79/100 — Built a Cyberpunk Smartwatch on a Round GC9A01 Display with MicroPython!

2 Upvotes

After days of debugging SPI pins and fighting display flicker, Day 79 is finally here!

A cyberpunk-style smartwatch face on a 1.28" round GC9A01 240x240 TFT display powered by ESP32, with a full boot animation sequence before showing the clock.

Tech Stack

- ESP32 DevKit V1 + Seeed Xiao ESP32-S3

- GC9A01 1.28" Round TFT (240x240)

- MicroPython

- OpenWeatherMap free API

- NTP time sync

GitHub: github.com/kritishmohapatra/100_Days_100_IoT_Projects


r/MicroPythonDev • • Feb 20 '25

Raspberry pi pico W API project

4 Upvotes

TD;DR - I made a useful wifi-based API to wireleslly control the GPIO of the board: https://github.com/christierson/APICOW

Hi!
I have been working on a couple of projects using the raspberry pi pico W and I got annoyed by the development/testing process where it requires you to upload changes to the code if you want to change the GPIO.

So yeah, this project solves that problem. Instructions on how to use it are in the README, but in short, once it's installed, you'll be able to configure the GPIO of your board over a wifi connection using a Python REPL interface.

It's pretty basic at the moment, and you need to be familiar with MicroPython to properly use it. But I figured that this project will save a lot of time for a lot of you guys either way, especially if you can't be asked to deal with wifi communication yourself.

I really want to further develop this project, but I don't have too much time to dedicate to this so contributions are more than welcome. I would love to see this project grow.


r/MicroPythonDev • • Jun 28 '26

Micropython with USB Host support (ESP32 P4 Nano only)

2 Upvotes

https://github.com/AntacidDT/MPY-with-USBHost/tree/master

This currently only supports ESP32 P4 Nano (Waveshare), and only USB-A works as Host, not USB-C. Ive tested it and it works perfectly.


r/MicroPythonDev • • Aug 24 '26

Today marks the 400th Python on Microcontrollers Newsletter

Post image
3 Upvotes

Today marks the publication of the 400th Python on Microcontrollers Newsletter! Nearly 10 years of providing the best news in the community.

The newsletter is the place for the latest news involving Python on hardware with coverage of Python, CircuitPython and MicroPython. 12,369 readers.

Read more here: https://blog.adafruit.com/2026/08/24/today-marks-the-400th-python-on-microcontrollers-newsletter/


r/MicroPythonDev • • Jan 28 '26

what is the default tool chain and workflow for micropython?

7 Upvotes

what is the default tool chain and workflow for micropython?

I tried using micropython with vscode + various extensions and it wouldn't work

I've tried pycharm + various extensions, and it wouldn't work either, due to extensions being depreciated.

so now I'm using a editor for micro python that I found on the Arduino website, which seems to be working just fine, but is extremely bare-bones.

based on what I can find on google, everyone uses a different IDE and different extensions.

is there a official method that is guaranteed to work?


r/MicroPythonDev • • Jan 09 '25

Does anyone have experience in making a UI for esp32 wroom?

2 Upvotes

I've made a few esp32 projects using micro Python and looking to make an MP3 player with an OLED display. I just haven't been able to find any projects where people have made a UI with an esp32 and just hoping to find out how feasible it actually is before getting to deep. If an esp32 isn't the best micro board for this does anyone have any suggestions on what I should use? Thanks in advance!


r/MicroPythonDev • • Jul 06 '25

Using Thonny & Xiao rp2040 should there be a lib folder on board?

3 Upvotes

Hello,

I'm using Thonny & Xiao rp2040 with micropython, I'm not sure how to set up the file structure on the board. Should there be a lib file with all of the modules/libraries inside (on the board itself)?

Also, should the main program be named main.py?

Sincere thanks for any help.

Tony


r/MicroPythonDev • • Feb 23 '26

Day 58/100 – ESP32 NTP Clock on MAX7219 LED Matrix (MicroPython)

3 Upvotes

Day 58 of my 100 Days, 100 IoT Projects challenge.

Built a WiFi-synced LED matrix clock using ESP32 + MAX7219 in MicroPython.
It syncs time via NTP, applies IST offset, and displays HH:MM on a chained LED matrix. Also prints time on serial for debugging.

Hardware: ESP32, 5x MAX7219 matrix modules
Language: MicroPython

GitHub code & simulation: https://github.com/kritishmohapatra/100_Days_100_IoT_Projects

If you find this useful, a ⭐ on the repo really helps.
I’m also looking for sponsors to support open-source IoT projects and documentation.

Feedback and ideas welcome.


r/MicroPythonDev • • Mar 18 '26

Simulating digital logic circuits using MicroPython on ESP32 — started a new series

2 Upvotes

I started a new open-source series called MicroPython Digital Lab where I simulate digital logic circuits using MicroPython on ESP32 with Wokwi.

The flow is simple — you type inputs via serial monitor, ESP32 drives the gate components in Wokwi, and the LED shows the output in real time. The logic is handled by actual gate components in the simulation, not just software. Every circuit is fully simulated on Wokwi, so anyone can run it instantly in their browser with zero hardware.

The series covers 25 projects across three phases:

  • Phase 1: Logic Gates (AND, OR, NOT, NAND, NOR, XOR, XNOR)

  • Phase 2: Combinational Circuits (Adders, MUX, Decoders, Encoders)

  • Phase 3: Sequential Circuits (Flip-flops, Counters) — clock pulses also driven via serial

Days 01, 02 and 03 are already live — AND Gate, OR Gate and NOT Gate.

GitHub: https://github.com/kritishmohapatra/MicroPython_Digital_Lab

Would love feedback from the community — especially if you think this approach of using MicroPython to teach digital logic makes sense or not.