Questions tagged [pi-pico]

Questions regarding the Raspberry Pi Pico.

Filter by
Sorted by
Tagged with
1 vote
0 answers
61 views

help 32 by 64 rgb matrix pong game

Hi there i want to make a pong game i can currently get a image to display or images scrolling if anyone out there that knows how to do this or can help any info is much aprecitated import time from ...
sam's user avatar
  • 11
1 vote
0 answers
129 views

how to give power and ETH to pi pico W at same time?

Learning following project https://github.com/sbcshop/Raspberry-Pi-Pico-RFID-Expansion. Now the requirement is to connect project with Ethernet network, also provide power supply at same time. Qustion:...
R. Baraiya's user avatar
1 vote
0 answers
104 views

I get an error when trying to find my pico in thonny

This is the error: Traceback (most recent call last): File "/app/lib/python3.10/site-packages/tkinter/__init__.py", line 1705, in __call__ return self.func(*args) File "/app/lib/...
Trevor Smith's user avatar
0 votes
2 answers
2k views

Useful statistics from Pi Pico

Apart from reading the internal temperature sensor and frequency, is there any other useful information you can query on the Pico board using Micropython? For example, memory or flash usage, CPU usage ...
Alastair Montgomery's user avatar
1 vote
0 answers
1k views

Configuring a pico w as an access point and web server works with default ifconfig, but breaks with 172.16.x.x

I have a pico w that I'm setting up as an access point: ap = network.WLAN(network.AP_IF) ap.config(essid=xxxx, password=xxxx) ap.active(True) and then I'm serving a "tell me how to connect to ...
David Arno's user avatar
2 votes
1 answer
509 views

How to make PIO for multi-pin protocol, e.g. 93LC46?

