Skip to main content

Questions tagged [pi-pico]

Questions regarding the Raspberry Pi Pico.

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

Unable to control TFT screen using RP2040

I am tinkering with the raspberry pi pico (the one with RP2040 chip). I am trying to use a TFT 1.24 screen controlled by the GC9A01A driver. I have followed the datasheet and the code I was able to ...
KmerPadreDiPdor's user avatar
0 votes
1 answer
22 views

Build file sharing server with Raspberry Pi Pico + HDD to load files via ethernet cable

I'm in need of creating a server for hosting PlayStation 2 games. I've heard the Pico is able to achieve 10Mbps of transfer speed, and since I need 8Mbps, 10Mbps is more than enough. So my first ...
15465649568's user avatar
0 votes
0 answers
42 views

Problems reading MIDI via USB on Pico using CircuitPython

I want to connect a MIDI keyboard (oxygen) to a pico, to use the keys and knobs as controllers to other functions on the pico. Connected directly via USB using an OTG-adapter, i.e Oxygen - USB-B USB-A ...
wikmats's user avatar
0 votes
1 answer
25 views

LSM9DS1 I2C not working

I'm trying to use a Raspberry Pi Pico to read data from an LSM9DS1 (blue one pictured here: https://learn.adafruit.com/adafruit-lsm9ds1-accelerometer-plus-gyro-plus-magnetometer-9-dof-breakout/...
Will Long's user avatar
1 vote
0 answers
33 views

How can I display small black and white images on a e-paper spi display with a Raspberry Pi Pico W?

I have purchases a Raspberry Pi Pico W and have wired it to the Waveshare 1.54 inch e-Paper display module V2 I have used the code available at the github page, specifically the epd1in54b.py and the ...
odo59's user avatar
  • 11
0 votes
0 answers
47 views

DHT22 reading bad data

I am trying to take a temperature/humidity reading using a Pico H and a DHT22 sensor. I am following the raspberry pi C examples. https://github.com/raspberrypi/pico-examples/blob/master/gpio/...
Suipaste's user avatar
  • 109
0 votes
1 answer
37 views

Using P-Channel Mosfet with RPI Pico W

Hi there I got quite a project on my end I am using a mosfet specifically IRF4905 now the I want to turn on a 12 volts LED using this I have the following materials 12v power supply pi pico w 12v LED ...
Snow Angel's user avatar
0 votes
1 answer
45 views

What is the role of the components in this AC coupling circuit?

I'd like to learn more about the RP2040 PWM Audio AC coupling circuit found in figure 22 in this document & shown below. Even though I understand the general purpose of AC coupling, can someone ...
Erik's user avatar
  • 101
0 votes
2 answers
75 views

Using a Raspberry Pi Pico on a motorcycle lights/blinkers: how to power and use I/O?

I'd like to build a "smart" blinker for my old motorcycle, as the original one can't handle LED bulbs (not enough power consumption) and also i want to increase functionality. It should keep ...
Parduz's user avatar
  • 103
0 votes
0 answers
57 views

Raspberry Pi Debug Probe: clock line driven low after programming target

As the subject line says, I am having an issue with the clock line of the debug probe being driven low after completion of programming my target chip. Project setup overview: I am using the Raspberry ...
Juliana Gentile's user avatar
0 votes
0 answers
33 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
28 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
0 votes
1 answer
74 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
38 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 ...
user avatar
0 votes
0 answers
22 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
25 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
34 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
1 answer
82 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
77 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
58 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
31 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
96 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
175 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
68 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
253 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
95 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
60 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
  • 211
0 votes
0 answers
66 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
1 vote
0 answers
180 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
  • 279
0 votes
0 answers
22 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
58 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
2 votes
1 answer
89 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
1 vote
0 answers
200 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
1 answer
143 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
-1 votes
2 answers
69 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
303 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
149 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
260 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
445 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.6k
0 votes
0 answers
161 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
554 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
251 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
0 votes
1 answer
418 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
23 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
52 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
1 answer
476 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
171 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
166 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
185 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
274 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
2 3 4 5
7