Questions tagged [pi-pico]

Questions regarding the Raspberry Pi Pico.

Filter by
Sorted by
Tagged with
0 votes
1 answer
239 views

Why does this Pico circuit use so many resistors?

I've just started working through the Freenove ultimate starter kit for the Pi Pico, and I'm having trouble understanding why it has so many resistors in this circuit. I'm following the tutorial ...
AngelsJinx's user avatar
0 votes
0 answers
18 views

A Micropyhton abstract robot library for pi-pico based robot kits

I'm looking for a slightly higher level Micropyhon library for pi-pico based robot kits. There seem to be many simple robot kits with similar hardware on the market at reasonable prices, but the ...
NeilenMarais's user avatar
0 votes
0 answers
21 views

COM disconnects and program fails when including code trying to initialize SD card (RP2040 Pi Pico W running Arduino)

I'm having an issue where anytime I run a program such as the SD card read write example (Below) the COM port disconnects. The only changes I have made to the example code is I am using SPI1 instead ...
Rian Noble's user avatar
0 votes
1 answer
110 views

raspberry pi pico temperature reading and output to zabbix

there is a raspberry pi pico that I want to configure as a temperature sensor, and output data to zabbix raspberry pi pico I have, connected to a computer with ubuntu 22.04 via usb, I have a code for ...
Леонид's user avatar
0 votes
0 answers
47 views

Can the PIO perform 888 RGB to 565 RGB?

In my latest RP2040 project I'm using a little ST7789 based LCD screen, who's pixel format is 565 RGB, and I would like to run this screen as fast as possible. It's capable of 60 FPS, which requires ...
Rocketmagnet's user avatar
0 votes
1 answer
93 views

Using Electret Microphones with Raspberry Pi Pico

I am looking to have the ability to store/analyze audio using a Raspberry Pi Pico. I have found that electret microphones are a good option, since it only requires an ADC, which is already built-in to ...
Gabe Morris's user avatar
1 vote
1 answer
814 views

How many UARTs can I add to RP2040 using PIO?

There are a few examples of using the RP2040's PIO capability to add additional UARTs, e.g., the uart_tx example. The RP2040 data sheet describes "two PIO blocks with four state machines each&...
rgov's user avatar
  • 213
0 votes
0 answers
68 views

Raspberry Pi Pico accurate sunrise time

Is there a way to access or calculate sunrise and sunset times according to latitude and longitude with a raspberry pi pico ? I can do it with my raspberry pi 3b+ and astral but astral doesnt seem to ...
Coder's user avatar
  • 9
0 votes
0 answers
68 views

Pi Pico won't mount on Ventura

When I hold down the BOOTSEL button and connect my Pico to my M1 Macbook Air running Ventura, a dialogue box quickly pops up then disappears asking "Allow Accessory to Connect?". It ...
tomh's user avatar
  • 135
0 votes
1 answer
72 views

Mecanum Robot for Pico

I'm trying to build the Keyestudio mecanum 4WD car for pico for a summer camp I run for high schoolers. I have no programming knowledge or background, and neither do the kids. I've been following the ...
Joanna Gannon's user avatar
0 votes
2 answers
1k views

Improving sampling frequency of Raspberry Pi Pico's ADC pin to sample at frequency of 48 KHz

I am trying to use Raspberry Pi pico to sample signal of frequency of around 24 KHz and store the values in an array. From Nyquist criteria, the sampling frequency should be 48 KHz. But I can properly ...
Nimesh's user avatar
  • 1
0 votes
2 answers
195 views

How to program an RP2040 micro controller (NOT Raspberry pi pico) and transplant it into a PCB?

I'm posting this here because after going through several forums this one seemed the most appropriate; I am working on miniaturizing a project (remote control car), I already have the first version ...
Rodolfo BocaneGra's user avatar
0 votes
0 answers
387 views

Raspberry Pi Pico with PN532 reading cards with the use of interrupt

The setup is as follows: Raspberry Pi Pico PN532 connected via SPI with pico. Pin IRQ on the PN532 is connected to GPIO20 on the pico Micro python Micro python PN532 NFC/RFID control library (SPI) ...
thermike's user avatar
0 votes
0 answers
86 views

IR Receiver gives invalid start pulse with screen attached, nothing without screen

I am trying to display the value of an IR signal on a screen using a Pico and an IR sensor, but with the screen attached to the Pico and the output of the sensor on GPIO pin 4, the printed value is an ...
Commander Of The Wind's user avatar
0 votes
1 answer
260 views

