Questions tagged [pi-pico]

Questions regarding the Raspberry Pi Pico.

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

Rasberry Pi Pico + RFID-RC522 restarts pi pico

I am using this micropython library -> https://github.com/wendlers/micropython-mfrc522/blob/master/mfrc522.py I have my pi pico connected to my raspberry pi 4 over USB. When I run read.do_read() it ...
user23893926's user avatar
0 votes
1 answer
33 views

Crazy acceleration with EVAL-ADXL373Z

I am extremely new to both Raspberry Pi and working with MicroPython (and i2c protocol). When trying to read data from the EVAL-ADXL373 using Raspberry Pi Pico W I get values ranging from 0 m/s^2 to ...
Emma's user avatar
  • 1
0 votes
0 answers
19 views

How can I use a relay to control an inverter from a Raspberry pi pico?

The inverter has a remote on/off port that can be used with an rj10 cable. I connected an Rj9 cable (The same as Rj10/Rj22, 4p4c) to the port on the inverter, and stripped the other end to get access ...
nn089's user avatar
  • 1
0 votes
1 answer
37 views

Raspberry Pi Pico only works when plugged into PC usb

I made a basic program that turns my pc on and off at certain times of the day and it works as long as it's plugged into a usb port on the pc. I want the script to work on the PI so I can integrate it ...
iceman's user avatar
  • 3
0 votes
1 answer
39 views

Pico: GPIO pin need to be high at power up to ensure correct behaviour against connected 8-bit computer

I am experimenting with creating a replacement for the 8048-based keyboard for an old 8-bit Z80 computer over a parallel port, where the value is read when a strobe pin goes from high to low. I have ...
Thorbjørn Ravn Andersen's user avatar
0 votes
2 answers
50 views

Have Pico turn lights on at sunset and turn off at 2am next morning

I am still new, but trying to learn. i have been piecing this together, and i'm not getting anywhere. i hope this can be done easier then what i have. the end goal is have the pico get the current ...
AmongTheShadows's user avatar
0 votes
1 answer
50 views

Communication between two RP2040 devices with micropython

I have two RP2040 devices, one a Raspberry Pi Pico W(H), and one a Waveshare RP2040 LCD 1.28 device. I am trying to send data from the Waveshare to the Pico through a USB cable (USB-C on the ...
Andrew Stacey's user avatar
-1 votes
1 answer
43 views

Hooking Up an RJ-12 Cable to a Raspberry Pi Pico W: Simplifying Data Collection

I'm looking to gather data from an industrial-sized battery with an RJ-12 port. My idea is to connect a Raspberry Pi Pico W to the battery using an RJ-12 cable for data collection. I'm considering ...
Julian Zientkowski's user avatar
0 votes
2 answers
22 views

Pico W I2C timeout occurs when using multiple sensors on a single bus

I am using to VL53 lidar sensor chips on a single I2C bus. This specific chip does not have an option to change I2C address through hardware and so I must do it through software. This works and I am ...
Joe Moore's user avatar
  • 181
0 votes
0 answers
46 views

How to enable Raspberry Pico's I2C0_IRQ and set a callback function using MicroPython?

I need to setup a Raspberry Pico as a I2C Slave device. I know how to do this, but I don't know how to eneble the I2C IRQ and set a callback function on it so I can be notified of the I2C events ...
Marus Gradinaru's user avatar
0 votes
0 answers
36 views

Pico: upload without pressing the BOOTSEL?

I'm on Windows (11). I'm using VS Code with PlatformIO. I have an Adafruit QT Py RP2040 board. I need to mount it into an enclosure so I won't access to the buttons. USB-C port is exposed How can I ...
Daniel's user avatar
  • 259
0 votes
0 answers
13 views

Pico .uf2 not moved to output via ARCHIVE_OUTPUT_DIRECTORY

I wish to have the final .uf2 file destined for the Pico placed by the toolchain in a particular location. I have set this up using this command in CMakeLists.txt. set_target_properties(${PROJECT_NAME}...
Warpspace's user avatar
-1 votes
1 answer
35 views

Python-less Pi Pico toolchain in Windows

Is there any way to build a C++ Raspberry Pi Pico binary without having to install Python. It's quite heavyweight and feels quite unnecessary (I do like tidy toolchains without huge bloat and an ...
Warpspace's user avatar
0 votes
2 answers
26 views

Pico W GPIO seems to be not working when under load

I can blink the built-in LED using the standard code, but when running my moderately resource-intensive code, I cannot get the led to blink. I am connecting my Pico with WLAN. I interrupted the loop ...
poloPlaya's user avatar
2 votes
1 answer
33 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
40 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
1 vote
0 answers
92 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
31 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
49 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
42 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
119 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
1 vote
0 answers
48 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
110 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
1 answer
87 views

The 'i2c_write_blocking' function in Pico SDK

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 CONFIG_REG, and they match ...
Seamus's user avatar
  • 22k
0 votes
0 answers
44 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
89 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
115 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
62 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
12 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
40 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
75 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
144 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
104 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
101 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
99 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
159 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
37 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
98 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
79 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
94 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
50 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
1 answer
134 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
529 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
689 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
205 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
86 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
190 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
31 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
69 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
266 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

1
2 3 4 5
7