Questions tagged [micropython]
MicroPython is an implementation of the Python programming language to run on various microcontrollers.
25 questions
2 votes
2 answers
249 views
LCD Display Corruption on Raspberry Pi Pico (MicroPython) - Lines Overwriting Each Other
I am building a system using a Waveshare RP2040-Zero ( like a Raspberry Pi Pico ) with an HD44780-2004 LCD over I2C. I'm facing a strange issue where the text on one line of the display occasionally ...
-4 votes
1 answer
128 views
How can I install MicroPython on an STM32F4 WeAct Black Pill board?
I'm trying to make working a STM32F411 stick board from Amazon. It's not really clear how to run MicroPython program on this board, which seems to be a WeAct Black Pill V2.0 clone. I've searched on ...
0 votes
0 answers
56 views
HC12 UART communication suddenly stopped working
I want to get 2 picos to communicate via UART and a HC12 chip and I managed to get it to work in the past but somehow it just stopped working. Here are the 2 picos with the HC12 chip And the code just ...
0 votes
0 answers
61 views
Circuit design for TPL9202 8 Channel low side relay driver
I am designing a board that will be required to switch on many relays, hence I am using TPL9202 to do the work. I have validated the psuedo-circuit on a single TPL9202 on a breakout board and it works ...
5 votes
4 answers
485 views
Cross-talk issues with ULN2003 and 28BYJ-48 Stepper
I am building a split flap clock with four 28BYJ-48 stepper motors. Please note that at any given time there will only be one motor running. I made a simple PCB which routes all connections from an ...
-1 votes
2 answers
78 views
What is an external interruption? MicroPython pyb.stop() function help
when it comes to MicroPython pyb.stop() function, I know it's used to make the chip interact only if a external interruption comes around, but I'm starting to ...
0 votes
1 answer
120 views
ESP32 C3 Stuck enters USB download mode
I have an ESP32 C3 12F by AI Thinker. It is connected to a flow sensor, that wakes it up via external wakeup when there is a pulse. The system functions for about a week and then enters USB Download ...
0 votes
1 answer
150 views
micropython pyb module not found
I want to debounce a button in micropython and found this page on the micropython docs: https://docs.micropython.org/en/latest/pyboard/tutorial/debounce.html It uses a library called pyb but my ...
0 votes
1 answer
67 views
Analog Microelectronics ASM 5915 pressure/temperature sensor coding problem
I'm trying to use an Analog Microelectronics ASM5915-1000-D pressure/temperature sensor with a Raspberry Pi Pico running CircuitPython. I'm communicating with the device using I2C, and getting data ...
0 votes
0 answers
96 views
MCP4151 unresponsive to commands on ESP with CircuitPython
I am trying to control an MCP4151-103E digital potentiometer from an ESP32-Devkit-v1 running CircuitPython 8.2.7. For this task, I have the following code. This has been adapted from this Github ...
0 votes
1 answer
133 views
RC circuit to allow MCU to detect power toggles
I am trying to detect a power toggle event for a smart lamp I am building. Essentially, I want the lamp to behave differently when turned on after a long off period compared to when toggled on/off/on. ...
1 vote
0 answers
303 views
HC-06 module does not receive data from Raspberry Pi Pico
So I have a project that I'm currently working on and I am also using the HC-06 module as a part of the communication process between the Raspberry Pi Pico and my application. A while ago when I was ...
1 vote
0 answers
157 views
ESP32 (on a dev-board) doesn't boot
I have an ESP32 dev board which doesn't boot (The chip itself is marked as "ESP32 WROOM-32"). I've played with compiling Micropython and trying to flash it, and probably did something wrong.....
2 votes
1 answer
332 views
Micropython problems on custom board using RP2040
I am designing a custom board using the RP2040 and have used the PiPico design as a reference design. I have encountered two problems with micropython: First, an anomaly - I noticed when mounting as ...
0 votes
1 answer
197 views
Wired ESP8266 Communication
I have been looking for the cheapest/easiest way to get 100 or so different i/o devices to all talk to a "Master." (Sending temp data, receiving motor information) Since i am looking for a ...