Questions tagged [pi-pico]

Questions regarding the Raspberry Pi Pico.

Filter by
Sorted by
Tagged with
12 votes
7 answers
25k 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 ...
PSKP's user avatar
  • 328
11 votes
2 answers
44k views

How to get 5V power output from Raspberry pi Pico

After going through the Raspberry pi Pico datasheet it has only 3.3V power output. I want to power some devices that require 5V from the Pico. How can I get 5V output from the Raspberry Pico?
Nyagaka Enock's user avatar
10 votes
2 answers
8k views

Emulator for RP2040?

I'm starting to explore RP2040/Raspberry Pi Pico, however, I was wondering about something: is there a "proper" emulator/simulator for RP2040? From earlier Atmel experience, Atmel Studio ...
sdbbs's user avatar
  • 237
7 votes
2 answers
7k 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 ...
Kelby Criswell's user avatar
7 votes
1 answer
5k views

Maximum power draw on Pi Pico 3.3V rail with USB power

The Pi Pico datasheet recommends a maximum power draw on the 3V3 pin (pin 36) of 300mA. However, the RT6154B datasheet indicates that up to 3A can be drawn when Vin > 3.6V, which is the case when ...
ma3oun's user avatar
  • 273
5 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.
BeOpen's user avatar
  • 53
5 votes
1 answer
4k 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....
pcoates's user avatar
  • 153
5 votes
2 answers
4k views

How do I initialize the tinyusb submodule in my pico-sdk checkout?

I'm having a problem with the Raspberry Pi Pico hello world example using the C/C++ SDK on Ubuntu. When I drag and drop the hello_usb.uf2 binary the USB drive connection to the Pico terminates as ...
Steven Clark's user avatar
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
4 votes
2 answers
7k views

Connect a Microphone to Raspberry Pi Pico ADC Pins

I’d like to try using my voice as an input to my Pico. I think I should be able to define a pair of one-word voice commands, and train a Tensor Flow Lite Micro for Pico model on them. What I can’t ...
BitFlow's user avatar
  • 215
4 votes
1 answer
339 views

Why does introducing C++ to a Pico project result in "error: duplicate 'inline'" due to using wrong stdio.h version

I have a Raspberry Pi (3) with a Pico SDK freshly installed via the recommended script. I've added the pico-project-generator and created a project as follows: ./pico-project-generator/pico_project.py ...
Chris's user avatar
  • 181
3 votes
3 answers
7k views

Pi Pico W: what is the practical difference between RUN and 3V3_EN pins?

Pi Pico W datasheet states: 3V3_EN connects to the on-board SMPS enable pin, and is pulled high (to VSYS) via a 100kΩ resistor. To disable the 3.3V (which also de-powers the RP2040), short this pin ...
Vadim's user avatar
  • 567
3 votes
2 answers
3k views

Does a UART connection require shared ground?

I'm a novice with electronics but not Linux. This situation has had me scratching my head for two nights. I connected a Pi Pico to a Raspberry Pi 4 via UART, and managed to receive messages sent from ...
lowercasename's user avatar
3 votes
2 answers
3k views

Can you run a flask server on Raspberry Pi Pico?

Provided neither Nginx and Gunicorn are used, are the hardware specs of the Pico enough to handle a very simple flask app? Also, does the Pico's MicroPython support flask? If not, how can I simulate ...
Panagiotis Iatrou's user avatar
3 votes
3 answers
2k 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 ...
Zeno's user avatar
  • 85
3 votes
2 answers
3k views

Raspberry Pi Debug Probe fails with `Error: Failed to connect multidrop rp2040.dap0`

I am trying to debug a Raspberry Pi Pico with the debug probe and am following the Raspberry Pi Debug Probe tutorial. When I try and upload my first program to the pico I get the following error. $ ...
Edwin Shepherd'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
3 votes
2 answers
3k views

Using micropython on Raspberry Pi Zero W

I have found a library and sample code that seems to work very well on the Pico W, but I need a bit more power, so I'd like to use the same library on the Pi Zero W instead. Initially, I tried using ...
G.H.'s user avatar
  • 151
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
3 votes
1 answer
536 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
3 votes
2 answers
3k views

Full speed of Pico ADC faster than USB -- how to capture? SPI? Compression?

I am using a few Picos (connected together via I2C -- but I will switch soon to SPI) as a single USB peripheral connected to a computer and they are working ok. The computer obviously sees only one of ...
Davide's user avatar
  • 181
3 votes
1 answer
894 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
3 votes
1 answer
815 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
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
3 votes
1 answer
14k 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. ...
Peter Bridger's user avatar
3 votes
1 answer
6k 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,...
Zeno's user avatar
  • 85
3 votes
1 answer
485 views

I accidentaly lightly hit my bread board with my pi pico and ili9341 on it now the ili9341 is just white

So i was in my chair and i clicked run script and when i got up i tripped and lightly hit my breadboard and then the screen (ili9341) went white. Before i hit it, it was working but not anymore. I ...
PythonKid's user avatar
2 votes
5 answers
9k views

Installing an executable or MicroPython script on a Pico to run without a computer attached

