Questions tagged [pi-pico]

Questions regarding the Raspberry Pi Pico.

Filter by
Sorted by
Tagged with
2 votes
1 answer
17 views

What to set PICOHTTPS_CA_ROOT_CERT in picohttps example in RPi Pico C - SDK

I'm trying to make a request to an ip using RPi pico w, using the picohttps example provided in here. Now for that we have 3 needed parameters in picohttps.h file - SSID, SSID_Password, ...
SOUHARDHYA PAUL's user avatar
0 votes
1 answer
33 views

Quasi - simultaneous temperature measurements on a metal rod

I am preparing teaching material for a thermodynamics laboratory for first year Physics students. The students at this point of their study are very capable with Python data analysis, plotting etc. I ...
VG_nbi's user avatar
  • 1
0 votes
0 answers
35 views

What happens if I exceed the current limit at the GPIO pins of the Pico?

They say that the output current of the Pico GPIO is configurable (2, 4, 8, 12mA). What does it means ? If I choose 8mA, what will happen if I connect a bigger load ? Will the curent be limited to 8mA,...
Marus Gradinaru's user avatar
0 votes
0 answers
15 views

EEPROM as alternative for FLASH STorage for Booting Pico 2040

I am reaching out to gain more insights on using EEPROM via SPI for booting the RP2040 Pico. Kindly guide with your experience of using or not using it, we have EEPROM in our inventory & would ...
Chubs's user avatar
  • 1
0 votes
1 answer
31 views

Can I connect all Pico GND pins to my PCB ground plane or I will create ground loops?

My project PCB has the bottom layer as a ground plane and the Pico sits on this PCB. Do you think is ok to connect all Pico GND pins to that ground plane ? And then, when a GPIO pin needs a GND ...
Marus Gradinaru's user avatar
0 votes
2 answers
35 views

DS18B20 and Pi Pico returns strange ROM

