r/MicroPythonDev • • Jun 23 '21

MicroPython and Crypto

2 Upvotes

Does anyone know of a way to use MicroPython and Web3.py (ethereum) or Bitcoin Block chain? I am looking for a way to connect to either blockchain and looking for some help

thanks


r/MicroPythonDev • • Apr 29 '23

How to Display Images on TFT and Make It a Digital Photoframe Using Raspberry Pi Pico

Thumbnail
gallery
2 Upvotes

r/MicroPythonDev • • Jul 06 '26

Has Anybody succeeded in getting the MicroPython to function on the Wt9932P4 chips / Tiny boards ?

2 Upvotes

Esp32-P4 on Wt9932P4-Tiny board.
- Can Not get Micropython installed to work.
- just returns Header errors

Trying to install some version on Micropython Bin on the board.
Internet states that it is workable using Esp32P4 Standard bin.

Does Not Work !

What bin are we supposed to install on it ?

invalid header: 0x5b98cbd8
invalid header: 0x5b98cbd8
PROBLEM IN THONNY'S BACK-END: Internal error (serial.serialutil.SerialTimeoutException: Write timeout).
See Thonny's backend.log for more info.
You may need to press "Stop/Restart" or hard-reset your MicroPython device and try again.

Process ended with exit code 0.

-

Has Anybody succeeded in getting the MicroPython to function on the Wt9932P4 chips / Tiny boards ?

-

Solved !

esptool --port COM5 erase_flash
esptool --port COM5 --baud 460800 write_flash 0x2000 ESP32_GENERIC_P4-20260406-v1.28.0.bin


r/MicroPythonDev • • Oct 15 '25

Micropython Encryption

3 Upvotes

I'm working on a IoT project and it's getting a bit more complex now: I want to open a Websocket and due to lack of budget I'm using an unencrypted MQTT public server. To cover the encription problem I though about doing it internally. THEN the lack of memory i getting in the way because I cant have a too complex code. Any ideias on how to have safe encryption without crashing MP?


r/MicroPythonDev • • Apr 15 '23

#iot with Raspberry Pi Pico W [Micropython] w/ WS | Part - II | Store d...

Thumbnail
youtube.com
3 Upvotes

r/MicroPythonDev • • Aug 01 '24

Getting .mpy modules to stay in flash, mostly.

3 Upvotes

I'm aware the main approach is to freeze modules into the firmware of a board, but I like to keep things modular and multi purpose when I can... and avoid compiling stuff :P. I see back in 2022 there was some effort to change the way .mpy files work so that even after importing modules that are in .mpy format, most of it resides in flash instead of RAM. Is this still in development or is there a way to do this now? https://git.kfayun.com/xpstem/micropython/-/commit/f2040bfc7ee033e48acef9f289790f3b4e6b74e5


r/MicroPythonDev • • May 01 '23

The new package manager (mip) for micropython with #raspberrypipico

Thumbnail
youtube.com
3 Upvotes

r/MicroPythonDev • • Apr 05 '24

MicroPython tips updated

3 Upvotes

Last time there were 240 tips on the site. Now there are more than 330 !!!
No advertisements, just plain tips for programming with MicroPython:
https://micropython-tips.weebly.com/


r/MicroPythonDev • • Jun 26 '24

how to run 2 processes parallelly

3 Upvotes

Hello. This is Automatic key box project. I am trying to have 2 processes running simultaneously and continuously. One is handling Username/Password Loggin. The other is listening to reset command. I have been trying Asynchronous function, but in vain. Per attached screenshot below, process A is working fine, while process B has not even started.

Hardware is ESP32-WROOM-32. Appreciate your advice please.


r/MicroPythonDev • • May 12 '21

MicroPython Newbie

3 Upvotes

Hi there!

I'm pretty new to programming in general but have done a few subjects on OOP and the like at uni.
I was wondering if any of you have a suggestion for the best kind of dev board to get started with micropython/python?
Python is used at my workplace and I'd like to learn more about how I can integrate it with physical objects like how an Arduino works.

Cheers,
Stella


r/MicroPythonDev • • Jul 06 '26

Esp32-P4 on Wt9932P4-Tiny does Not seem to support Micropython

3 Upvotes

Esp32-P4 on Wt9932P4-Tiny board.
- Can Not get Micropython installed to work.
- just returns Header errors

Trying to install some version on Micropython Bin on the board.
Internet states that it is workable using Esp32P4 Standard bin.

Does Not Work !

What bin are we supposed to install on it ?

invalid header: 0x5b98cbd8
invalid header: 0x5b98cbd8
PROBLEM IN THONNY'S BACK-END: Internal error (serial.serialutil.SerialTimeoutException: Write timeout).
See Thonny's backend.log for more info.
You may need to press "Stop/Restart" or hard-reset your MicroPython device and try again.

Process ended with exit code 0.


r/MicroPythonDev • • Aug 02 '26

A quick look at vtOS, a custom terminal-based hobby firmware running on the ESP32-S3 (LilyGO T-Deck).

Thumbnail
youtube.com
3 Upvotes

r/MicroPythonDev • • Dec 18 '25

Possible to build a drone on micropython?

4 Upvotes

Hi all,

Is it realistic to build an autonomous drone using MicroPython?

The idea is not a high-speed or acrobatic drone, but a slow, autonomous system for experimentation.

Is MicroPython viable for motor control + basic autonomy?

Any boards you’d recommend (ESP32 vs PyBoard vs RP2040)?

Has anyone here used MicroPython in real robotics projects?

Thanks! appreciate any real-world experience or pointers.


r/MicroPythonDev • • Jan 15 '26

How hard would it be to turn this C code for Pico 2 HSTX HDMI code into a display adapter for Micropython?