I've searched and not found an answer.. I'm proficient in C and Micro-python and developing and running programs is easy enough. However I can't figure out how I install a program I've written to ...
Simon Banks's user avatar
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
3 answers
9k 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 ...
Steve Robillard's user avatar
2 votes
1 answer
3k views

upip is not installed

I'm new to the pico world and micropython. Needless to say, one of the first things anyone should learn is the ability to set up environments and know the structure of the pico. I have read the ...
Gabe Morris's user avatar
2 votes
1 answer
622 views

How to send Data from the Ras Pi Pico to Ras Pi 4.0?

I have a Ras Pi Pico which I am using for data collection due to the required sampling frequency. I would like to collect that data and send to the Ras Pi 4.0 so I can use the data elsewhere. Is this ...
Ben Watson's user avatar
2 votes
1 answer
512 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
2 votes
3 answers
803 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
2 votes
2 answers
4k views

Power Pi Pico by applying 5 V to VSYS—any experiences with or thoughts on additional safety measures?

The official Pico datasheet chapter 4.5 suggests using either a Schottky diode or a P-channel MOSFET (P-FET; or a combination of both) when powering the Pico from an external power source (at least if ...
Manuel Popp's user avatar
2 votes
2 answers
421 views

Controlling 5 DC motors with Pi Pico

I have a robotic arm which I want to control using Pico W. The issue is the arm has 5 motors but I was only able to find driver boards which can handle up to 4 DC motors using I2C. Are there boards ...
Alexander Vorobiev's user avatar
2 votes
2 answers
3k views

Pi Pico: Software Reset using the C SDK?

I'm looking for a method/function to be able to reset a Raspberry Pi Pico via programming, using the Pic's C SDK. Is this possible? There is a way to do it using python using machine.reset() but I can'...
Murderous Turd's user avatar
2 votes
2 answers
167 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
2 votes
2 answers
721 views

Debian-based distro for Raspberry Pi Pico development

The "Getting started with Raspberry Pi Pico" guide states in chapter 2: The following instructions assume that you are using a Raspberry Pi Pico and some details may differ if you are using ...
Velvet's user avatar
  • 123
2 votes
2 answers
484 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'...
anon512's user avatar
  • 31
2 votes
1 answer
4k views

Raspberry Pi Pico 5V output using VBUS?

there! I'm planning to use the Raspberry Pi Pico for a project and I'll be using a SCA60c tilt sensor with it. I know that the Pico only has a 3.3V output but the SCA60C needs 5V to power it. I was ...
TomG19's user avatar
  • 31
2 votes
1 answer
81 views

Does Raspberry Pi Pico C/C++ SDK Setup Script work on Raspberry Pi Desktop installed on a PC?

The Raspberry Pi Pico documentation indicates "if you are intending to develop for Pico on a Raspberry Pi, then you can set up the C/C++ toolchain quickly by running our setup script from the ...
Steven Clark's user avatar
2 votes
1 answer
429 views

Pico Arduino DS18B20 OneWire

I am failing to read a DS18B20 with a RaspberryPi Pico programmed with Arduino. I found several examples using MicroPython, however I want to do it with Arduino using the 'Raspberry Pi Pico/RP2040' ...
qubit's user avatar
  • 129
2 votes
2 answers
2k views

How to connect OV7670 cam to Raspberry Pi Pico

I have a raspberry pi pico and OV7670 cam. I want to connect them and get a camera output as a video, So I can use image recognition to identify objects (tennis balls) to collect them using a setup ...
Kuganeshwaran R.'s user avatar
2 votes
1 answer
217 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
2 votes
1 answer
1k views

Raspberry Pi Pico mic and speaker

Id like to connect a microphone, a speaker and a usb memory stick to the Pico. But as I understand both analog mic(https://www.adafruit.com/product/1713) and audio shield(https://thepihut.com/products/...
options666's user avatar
2 votes
1 answer
3k views

How to store an array in flash memory (only) using the pico sdk?

The RP2040 on my board (Seeeduino XIAO) comes with 2MB of flash ram. How can I store an array that is too large to fit into RAM in flash, using C and the pico sdk? As the array exceeds a certain size, ...
Evgeniy Berezovsky's user avatar
2 votes
1 answer
941 views

Raspberry Pi Pico (RP2040) - wrong order of printf arguments?

I've just started working with RPi Pico (RP2040), and I tried the following simple program: #include <stdio.h> #include "pico/stdlib.h" volatile int chars_rxed = 0; int main() { ...
sdbbs's user avatar
  • 237
2 votes
1 answer
294 views

Is it safe to recharge 5v power bank from Raspberry Pi Pico VBUS?

My project uses a small 5v power bank to power my RPP. Rather than adding a USB socket for recharging the power bank, I would like to use the existing one on the Pico, connecting the VBUS pin to the ...
Ozpico's user avatar
  • 21
2 votes
1 answer
2k views

Rapsberry pi pico GPIO IRQ function for push button not working as expected

I added a button to GPIO 4(board pin 6) in my pico board. GPIO pin is normally pulled up and button press will bring it to ground. I want to add a simple debounce logic to the button press in the IRQ ...
user17915's user avatar
  • 119

1
2 3 4 5 6