Questions tagged [micropython]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
46 views

Is the waveshare 2.7 e-paper HAT ink display the right display for a pico?

I'm very new to programming on raspberry pi's and I haven't coded anything in about 5 years so bear with me. My company is asking me to connect a 2.7 e-paper hat INK display to a raspberry pi pico. I'...
user avatar
  • 21
0 votes
1 answer
34 views

How to properly shut down Rasberri Pi Pico (windows)?

I only received my first Raspberry Pi for tinyML development and specifically its microcontroller "Pico" version. I am surprised to see no instructions on how to properly shut this thing off ...
user avatar
0 votes
0 answers
30 views

Back and forth communication between Pico and PC

I am making a Pico powered PWM fan controller, and I currently have 2 potentiometers to control the fan speed. I am however thinking about writing some software in Python to modify the speed. The ...
user avatar
0 votes
0 answers
47 views

Why does Pi Pico duplicate and mix-up characters received over UART when programmed in C?

I have a Raspberry Pi Pico whose Tx and Rx pins are wired to the Rx and Tx pins of a Wemos D1 Mini development board. The Wemos and the Pico are powered via an external 5V power supply (common ground)....
user avatar
1 vote
1 answer
280 views

Accessing Raspberry Pi Pico REPL from Android Serial USB Terminal App with main.py present

I discovered that I can plug a Raspberry Pi Pico into my Android phone and use the app 'Serial USB Terminal' as a serial monitor. However, if the Pico has a main.py script uploaded to it, then it ...
user avatar
1 vote
0 answers
39 views

raspberry pi pico ejects automatically after trying to install micropython