I'm just learning about Pico Programmable IO (PIO). The examples I see cover only single pin communication. I'm wondering whether PIO can handle multi-pin communication (like I2C having one pin each ...
Andreas's user avatar
  • 163
0 votes
2 answers
321 views

How deep do i have to put my raspberry pi pico pins in a breadboard

I'm trying to make breadboard circuit with my Raspberry Pi Pico and I'm not sure if I have to push it entirely in the holes or it's good at half? Here's the model: Freenove Raspberry Pi Pico (...
PythonKid's user avatar
-1 votes
2 answers
619 views

I cant connect my Raspberry Pi Pico

So I'm trying to connect my Raspberry Pi Pico to Thonny but I doesn't let me select com4 or anything else except "try to detect port automatically" and when I put it, it does not let me run ...
PythonKid's user avatar
3 votes
1 answer
890 views

Raspberry PI Pico W temperature reading

I have been playing with my newly acquired Raspberry Pi Pico W and reading the temperature. How much variation between the internal temperature sensor and an external TMP36 wired up to ADC2 should I ...
Alastair Montgomery's user avatar
1 vote
1 answer
79 views

Display same content on 2 I2C LCD modules

I am trying to build a motorized head of puppet/animatronics and for the eyes, I am using 2 LCD LED Module SSD1306 (1 per eye). I am using a Raspberry Pi pico. I got the code working to display ...
Sirode's user avatar
  • 119
1 vote
2 answers
376 views

nrf24l01 not Working with Raspberry Pi Pico W

I can use the nrf24l01 wireless module just fine with a Raspberry Pi Pico, but when I try to compile the same code on the Raspberry Pi Pico W, it fails to recognize the device. I am using this library,...
Marin's user avatar
  • 111
2 votes
1 answer
410 views

16x2 LCD text not showing up on Pico W

I have been using an online tutorial, https://www.youtube.com/watch?v=B8Kr_3xHjqE&t=166s, to display text on a LCD. The LCD can do all the functions except the displaying of text. I know there is ...
DevBev3's user avatar
  • 25
2 votes
0 answers
181 views

Multiple SPI reads on Pi Pico requires reinitialisation

I'm playing around with reading in analogue inputs from an MCP3208 ADC via SPI. However, reading multiple inputs seems to cause a seg fault unless I reinitialise the SPI on each read/write. I've ...
user151296's user avatar
0 votes
1 answer
1k views

How can Rpi Pico W control a GPIO pin connected, I2C digital MEMS microphone?

Using the Raspberry Pico Pi, how can micropython be used to get the values from a MEMS microphone such as the Adafruit Silicon MEMS Microphone Breakout - SPW2430 link to ada fruit Product ID: 2716. ...
Vass's user avatar
  • 133
4 votes
3 answers
2k views

LED light not turning on

I was following this tutorial on connecting an external LED to a Pico W, but I've had no luck getting it to work. This is the code I've been using: import machine from machine import Pin, Timer timer =...
Emu_of_Ubiquity's user avatar
2 votes
1 answer
216 views

Which are the pin choices for powering and driving an audio amplifier with signal and power on raspberry pico pi

I am using an audio amplifier,PAM8302A from adafruit link, to power a 8ohm 1W speaker (small speaker) that is being driven by a raspberry pi pico. The amplifier has A+ for the signal/audio input (not ...
Vass's user avatar
  • 133
0 votes
1 answer
384 views

how to use a multiple rc522 (RFID) sensors with i2c on a PICO with a Adafruit PCF8575 board

I've been looking through the web for the case of multiple rc522 (RFID sensors) attached to a PICO/W using I2C. Most of the examples and Micropython library code seem to be using SPI. Can someone ...
quinn's user avatar
  • 101
1 vote
1 answer
841 views

How do I check the memory written into a Raspberry Pi Pico W from the compiler?

I'm uploading a simple C program into a Raspberry Pi Pico and I would like to check the memory this program is occupying in the Pico. The program only has an empty main function. What I want to do is ...
bro's user avatar
  • 21
3 votes
1 answer
807 views

How to protect wifi credentials on RP Pico W?

I'm trying out home automation using a Raspberry Pi Pico with Wifi. To connect to wifi I have to send SSID and password. Since the controller has no external interface other than the Wifi, how would ...
Andreas's user avatar
  • 163
-2 votes
2 answers
203 views

Controlling fan speed acording to temp of the on board thermometer Raspberry pi pico [closed]

How do I control the fan speed based on the temperature of the on board thermometer. Thanks in advance.
sam's user avatar
  • 11
1 vote
1 answer
304 views

RPi pico W problem importing modules from subdirectory

My directory structure on RPi: / firmware __init__.py functions.py main.py __init__.py is empty, in my main.py, I have: import firmware print(current_version) while functions.py contains just:...
kiero's user avatar
  • 11
1 vote
0 answers
33 views

Redirect pico sd card to pc

How can I redirect an sd card in the pi pico sd adapter to a computer? I want to get the data from the sd card on my pc
Sytze's user avatar
  • 19
2 votes
0 answers
563 views

Raspberry Pi Pico - USB host with USB hub has anyone got it to work

Has anybody got a USB hub working with the Raspberry Pi Pico. I've got a person project that i want to use a mouse and a keyboard but when i add a hub it all falls apart. So I wen't and tried the ...
used_up_user's user avatar
2 votes
3 answers
795 views

How to support the power supply of servo motors using an ordinary AC-to-USB adapter?

I normally power my Raspberry Pi Pico via a USB connection to my computer. However, when working with servo motors, the motors can draw quite a bit of power, destabilizing the USB communication ...
normanius's user avatar
  • 123
-4 votes
1 answer
244 views

How to receive a TTL input as interrupt in one of the GPIO pin?

How do I receive a TTL input signal through a GPIO? When a specific TTL signal is received in GPIO it should run some specific function.
Paul Jose's user avatar
1 vote
1 answer
438 views

Identify the Pico core at runtime

Using the C/C++ Pico SDK, how can I find out which core my code is running on? (Specifically, I'd like to use lwIP's LWIP_ASSERT_CORE_LOCKED, which requires a thread or core identifier to determine ...
Christoph Wintersteiger's user avatar
3 votes
2 answers
3k views

my raspberry pi pico oled display code is returning 'OSError: [Errno 5] EIO'

I've been trying to use an ssd1306 oled display with a raspberry pi pico but every time I run the code it returns an error. I don't know what the error means and can't really find anything online for ...
odog's user avatar
  • 31
1 vote
0 answers
563 views

How do I use FreeRTOS in C on a Raspberry Pi PicoW using Visual Studio Code and PlatformIO?

I'm trying to run FreeRTOS on a Raspberry Pi PicoW. I'm using Visual Studio Code with PlatformIO to connect to the Pico. I have a folder for the project where I put the FreeRTOS include files and the ....
bro's user avatar
  • 21
2 votes
2 answers
164 views

Is it possible (and wise) to use RPi Pico W to control an atomiser which has 5V operating voltage?

I’m working on a project which uses Grove Water Atomiser which has 5V operating voltage. I’ve used it with Arduino nano and it has 3 pins: Vcc (5V), Gnd and a control pin which receives the signal ...
Ivan Novikov's user avatar
3 votes
1 answer
535 views

is it possible to connect a USB microphone to Pi Pico

I am attempting to do some real-time audio processing using the Pi Pico. I know that a MEMS microphone can be connected and used for this purpose (see here and here). However, I need to use an analog ...
fishfinder's user avatar
1 vote
0 answers
216 views

Cannot locate the raspeberry pi pico on my computer (`UF2_Board ` instead of `/dev/cu.usbserial-0001`)

I want to connect to upload code on my raspberry-pi-pico but my computer does not recognize it. When using the arduino cli it seems to be recognized under the UF2_Board instead of the classical /dev/...
ecjb's user avatar
  • 111
1 vote
0 answers
405 views

Part of script wont run when named main.py or boot.py

I am using a RaspiPico W RP 2040 with micropython and Im trying to autorun this script when Pico is powered. I plan on powering the pico with an external power brick. The script is a multithreading ...
LeafTeaNeko's user avatar
1 vote
0 answers
406 views

Setting up Raspberry Pi Pico Examples on Windows and CLion

I am attempting to just get the the Raspbery Pi Pico SDK examples working but I am running into an issue.... System: windows 10 IDE: CLion 2022.2.4 CMAKE: 3.25.0-rc3 Arm GNU Toolchain: 12.2.0 Python: ...
Michael's user avatar
  • 11
3 votes
1 answer
1k views

High Impedance (Hi-Z) state for Pico GPIO

Using a Pico [RP2040], I wish to interface to a data bus which is (already) pulled high. (Based on the contents of the address bus) I want to put data on the data bus [ie. "memory mapped i/o"...
BlueChip's user avatar
1 vote
0 answers
342 views

Pico C programming: Make all projects use the USB port

I'm in the learning process for the RPi Pico using the C SDK. So far, the interesting examples I've followed output their results over the serial port. I've learned that some of the examples include a ...
Seamus's user avatar
  • 21.7k
2 votes
1 answer
1k views

Creating a servo PWM signal for BLDC ESC Controller using PICO

I am trying to use my RPi PICO to control a BLDC ESC. Using a servo tester it works perfectly, but I want to be able to use this with my PICO and with a trigger/spring potentiometer. Basically it will ...
vm1988's user avatar
  • 21
0 votes
1 answer
247 views

Pico W Grounding Problem

So im pretty new to hardware stuff and bought a Pico W. I followed this tutorial and it kind of worked. The blue cable goes from Pin 2 to the LED, the led to the resistor and the resistor over the ...
Sheyteo's user avatar
  • 11
1 vote
1 answer
368 views

Controlling leds with potentiometer and a button on a raspberry pi pico

I am trying to control Leds with a button to change if one is on or off and a potentiometer to control the brightness of the Leds. I am using a Raspberry Pi Pico. Is there a way to do this.
The Amazing Banana Guy's user avatar
1 vote
1 answer
74 views

Serial data over 30meter shielded Cat5e cable in industrial environment

I'm designing an industrial solution for monitoring and controlling some large raw-material processing machines. What I want to have is an RPi Pico at each piece of equipment that can standalone ...
flamewave000's user avatar
0 votes
0 answers
42 views

Use raspberry pi pics to record rpm on a wheel

I would like to use a raspberry pi pick to record the rpm of a wheel on a rc car. There will be a contact on the wheel, and a contact on the body of the car. As the wheel turns, if the two contacts ...
user112167's user avatar
-2 votes
2 answers
240 views

How can I connect a raspberry pi pico to an oscilloscope to measure power consumption?

I have loaded a neural network onto a Raspberry pi pico and I want to know how to connect it to the oscilloscope to measure its power consumption over time. I have the necessary components for wiring ...
ahahahahana's user avatar
3 votes
1 answer
2k views

How to do rising-edge detection on a Raspberry Pi Pico

Is there a non-polling way to detect when an input goes from OFF to ON with the Raspberry Pi Pico MicroController? I see the Raspberry Pi allows one to do something like below to detect rising edges ...
Vivek's user avatar
  • 131
0 votes
1 answer
252 views

How to send data between two already configured HC-05 modules

I'm new to electronics and microcontrollers, and I'm building an small project in which I'd like to send information from a master HC-05 bluetooth module to an slave one, I've already synced them ...
Rodolfo BocaneGra's user avatar
1 vote
0 answers
119 views

How to connect SD card and battery to Pico?

I have been looking into components I need for a MicroPython project. I needs to be battery powered and be able to read/write to a removable SD card. For this, I have discovered SD breakout boards. ...
SamTheProgrammer's user avatar
2 votes
0 answers
522 views

Pico-ETH-CH9121 complete use case example

I purchased Waveshare's Pico-ETH-CH9121 and followed the instructions at https://www.waveshare.com/wiki/Pico-ETH-CH9121. Unfortunately, I do not understand what to do to establish a TCP/IP connection, ...
Twonky's user avatar
  • 133
2 votes
1 answer
1k views

DS18B20 OneWire Library with Raspberry Pi Pico W and Micropython

Good day, I am using a Raspberry Pi Pico W with a temperature sensor among other things. I tried finding code online to make the temperature sensor work and it returns the following error. Found DS ...
Pranav's user avatar
  • 23
2 votes
1 answer
1k views

Raspberry Pi Pico doesn't create tty file

I've been using Raspberry Pi Pico for some time already and I'm using minicom for serial communication. But one day Pico stopped generating tty/ATCM0 when connected to USB port. Before this everything ...
Omicron's user avatar
  • 121
2 votes
1 answer
249 views

Debuging Pico W

I have followed the instructions for using openocd to debug an program, but the output I get from openocd is: Info : Hardware thread awareness created Info : Hardware thread awareness created Info : ...
APA's user avatar
  • 21
0 votes
1 answer
771 views

Why am I getting this syntax error in micropython?

I am testing the raspberry pi pico, and am getting a strange syntax error. I have no idea why. from time import sleep led = Pin(25, Pin.OUT) wait = 0.1 while True for x in range(9) wait += ...
Sad Man's user avatar
1 vote
1 answer
290 views

RpiZero and RpiPico communication through nrf24l01 not receiving packages

I am trying to implement a wireless communication between RpiZero and RpiPico through NRF24l01 modules. Pico is the receiver, and Zero is the transmitter. I have successfully started the Pico ...
Antifa's user avatar
  • 141