Questions tagged [micropython]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
10 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 ...
1
vote
1answer
89 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 ...
0
votes
0answers
56 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 ...
0
votes
0answers
30 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 ...
0
votes
1answer
136 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 ...
3
votes
1answer
402 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....
1
vote
0answers
1k 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. ...
0
votes
0answers
553 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 ...
1
vote
0answers
54 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 ...
2
votes
1answer
1k views

Rpi pico micropython ssd1306 OSError: 5

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,...
1
vote
2answers
443 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 ...
1
vote
2answers
2k 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 ...
1
vote
0answers
117 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 ...
1
vote
0answers
783 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 ...
3
votes
1answer
866 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.
4
votes
3answers
4k 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 ...
6
votes
2answers
2k 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 ...
1
vote
3answers
3k 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 ...