I just bought a raspberry pi pico and I want to install micropython on it. but as soon as I install micropython the device ejects and when reconnect it all files are gone. it has 2 files in it(index....
user avatar
0 votes
0 answers
35 views

DFRobot_RGB1602 library does not work properly with DFRobot DFR0554 and Raspberry Pi Pico

Problem summary: set_cursor(0,0) brings text to (2,1) and set_cursor(0,1) brings text to (3,1), texts goes to imaginary 3rd line before 2nd line as if a 20x4 display. I modified the Python code to ...
user avatar
1 vote
0 answers
96 views

Cannot Install MicroPython For Pico on Thonny

I am trying to install MicroPython on the Thonny editor on Linux but I cannot get it to work. If I hover over "tools" it shows "Install MicroPython to ESP8266/ESP32 ..." and under ...
user avatar
0 votes
0 answers
52 views

RP2040- Memory architecture

I am designing an RP2040 board that has external access to the QSPI chip. I need to be able to program the microcontroller externally without USB, and I thought this would be the easiest method. I'm ...
user avatar
1 vote
1 answer
53 views

Why does Thonny get this error?

I am currently programming a Raspberry Pi Pico with the explorer base, and I am using the examples at https://github.com/pimoroni/pimoroni-pico (NOTE: I am using MicroPython in the Thonny IDE to ...
user avatar
  • 13
1 vote
0 answers
528 views

Transmitting and Receiving messages through RF433 using Raspberry Pico

I'm currently working in a new DIY project, where I need to send a message through RF from Raspberry Pico, and receive it in an other Raspberry Pico through RF. I have bought some common RF433 ...
user avatar
  • 121
1 vote
1 answer
754 views

UART communication Raspberry Pi Pico to Raspberry Pi

*Update, new main.py for pico and read_serial for RPI 4. *I am having the same problem with uart.write(), see below. I am trying to communicate with a raspberry pi pico with my raspberry pi 4 over ...
user avatar
  • 111
1 vote
1 answer
191 views

pico pi rtc interrupt

I want to send an interrupt to the pico to wake it up every second to tick a battery powered clock. I have an external RTC, the ds3231. i have gotten just about every other feature on the rtc to work ...
user avatar
  • 59
0 votes
0 answers
269 views

thonny OSError: 28

edit: SOLVED. I do not know what started the problem, but "nuking the flash" seems to have fixed it. I cant find much info online about "thonny OSError: 28". Whenever I try to save ...
user avatar
  • 59
0 votes
1 answer
692 views

I2C communication error: OSError: [Errno 121] Remote I/O error while using PAJ7620 sensor

I know this question has been asked a bunch of times. But, none of the answers was able to resolve my problem... I'm hoping I could get some guidence from awesome people in this community. Thanks in ...
user avatar
4 votes
1 answer
1k views

Is there a python library to allow I2C between Pi (master) and Pico (slave)

I want my Raspberry Pi to control my Raspberry Pico. I'm trying to send bytes of data to the pico and then read the data on the pico so that I can take different actions depending on the data sent (e....
user avatar
  • 143
2 votes
0 answers
4k views

Raspberry Pi Pico - how to lower power consumption

I am using a Raspberry Pi Pico to provider a pacemaker signal to a broken flip clock that needs to trigger a change every 12 hours. As a proof of concept this works and does what it's designed to do. ...
user avatar
0 votes
1 answer
1k views

Raspberry pi pico modbusRTU communication as master with slave computer using micropython

I am working on a slave computer and want to save the data transmitted from the master raspberry pi pico. In micropython there is modbus library github link. I want to use this library but there is a ...
user avatar
1 vote
0 answers
180 views

Raspberry pi pico socket module error when trying to use modbus in micropython

I wan't to use modbus library in pico. First of all, I just try ModbusTCP then ModbusSerial. I am trying to use this https://github.com/techbase123/micropython-modbus github source. When I run the ...
user avatar
3 votes
1 answer
3k views

Rpi pico micropython ssd1306 OSError: 5 [closed]

Solved I have .91inch 128x32 pixel oled display. here im following Tom's Hardware tutorial here I'm using Thonny on windows 10 ive basically copy and pasted from Tom's hardware from machine import Pin,...
user avatar
  • 59
1 vote
2 answers
869 views

PC Windows 10 Thonny MicroPython IDE does not detect Rpi Pico MCU or I2C/SPI/UART devices

I was using micropython at the time it stopped working. the pico used to work. it stopped working. when i insert the pico, windows gives me a message saying that the device cannot be recognized. in ...
user avatar
  • 59
1 vote
3 answers
3k views

RPI Pico: How to use ESP8266 (ESP-01S) as wifi modem?

I would like to use the Raspberry PI Pico to monitor exchange rates for crytpo currencies and inform me via SMS (using a SIM800l module) when certain prices are exceeded or fallen short of. I ...
user avatar
1 vote
0 answers
182 views

How can I make the Raspberry Pico not automount as USB storage while using Circuit Python

I am using Circuit Python on a Raspberry Pi Pico to give me hardware buttons for keyboard shortcuts. I am using Circuit Python as opposed to MicroPython because it has the USB_HID library. I don't ...
user avatar
1 vote
0 answers
1k views

Pico power management in micropython

I have one of those new Pi Picos, and as I understand great power savings can be had by putting the pico into sleep mode. I can see from the CPU spec sheet that this is possible, however I can't find ...
user avatar
  • 133
3 votes
1 answer
1k views

Rpi Pico Thonny Micropython Setting Up With Rpi4B/Windows PC Problem

I am currently using ESP-32 in Thonny using micropython. I know that Raspberry Pi pico also uses micro python But There is no option for Raspberry Pi Pico. I am using Thonny 3.2.7.
user avatar
  • 33
7 votes
6 answers
10k views

Not able to connect Raspberry Pi Pico

I am trying to connect to Raspberry Pi pico using Thonny. I am using Ubuntu 20.04. Giving Error Couldn't find the device automatically. Check the connection (making sure the device is not in ...
user avatar
  • 258
6 votes
2 answers
3k views

DS18B20 and RPi Pico

I will be getting my Raspberry pi pico here in a few days and want to connect a DS18B20 and use MicroPython. I have a project the uses RPi zero w and Python3.9. Since obviously, the pico does not use ...
user avatar
1 vote
3 answers
5k views

Import Error from MicroPython on Raspberry Pi Pico

I have set up my Raspberry Pi Pico and successfully run several MicroPython examples, however, I am now trying to run the 1306 OLED example from Appendix A of the Raspberry Pi Pico Python SDK. It ...
user avatar