SIM800L with Raspberry Pi Pico takes too much time to make http request

I am using a Raspberry Pi Pico with SIM800l and NEO6M to make a GPS tracker. But it takes about 8s (from recording the GPS signal) to make a http request to the the server. I'm using this library as a ...
Lakshyajeet Jalal's user avatar
0 votes
1 answer
485 views

How to receive data longer than 32bytes through PICO UART?

I have wrote a code to process data received in a PICO from Raspi PI. I have a slider which sends number to the PICO(through UART) to set some values. If the slider is dragged slowly or clicked the ...
Paul Jose's user avatar
1 vote
2 answers
510 views

Raspberry Pi Pico -- Read USB Midi Input

I'm new to programming with Raspberry Pi's. I have a Yamaha p45 electric keyboard that outputs MIDI over a USB cable (not the 5-pin midi cable) and I need to read the midi input into my Raspberry Pi ...
deastmon's user avatar
-1 votes
1 answer
211 views

SOLVED OSError: [Errno 5] EIO wit a raspberry pi pico

I am using the Raspberry Pi Pico with this code: #Pico Invaders! # # TODO : Implement alien shots, Shields, Sound from machine import Pin, I2C, ADC, PWM from ssd1306 import SSD1306_I2C import time ...
Hogarth's user avatar
0 votes
1 answer
69 views

Pico Pi giving synthax error on pillow library

I am running a main.py file on the Pico Pi that imports a test file in a SD card that is connected by a module. The test.py file then imports PIL from the same directory as the file. I believe this ...
Maxence Lapatrie's user avatar
0 votes
1 answer
215 views

RGB565 on the Waveshare RP2040 LCD 1.28

I'm trying to use the Waveshare LCD 1.28 module found at https://www.waveshare.com/wiki/RP2040-LCD-1.28 which based upon their demo python code, the module should support RGB565 for color definitions, ...
Matt Brailsford's user avatar
0 votes
1 answer
577 views

How do I connect a 4th analog input to a Raspberry Pi Pico?

I have to connect 4 different analog inputs to the raspberry pi pico. However there are only 3 pins available for usage. Is it possible to use the PWM pins for additional analog inputs? or should i ...
Anamika's user avatar
0 votes
0 answers
78 views

Pico LCD Display

is the screen in the link compatible with Raspberry Pi Pico? https://www.waveshare.com/wiki/2.4inch_LCD_Module I will be happy if you can tell me the circuit diagram and sample code
MEnsar55's user avatar
0 votes
1 answer
1k views

ModuleNotFoundError: No module named 'digitalio' HELP

I have been following a YouTube tutorial on how to setup the Raspberry Pi Pico H as a midi device. While programming, I came accross an error ModuleNotFoundError: No module named 'digitalio'. I'm ...
Pixel's user avatar
  • 1
0 votes
0 answers
113 views

Rpi pico zero W - display script not errors

I am a beginner with electronics and coding, trying to get an OLED display with ssd1306 to work with my Rpi Pico W. I have connected the display's SDA and SCL to GP2 and GP3. When trying to run the ...
David's user avatar
  • 1
-1 votes
1 answer
231 views

Raspberry pi Pico GPIO not working and firmware querry

I just bought 2 new raspberry pi pico units, but I am struggling with them. I ran a few basic commands in Thonny's shell and maid a program to have the onboard LED blink. Everything is working fine ...
Coder's user avatar
  • 9
1 vote
0 answers
58 views

Is there a toolchain to the Pico 20240 available for Ada?

For nostalgia's sake I was just unearthing some of my Ada texts from the 80's when I came upon this site Ada on the Raspberry Pi Pico. GNAT Ada is available easy enough for RaspberryOS though having a ...
Nick's user avatar
  • 776
0 votes
0 answers
246 views

Raspberry pi pico Write-Protected

I installed circuitpython on my Raspberry pi pico. I wrote a very simple code inside code.py and disconnected, and connected it again so I could test the code. The code worked fine but after that, I ...
ksap's user avatar
  • 21
-1 votes
1 answer
543 views

Raspberry pi pico with circuitpython code.py not running

I used This tutorial to create to run circuitpython on a Raspberry pi pico. I'm not trying to make a back USB as it's shown in the video, but I figured this tutorial was very good so I used it to ...
ksap's user avatar
  • 21
0 votes
1 answer
692 views

How to setup and use a UART serial interrupt on the RPI PIco?

