Skip to main content

Questions tagged [micropython]

1 vote
0 answers
56 views

On a Raspberry Pico2W/Thonny loaded the ssd1306.py library and I get: File “<stdin>”, line 19, in <module> File “ssd1306.py”, line 110, in __init__ File “ssd1306.py”, line 36, in __init__ ...
Renaud's user avatar
  • 11
0 votes
1 answer
129 views

Getting up and running with RPi Pico (RP2040-Zero, specifically) MicroPython programming. When using Thonny, print statement output appears in a pane at the bottom of the editor window, but Thonny is ...
ipmcc's user avatar
  • 101
0 votes
0 answers
64 views

I’m trying to set up wireless communication using two NRF24L01 modules. I’m using a Raspberry Pi 4 Model B as the receiver using the pyRF24 Library and a Raspberry Pi Pico with MicroPython as the ...
Nicolas's user avatar
0 votes
0 answers
132 views

I have a Pico attached to a USB hub switcher. This means depending on its state the Pico is connected to either a Windows desktop, or a Macbook. I want to display this on the screen I've attached to ...
Tom J Nowell's user avatar
0 votes
0 answers
80 views

I want to use the 1.3" SPI Colour Square LCD (240x240) with a pico and micropython. According to the website that is possible. However, when looking at the github page of examples there is ...
user3553471's user avatar
2 votes
1 answer
218 views

Yesterday, I tested a Nema 17 stepper motor with a DRV8825 motor driver. Connected to a Pi Pico 2 W using MicroPython on VS Code. It worked as intended, the motor spinned both directions. I took a ...
Julian's user avatar
  • 21
2 votes
1 answer
391 views

Many people control their Pi Pico using Thonny but I rarely use the Desktop and prefer to program from the command line. How can I control micropython on a Pico from the command line?
Milliways's user avatar
  • 63.1k
-1 votes
1 answer
87 views

I have a PicoW, and am running MicroPython, and have copied code so I can monitor temperature using a DS18B20. I note there was a thread on this topic, but I didn't see an outcome.... The code I have ...
TTM's user avatar
  • 15
0 votes
0 answers
110 views

I am running a PicoW and MicroPython through Thonny, and want to control Tuya devices. I have used TinyTuya without issues elsewhere, but it requires libraries/ modules that cannot be installed on the ...
TTM's user avatar
  • 15
0 votes
0 answers
134 views

I can see that aioble.scan returns RSSI during a passive scan as an observer: async with aioble.scan(duration_ms=5000) as scanner: async for result in scanner: print(result, result.name(), ...
davesedar's user avatar
0 votes
0 answers
95 views

I’m trying to OTA update some micropython code on a pico_w. The code has dependencies that are not in the micropython-lib, they’re in my private repo. I can update the dependencies using mip with a ...
tomtomnz's user avatar
0 votes
0 answers
162 views

Trying to use a micro-SD card reader with Pico W with RP2040. Using Thonny v4.1.7 on a brand new windows 11 PC (geekom megamini G1), Micropython v1.24.1. am trying: from machine import Pin, SPI import ...
davesedar's user avatar
-1 votes
2 answers
145 views

I think I have grasped that one way to program a RPi Pico is to load micropython on it then load programs from Thonny when the Pico is attached using USB to the "host" PC. Is it possible to ...
Clive Long's user avatar
0 votes
0 answers
352 views

I have reduced my RPi Pico config to the absolute simplest: No jumper wires, swapped the USB cable, swapped to an unused Pico re-installed Thonny (version 4.1.6), under Windows 11 flashed MicroPython ...
davesedar's user avatar
-1 votes
1 answer
559 views

Following this specification: https://docs.micropython.org/en/latest/library/machine.I2S.html I have stored the following script on my RPi Pico: from machine import I2S from machine import Pin ...
davesedar's user avatar

15 30 50 per page
1
2 3 4 5
7