Questions tagged [pi-pico]

Questions regarding the Raspberry Pi Pico.

Raspberry Pi Pico is a low-cost, high-performance microcontroller board with flexible digital interfaces based on the RP2040 microcontroller chip designed by Raspberry Pi.

Dual-core Arm Cortex M0+ processor 264kB of SRAM, and 2MB of on-board flash memory USB 1.1 26 × multi-function GPIO pins 2 × SPI, 2 × I2C, 2 × UART, 3 × 12-bit ADC, 16 × controllable PWM channels Accurate clock and timer on-chip Temperature sensor Accelerated floating-point libraries on-chip 8 × Programmable I/O (PIO) state machines for custom peripheral support

318 questions
13
votes
2 answers

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
  • 239
  • 1
  • 2
  • 4
12
votes
7 answers

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 bootloader mode) or choose "Configure interpreter" in the…
PSKP
  • 328
  • 1
  • 2
  • 8
11
votes
2 answers

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 allows access to a simulator: you write your C code for a…
sdbbs
  • 257
  • 2
  • 3
  • 10
8
votes
1 answer

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 powering the Pico from the USB connector with a 5V/3A…
ma3oun
  • 283
  • 1
  • 3
  • 8
7
votes
4 answers

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 low. and RUN is the RP2040 enable pin, and has…
Vadim
  • 623
  • 1
  • 5
  • 13
7
votes
2 answers

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 an os, is there a way to read a 1-wire device? Or…
Kelby Criswell
  • 320
  • 2
  • 9
6
votes
2 answers

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 figure out is if I can connect a microphone to the…
BitFlow
  • 235
  • 1
  • 3
  • 7
5
votes
2 answers

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. $ sudo openocd -f interface/cmsis-dap.cfg -f…
Edwin Shepherd
  • 211
  • 3
  • 9
5
votes
1 answer

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 microphone that runs through an XLR cable to an…
fishfinder
  • 51
  • 3
5
votes
2 answers

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 expected, but when I run "minicom -b 115200 -o -D…
Steven Clark
  • 171
  • 1
  • 3
5
votes
1 answer

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.g. turn different lights on or off). I'm new to…
pcoates
  • 153
  • 1
  • 5
5
votes
1 answer

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
  • 53
  • 5
4
votes
3 answers

Raspberry Pi Pico W - how to connect an external antenna

I am just trying to find info about connecting an external antenna to the board. Is it possible to use some of the pins to solder to the coaxial cable and connect to the external antenna? I want to use an antenna: 3db wifi antenna If anyone can…
4
votes
3 answers

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 = Timer() led = Pin("LED", Pin.OUT) def…
4
votes
1 answer

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 myProject That empty project builds fine: cd…
Chris
  • 181
  • 6
1
2 3
21 22