I have a data logging pico and want to add an interrupt on the serial port that can take in a string and report back the right amount of data stored on the SD card. I was looking at UART.irq but that ...
Michael H.'s user avatar
1 vote
1 answer
291 views

ADC and PWM strange behaviour

I'm trying to measure the voltage of a 11.1V LIPO battery, which is substituted by a power supply for testing, using the raspberry pi pico on a breadboard, and then it changes the voltages of an RGB ...
epicMan123's user avatar
1 vote
0 answers
121 views

TF03 LiDar Distance Sensor UART Issues with Pico

I'm having issues getting a pico to receive data from a Benewake TF03 Rangefinder LiDar distance sensor. The User guide/Documentation mentions it working from 5-24V and it uses low voltage (3.3V) TTL ...
Isaac Flaum's user avatar
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
1 vote
0 answers
468 views

Read serial data from incoming USB device on the Pico

So I am new to using the pico w and I am trying to connect a scoreboard controller device (Daktronics All Sport® 5000) that outputs real time data over serial. I have an RS323 to USB converter that is ...
Juhuxen's user avatar
  • 11
2 votes
0 answers
150 views

Pi-Pico reading data from UART0 working while powered via USB but receiving garbage when powered via VSYS or VBUS

When I power the pico by usb (either from my pc or a powerbank) and run my micropython script to read from UART0, it reads the incoming data (NMEA sentences) perfectly fine. However, if I power the ...
Ryan Jennings's user avatar
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
1 vote
0 answers
41 views

Pi Pico. use it as a middleman between mouse and computer, Possible?

connect a usbafemale to the gpio pins(not sure which pins exactly) and connect the pico to the computer. can it just send the data it receives from the mouse and send it out without modifying anything ...
Abhishek AK's user avatar
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
1 vote
0 answers
158 views

How to read RFID tag value using Wiegand protocol?

I am trying to read RFID tag values using Paxton P75 reader. Here I have already connected reader with wiznet w5500 pico. and apply https://github.com/Rajan244/RFID/blob/main/wiegand.py to read the ...
R. Baraiya's user avatar
2 votes
0 answers
293 views

Pico Debugger can upload code once but not twice (when touching sysclk)

I've been playing around with the new Pico Debugger, and it is very nice. I have been running into some issues when using an external GPIO clock as the debugger does not seem able to detect the CPU's ...
Edwin Shepherd's user avatar
2 votes
0 answers
505 views

Responsive web interface for Pico W

I'm working on a project where I need to control a device remotely using a web page (on a phone) as a remote control - think of it as steering controls for a remote control car. This device also has ...
G.H.'s user avatar
  • 151
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
1 vote
1 answer
488 views

umqtt.simple returning Error: [Errno 103] ECONNABORTED when publishing to mosquitto broker on windows 10 [closed]

My problem: When attempting to send sensor data from Pico W using umqtt.simple to a Windows machine on my network running mosquitto, I can connect to the network but not to the mosquitto broker. I ...
Phillip's user avatar
  • 19
2 votes
0 answers
325 views

How can i read a digital pins value from another device?

I on a raspberry pi 4 (device 2) and am trying to read a digital data pin from another raspberry pi (device 1) but the value always reads as 0. What do i need to do to make this work? I already tried ...
NtFreX's user avatar
  • 121
0 votes
0 answers
145 views

Using the Adafruit RFM69HCW Transceiver Radio Bonnet on a Pico?

I have not acquired the components yet to try this, so I'm asking first simply if anyone has already done this (not the "how" details). Adafruit makes a RFM69HCW Transceiver Radio Bonnet for ...
GregoryB's user avatar
1 vote
0 answers
61 views

Making Clones of Pico

I am trying to find information to clone one pico with everything already set up and programmed to 5 new picos without manually copying the files and libraries. I am using Thonny to program them in ...
Michael H.'s user avatar
1 vote
0 answers
193 views

(New user) Pi pico with stepper motor

New to the community, i am a total noob, i have a pi pico project using 28byj stepper motor 5v, looking to control revolutions per day from 600-1200, in both directions, using a rotary encoder. also ...
Lewispipico's user avatar
1 vote
4 answers
4k views

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 ...
Gerard Rakoczy's user avatar
2 votes
1 answer
148 views

Trouble with RPI Pico and Waveshare SIM868 Module

I need some help with SIM868 GSM/GPRS/GNSS Module for Raspberry Pi Pico. A few months ago I bought SIM868 module and RPI Pico, and it works just fine together. But recently I bought another pair of ...
Ihor's user avatar
  • 21
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