Skip to main content

Questions tagged [pi-pico]

Questions regarding the Raspberry Pi Pico.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

I2C Sensor Returning 0's on Pico but works Perfectly on RPi 3

I'm at my wits end over an ENS160 sensor I have working perfectly with a Raspberry Pi 3 (running full Linux OS and Python), but refuses to return any data when interfacing through a Raspberry Pi Pico ...
TimHanewich's user avatar
0 votes
0 answers
21 views

Square signal generated by Pico has unexpected waveform

I developed a small program for the Raspberry Pico using the Wokwi online simulator but when I tried to use the actual device it didn't work. I started by debugging the signal generated with a logical ...
EliaB's user avatar
  • 1
-1 votes
0 answers
42 views

RP2040 i2c: What is ic_clk in the manual referring to

Background I'm currently writing a device driver for the RP2040's i2c module and struggled a lot in understand the manual. I had to re-read the sections on how to calculate the IC_SCL_CNT, ...
Jan's user avatar
  • 1
0 votes
1 answer
35 views

Using DMA + PIO to write function sample points to a DAC chip periodically

I'm attempting to make a function-generator (or AWG) with a Raspberry Pi Pico. For that, I'd like to utilize the DMA and PIO capabilities of the chip. On a DMA channel I would copy and direct sample ...
Peter Lenkefi's user avatar
0 votes
0 answers
21 views

Fast way to charlieplex 7 pin on Pi Pico

I am starting a project with the Raspberry Pi Pico W in Arduino IDE. I will need to charlieplex 36 LED with 7 uC pins (LEDs= 7 * (7-1)), what I am doing for every LED every time I need to turn it on ...
Clóvis Fritzen's user avatar
0 votes
0 answers
19 views

I know this is a dumb one, Only one run after copying uf2

Working through examples & creating a new stepper motor system. Yeah, I know it drops the drive, etc. and runs. But after that it doesn't run again. Did I miss something? Do I need to wire the run ...
Dennis Shelgren's user avatar
0 votes
0 answers
20 views

Hello, I can't seem to identify the problem of why my ECG value(AD8232) is negative and not giving me a proper reading. What do I need to change

import machine import time from blynklib import Blynk # Initialize Blynk with your auth token BLYNK_AUTH = 'fgVF4IWzS-RFyKmb8DvNTKfm8Rwgt0JU' blynk = Blynk(BLYNK_AUTH) adcpin = 4 sensor = machine....
Dhrishit Rathod's user avatar
0 votes
0 answers
19 views

CQRobot Ocean: MCP23017 IO Expansion Board - "No pull up found"

I've got an IO Expansion board made by CQRobot that I'm trying to get working, but I can't get i2c to initialize. Here's the board: http://www.cqrobot.wiki/index.php/MCP23017_IO_Expansion_Board_SKU:...
Psyferre's user avatar
0 votes
0 answers
24 views

Development environment for RPico without USB

Goal: use a microprocessor (most likely RPi Pico, i.e. RP2040) for SDR analysis in combination with RTL2832U (typical rtl-sdr dongle) and output some information on a small LCD display (connected with ...
Alex's user avatar
  • 1
0 votes
1 answer
29 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
42 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
24 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
50 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
58 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
55 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
122 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
51 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
32 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
52 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
70 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
  • 269
0 votes
0 answers
15 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
41 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
33 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
58 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
43 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
128 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
52 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
82 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
54 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
177 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
82 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
2 votes
2 answers
157 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
185 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
  • 22.3k
0 votes
0 answers
74 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
233 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
166 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
139 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
13 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
42 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
128 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
1 vote
2 answers
237 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
125 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
133 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
122 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
224 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
40 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
123 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
88 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
108 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
53 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

1
2 3 4 5
7