I have one DS18B20 connected on a breadboard to a pi pico with a 4.7K pull-up. Using the example code: import machine, onewire, ds18x20, time ds_pin = machine.Pin(4) ds_sensor = ds18x20.DS18X20(...
MikeS's user avatar
  • 1
0 votes
1 answer
65 views

RPi Pico: Is it dangerous to set GPIO drive strength of 12mA on all the UART-related pins

I'm working on a project with the RPi Pico that makes use of both the UARTs and has two LEDs attached to other random-ish GPIO pins. The LEDs will probably be turned on for the majority of time that ...
HackerDaGreat57's user avatar
0 votes
0 answers
26 views

Bluetooth Headphones with the Pico W

I have a Pi Pico W, and I wanted to do a project where I connect an SD card to the Pico, and it'll play the audio on my headphones. I know that the Pico W has Bluetooth support, but I can't find any ...
Polly Smith225's user avatar
1 vote
2 answers
68 views

Pico W common reference ground with 5V power supply safe?

I have a question regarding a new project I’m currently working on. It involves a Raspberry Pico W, an external 5V 12A power supply and a WS2812B LED strip. Now, I already got it working flawlessly ...
Seatropicalnet's user avatar
0 votes
0 answers
27 views

The 'i2c_write_blocking' function in Pico SDK

3 Weeks & No Answers... I am confused... I'm using the i2c_write_blocking function, but getting a strange result: If I do this - everything works as it should; i.e. I can read the values back from ...
Seamus's user avatar
  • 21.7k
0 votes
0 answers
27 views

Synchronizing both PIO clock dividers in the Raspberry Pi Pico

I want to run the same SM (state machine) program on all 8 available SM in the RP2040, but I ran into a small problem trying to get them to run exactly synchronized while using the clock divider. This ...
pipe's user avatar
  • 116
1 vote
1 answer
54 views

Raspberry Pi Pico W stopped working

I have a Pico W that was working connected to my computer, but suddenly turned off while running and not turning on anymore. I've tried to: Change the cables Change the port Connect it to Pi Model B ...
artem's user avatar
  • 111
0 votes
1 answer
63 views

How should I go about making a serial to ethernet server on a Pico varient?

I am trying to make a serial to ethernet server, similar to a regular pi board and ser2net, using a pico variant. I am using a Waveshare RP2040-ETH Mini Development Board, but there is very little out ...
Michael H.'s user avatar
1 vote
1 answer
43 views

How to program a RP2040 Chip (I don't have a Pico board, just the chip). I'm building my own PCB for my own needs

I have a rp2040 chip without the pico board. The usual method is to hold the BOOTSEL button, but I don't know which pins are connected to that button (well all I found is it is connected to TP6) but ...
Syed Khalid Hussain's user avatar
0 votes
0 answers
11 views

Multi threads ADC read and save on local file rpi pico

im trying to create a voice recorder using max9814 and raspberry pi pico with circuitpython/micropython and my problem is when it saves the recordings on .wav file some parts of the audio loses ...
Alirezaarabi's user avatar
0 votes
0 answers
36 views

Memory allocation failed (OV5640 VGA format, RGB565) with Raspberry Pico

I'm new to this forum and new to Pico. I'm currently working on a laser scanner using an OV5640 5Mpx I2C CAM and a Raspberry Pico. However, I'm encountering an issue when attempting to increase the ...
Fleurys RAJOELISOA ANDRIANIRIN's user avatar
0 votes
0 answers
48 views

Raspberry Pi Pico COM port setting

I have successfully loaded the firmware onto the (new) Pico WH and printed "Hello" from the web page as directed on Raspberry's "Getting Started" web page, but other than seeing (...
Ted's user avatar
  • 1
0 votes
2 answers
90 views

How do I get Raspberry Pi Pico to mount to the same Linux device every time it's in BOOTSEL mode?

Basically what's happening: I plug in my Pico W to my Raspberry Pi 4B (8GB model, running Ubuntu Server 23.10 arm64) via USB while holding down the button, so it's in BOOTSEL mode. I run sudo dmesg ...
HackerDaGreat57's user avatar
0 votes
1 answer
77 views

Understanding what happens with Raspberry Pi Pico in idle

I am verry new to Pico and I want to understand something. This is just a microcontroler, not a mini computer like RPi 4. From what I study so far, they say that it has a 125 MHz fixed clock and it ...
Marus Gradinaru's user avatar
1 vote
0 answers
81 views

Can't make DRV8833 work with Raspberry Pico

I'm building a toy car for my nephew. I want to drive a small DC motor with a Raspberry Pico with a DRV8833 motor controller. The controller is powered through the Pico. I seems fine, there is voltage ...
gphilip's user avatar
  • 111
0 votes
0 answers
70 views

Pico BOOTSEL mode stopped working - device descriptor read/64, error -110

This is my first RPi Pico experiment, so I'm a rookie here. I've connected an ultrasonic sensor to it and written a script in Python (in Thonny) to get readings and save them to local flash memory. ...
Tomislav Nakic-Alfirevic's user avatar
-1 votes
2 answers
86 views

Pico W Push Button not turning on the onboard LED

I am completely new to microcontroller in general and I am following along the kitronik discovery booklet. I have the circuit below built on my breadboard. When I run this circuit on wokwi.com it ...
Teddy's user avatar
  • 101
-1 votes
1 answer
32 views

'rose' and 'fell' in same keyboard script - pico/circuitpython

I have a reed switch (normally closed) attached to a Pico that when open send two key presses to the PC. I need a third key press to be sent when the switch is returned to the closed position. My ...
Nick C's user avatar
  • 93
0 votes
0 answers
66 views

Setting RTC alarm

I'm somewhat confused by the use of rtc.irq, more precisely the trigger argument. If I wanted to blink a LED every second using IRQ, the docs say that trigger has to be RTC.ALARM0. Do I have to use ...
Ecir Hana's user avatar
  • 121
2 votes
1 answer
72 views

Powering a pico with a lipo battery charged by a bike dynamo

So, I am building a gps tracker build on raspberry pico and a neo 6m gps module. Now, I want to power this project with a lithium battery that can offer some autonomy. I was thinking of using a , ...
Edoardo Balducci's user avatar
0 votes
0 answers
77 views

Connect Raspberry Pi Pico to 93C46 trought Microwire (3-wire Protocol)

i searched to know if someone did that before, but i didn't find anything, some C code to read and write using Arduino, but when i try to convert it i failed because i'm new at MicroPython and ...
Hitotam's user avatar
1 vote
0 answers
46 views

Can't download file from Raspberry Pi Pico to MacBook Pro

I'm using a Raspberry Pi Pico to control a coffee machine. As part of tuning the PID controller, I'm writing to a data.csv file on the pico, then downloading that to my MacBook Pro Silicon running ...
Andrew Dyall's user avatar
0 votes
0 answers
96 views

Where does Pico micropython print go with main.py?

If you load a main.py file onto the Pico with micropython firmware running, it will run on startup. I can tell that this is working because I observe GPIO outputs changing, etc. However, I'm not sure ...
alex's user avatar
  • 21
1 vote
1 answer
356 views

Debugging using raspberry debug probe fails with SWD error

I am trying to debug some code on a Raspberry Pi Pico W. I'm using PlatformIO. After some Issues with the OpenOCD version shipped with PlatformIO (Access Violations), which I fixed by replacing the ...
Lukas's user avatar
  • 11
1 vote
2 answers
558 views

One time timer interrupt? (Pico W, C/C++)

Is there a way to set a one time timer interrupt on the Raspberry Pi Pico? I.e. in code, I would be able to tell the hardware timer to interrupt me in a specified period of time. Example pseudocode ...
alex's user avatar
  • 21
0 votes
2 answers
153 views

Shorted power to ground through resistor (Raspberry Pi Pico)

I have a similar question to this post: Shorted Raspberry Pi Pico 3v3 pin to GND I have shorted pin 36 to 38 through a 1.5k resistor. I assume that because of the resistor there should have been ...
alex's user avatar
  • 21
0 votes
1 answer
81 views

Controlling multiple electromagnets from one Raspberry Pi

I have a need to build a spring mounted table, 12" square solid top in red, springs in blue and bottom in green, as in the diagram I need to place a solid ball on the top board so it rolls ...
Nicholas Walton's user avatar
0 votes
1 answer
158 views

How to use PIO one bit shift to FIFO on Pico in micropython?

I'm trying to port the Pico C/C++ SDK example on PIO FIFOs into micropython. I'm unable to get the out() instruction to work as intended. I've tested the generic micropython pio_blink.py sample, ...
Dan's user avatar
  • 101
0 votes
0 answers
29 views

Use external power supply

I'm a newbie I have a circuit which requires 12v to drive some ESCs that go to brushless motors and 5V that goes to pin 39 of a raspberry pi pico, they share a neutral / negative to complete the ...
Simon B's user avatar
  • 101
0 votes
1 answer
62 views

Pico Disconnects from Thonny when a relay is activated

Apologies if this is not a pico question, not sure where the problem lies... I have a small hobby motor (5v) mounted with a hobby fan: that is connected to Normally Open on a relay and 5V Wall Power ...
james6125's user avatar
  • 103
0 votes
0 answers
201 views

Why does 5V make this relay not work properly vs 3.3 V on the pi pico?

I have a small hobby motor (5v) mounted with a hobby fan that is connected to Normally Open on the Relay (pic) and 5V Wall Power supply (via a barrel/terminal block adapter.) On the input side, the ...
james6125's user avatar
  • 103
2 votes
2 answers
219 views

Cannot use global variable in pio function

I am working on a project in which I need to control a brushless motor with a microcontroller. I have chosen the Pico as I already have some on hand and there is a high chance of it being completely ...
lpinfinity's user avatar
1 vote
1 answer
467 views

Help with pico-sdk directory structure and CMake

Background: I am writing C++ code for the Pico on Windows using VS Code and CMake. What was working before: I have been writing programs successfully using the recommended directory structure: + ...
Rocketmagnet's user avatar
0 votes
0 answers
115 views

CIRCUITPYTHON drive not showing on rear USB ports

So I have a Raspberry Pi Pico running circuitpython and other prerequisites for the pico rgb keypad, and as shown in the title above, for some reason the circuit python drive only shows and the ...
fozzy's user avatar
  • 1
0 votes
0 answers
66 views

Voltage from Sensor drops when connecting to ADC pin of Raspberry Pi Pico

I'm trying to measure the voltage using a voltage sensor. If the power source is activated, the sensor outputs 2.6V, and if deactivated it outputs around 20mV. However, If I connect the signal pin to ...
Profi5000's user avatar
0 votes
2 answers
37 views

Where to find LED values of the Raspberry Pi Pico MicroPython Learning Kit?

I am getting started with a pico and I got the Raspberry Pi Pico MicroPython Learning Kit from waveshare (https://thepihut.com/products/raspberry-pi-pico-micropython-learning-kit-pico-included) It ...
Another_coder's user avatar
0 votes
1 answer
369 views

Invalid pin error Raspberry Pi Pico micropython

I'm currently doing a project using all of the GPIO pins on the raspberry pi pico. I want to configure pins 31, 32 and 34 (GP26, 27 and 28) as outputs but keep getting the 'invalid pin' error. No idea ...
lia12's user avatar
  • 1
1 vote
1 answer
207 views

Is it possible to use both interrupts and ADC on the same pin of the RPi Pico?

In order to use the Raspberry Pi Pico ADC on a pin, the adc_gpio_init function is used, which disables all digital functions (https://www.raspberrypi.com/documentation/pico-sdk/hardware.html#...
Anton's user avatar
  • 121
0 votes
1 answer
192 views

Playing audio on a Waveshare audio module

I've bought a Pico Audio module - assuming, maybe incorrectly, that being built to fit the Pico, speakers included etc it would be reasonably straightforward to get it working. https://thepihut.com/...
Oli's user avatar
  • 101
0 votes
0 answers
361 views

How would I get audio input to a pi pico?

I’m trying to make an audio visualiser with the pi pico, and I want to connect it to my computer. I need to read the audio from the computer to do this. I could use an audio jack, but I can’t find ...
Commodore 64's user avatar
0 votes
1 answer
167 views

Get package temperature of a Raspberry Pi pico using C

I'm working on a Raspberry Pi pico and I'm using the C pico-sdk. I want to get the temperature of my package so I followed the datasheet of the rp2040 (page 565) and I've used the following code : ...
Bibibou's user avatar
  • 13
1 vote
0 answers
94 views

Desktop Weather Display using Pi-pico-w

I'm trying to replicate this (https://mustardcorner.com/desktop-weather) project but I'm trying to use the Pico w instead of the Pizero w he was using. But the code obviously does not work on the Pico,...
Jesse gudgeon's user avatar
0 votes
0 answers
139 views

Can't connect via to server from http C client Pico W lwIP

I just try for already 3 days to make a http GET request, used a lot of examples, but all of them do not work. The code below, I checked, succesfully connects to WiFi, and resolves dns - obtains ip ...
isagsadvb's user avatar
0 votes
0 answers
100 views

I am trying to print "Hello World" 15 times from my Raspberry Pi Pico to a text file on my windows desktop via serial communication

Here is my code: Main.py (PICO code) import time for i in range(15): print("Hello World") time.sleep(1) Windows Desktop Python Code import serial port = "COM5" ser = ...
HEL's user avatar
  • 1
1 vote
1 answer
537 views

Update software of a Pico remotely

I'm using a raspberry Pi Pico and I'm struggling to find if it's possible to update my script remotely (I cannot use neither SWD or USB). Currently my new firmware (can be .uf2, .bin or .hex file) is ...
Bibibou's user avatar
  • 13

1
2 3 4 5 6