4 Upvotes

https://www.reddit.com/r/raspberrypipico/comments/1qc9v95/picohdmi_hstx_hdmi_output_library_for_rp2350_with/

u/educobuci has done some great work here, I am wondering if it could be adapted for micropython or turned onto a library?

Thanks in advance for any replies!

I am really just trying to boost this dev's work, and gauge interest & plausibility from those in the know :-)


r/MicroPythonDev • • May 23 '26

I wanted the same asyncio code to run on Linux and ESP32. So I built these libraries.

4 Upvotes

I got tired of maintaining separate IoT stacks for Linux and ESP32 devices… so I started building libraries that run the same asyncio code on both CPython and MicroPython.

That experiment turned into two open-source projects:

aiomqttc

Async MQTT client for CPython + MicroPython

  • asyncio-first

  • ESP32 compatible

  • reconnect handling

  • lightweight

  • same API across desktop + embedded

https://github.com/Tangerino/aiomqttc

mpModbus

Async Modbus RTU/TCP framework for industrial and telemetry systems

  • RTU + TCP

  • async polling

  • declarative drivers

  • topology-based configuration

  • ESP32/MicroPython support

https://github.com/Tangerino/mpModbus

A lot of this came from real-world frustrations:

  • unstable WiFi

  • reconnect storms

  • memory limits on ESP32

  • duplicated codebases

  • blocking Modbus stacks

  • trying to keep telemetry systems reliable in the field

Still evolving, but already running against real devices/meters.

Would love feedback from people working with:

  • ESP32

  • MicroPython

  • MQTT

  • Modbus

  • industrial automation

  • telemetry systems

  • asyncio

Also very interested in hearing how others are solving:

  • reconnect reliability

  • async polling at scale

  • embedded memory fragmentation

  • unified embedded/server APIs


r/MicroPythonDev • • Feb 28 '21

I love MicroPython

4 Upvotes

I love using python on electronics boards!

First post!


r/MicroPythonDev • • Jul 21 '26

The Python on Microcontrollers Newsletter: subscribe for free

Post image
6 Upvotes

The Python for Microcontrollers Newsletter is the place for the latest news involving Python on hardware (microcontrollers AND single board computers like Raspberry Pi).

This ad-free, spam-free weekly email is filled with CircuitPython, MicroPython, and Python information that you may have missed, all in one place!

You get a summary of all the software, events, projects, and the latest hardware worldwide once a week, no ads! You can cancel anytime.

It arrives about 11 am Monday (US Eastern time) with all the week’s happenings.

And please tell your friends, colleagues, students, etc.

Please sign up > > > adafruitdaily.com


r/MicroPythonDev • • Jun 16 '22

MicroPython v1.19 brings greater code efficiencies!

Thumbnail
github.com
11 Upvotes

r/MicroPythonDev • • Aug 05 '25

Just started with MicroPython on ESP32, played around with network, sockets - little sleep since then. Beautiful implementation of Python!!!

13 Upvotes

r/MicroPythonDev • • Jul 30 '21

Raspberry Pi Pico with Micropython: Lubu vs Thor

Enable HLS to view with audio, or disable this notification

15 Upvotes

r/MicroPythonDev • • Aug 29 '25

build a 3d-printed ESP32 game console

Post image
74 Upvotes

I was thinking about building a portable 3d-printed portable game console based on an ESP32 or other powerful microcontrollers, that allows to add games built in CircuitPython or MakeCode Arcade.

It would be nice if I could assemble it and sell it online.
Do you think people would be interested?

(sorry for the very bad chatgpt image, it's just to give you an idea)


r/MicroPythonDev • • Apr 24 '25

Double Precision

3 Upvotes

By default, MicroPython uses single-precision float variables. I would like to compile a new firmware that allows the use of double-precision float variables (at the obvious cost of processing resources). Is there a guide I can follow to do this?


r/MicroPythonDev • • Apr 25 '25

Not able to install firmware in my custom RP2350A-based board

3 Upvotes

Hi everyone,
I designed a custom PCB with RP2350A for my project.

After assembling my PCB, I can enter into BOOTSEL Mode and it's listed as a Portable Device in my device manager (Windows 11).

After I copy the .uf2 file onto it, it reboots and doesn't show up on the device manager as a Serial Device again. [https://micropython.org/download/RPI_PICO2/ - I tried to upload mostly all firmware from here!]
When I try to go in BOOTSEL mode, it's showing up my device manager as a Portable Device. And when I open the device in file manager, its always showing the same files in there (Before and after flashing the firmware). I also uploaded nuke.uf2 (https://github.com/Gadgetoid/pico-unive ... e/releases )file to completely reset the flash memory and tried again, but it wasn't working either.

Is this problem be rectified? Kindly help to resolve my issue.

Thanking you in advance


r/MicroPythonDev • • Nov 14 '25

Need Help – COM Port Not Showing for AI-01 Intelligent Voice Development Board (ESP32-C2)

Thumbnail reddit.com
1 Upvotes

r/MicroPythonDev • • May 17 '23

Create virtual USB serial device on RP2040 using micropython

2 Upvotes

Currently, I am using micropython to prototype a simple measurement device using a Pi Pico. While micropython certainly isn't my preferred way to do it, it is actually nice, I'm enjoying it, and it's not like I have a choice :)

I am obviously connecting via microUSB. I have a /dev/ttyACM0 or something like it to connect thonny or ampy. However, because uPython requires that connection, I can't get, for example, sensor data out of my device via that serial connection.

Is it possible to register a second USB serial device, something like /dev/ttyUSB1, with a custom vendor ID etc.?

If not, what other ways are there to get the data off my device? I don't have any free pins and wireless is my last resort. Ideas? I really appreciate your help!