Questions tagged [pi-pico]

The tag has no usage guidance.

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

my raspberry pi pico oled display code is returning 'OSError: [Errno 5] EIO'

I've been trying to use an ssd1306 oled display with a raspberry pi pico but every time I run the code it returns an error. I don't know what the error means and can't really find anything online for ...
  • 1
0 votes
0 answers
18 views

How do I use FreeRTOS in C on a Raspberry Pi PicoW using Visual Studio Code and PlatformIO?

I'm trying to run FreeRTOS on a Raspberry Pi PicoW. I'm using Visual Studio Code with PlatformIO to connect to the Pico. I have a folder for the project where I put the FreeRTOS include files and the ....
  • 1
1 vote
1 answer
28 views

Is it possible (and wise) to use RPi Pico W to control an atomiser which has 5V operating voltage?

I’m working on a project which uses Grove Water Atomiser which has 5V operating voltage. I’ve used it with Arduino nano and it has 3 pins: Vcc (5V), Gnd and a control pin which receives the signal ...
0 votes
0 answers
14 views

Troubles with connecting ssd1306 oled to Pico

When I plug in a display and try to run some simple code, Tohnny throws an infinite loop of errors. What can be wrong? Everything worked well before with same config. Can the display break? from ...
  • 1
1 vote
0 answers
44 views

is it possible to connect a USB microphone to Pi Pico

I am attempting to do some real-time audio processing using the Pi Pico. I know that a MEMS microphone can be connected and used for this purpose (see here and here). However, I need to use an analog ...
0 votes
0 answers
18 views

Raspberry pi pico w eduroam wifi

How can I use eduroam wifi on the rpi pico w? If possible it should be in circuit python but if it can only be done in micro python I need to know if I can use a HID interface then.
  • 1
1 vote
0 answers
17 views

Cannot locate the raspeberry pi pico on my computer (`UF2_Board ` instead of `/dev/cu.usbserial-0001`)

I want to connect to upload code on my raspberry-pi-pico but my computer does not recognize it. When using the arduino cli it seems to be recognized under the UF2_Board instead of the classical /dev/...
  • 111
1 vote
0 answers
45 views

Part of script wont run when named main.py or boot.py

I am using a RaspiPico W RP 2040 with micropython and Im trying to autorun this script when Pico is powered. I plan on powering the pico with an external power brick. The script is a multithreading ...
1 vote
0 answers
60 views

Setting up Raspberry Pi Pico Examples on Windows and CLion

I am attempting to just get the the Raspbery Pi Pico SDK examples working but I am running into an issue.... System: windows 10 IDE: CLion 2022.2.4 CMAKE: 3.25.0-rc3 Arm GNU Toolchain: 12.2.0 Python: ...
  • 11
1 vote
1 answer
62 views

High Impedance (Hi-Z) state for Pico GPIO

Using a Pico [RP2040], I wish to interface to a data bus which is (already) pulled high. (Based on the contents of the address bus) I want to put data on the data bus [ie. "memory mapped i/o"...
1 vote
0 answers
24 views

Pico C programming: Make all projects use the USB port

I'm in the learning process for the RPi Pico using the C SDK. So far, the interesting examples I've followed output their results over the serial port. I've learned that some of the examples include a ...
  • 19.2k
2 votes
0 answers
72 views

Creating a servo PWM signal for BLDC ESC Controller using PICO

I am trying to use my RPi PICO to control a BLDC ESC. Using a servo tester it works perfectly, but I want to be able to use this with my PICO and with a trigger/spring potentiometer. Basically it will ...
  • 21
0 votes
1 answer
39 views

Pico W Grounding Problem

So im pretty new to hardware stuff and bought a Pico W. I followed this tutorial and it kind of worked. The blue cable goes from Pin 2 to the LED, the led to the resistor and the resistor over the ...
  • 11
1 vote
1 answer
168 views

Controlling leds with potentiometer and a button on a raspberry pi pico

I am trying to control Leds with a button to change if one is on or off and a potentiometer to control the brightness of the Leds. I am using a Raspberry Pi Pico. Is there a way to do this.
1 vote
1 answer
49 views

Serial data over 30meter shielded Cat5e cable in industrial environment

I'm designing an industrial solution for monitoring and controlling some large raw-material processing machines. What I want to have is an RPi Pico at each piece of equipment that can standalone ...
0 votes
0 answers
28 views

Use raspberry pi pics to record rpm on a wheel

I would like to use a raspberry pi pick to record the rpm of a wheel on a rc car. There will be a contact on the wheel, and a contact on the body of the car. As the wheel turns, if the two contacts ...
-2 votes
2 answers
71 views

How can I connect a raspberry pi pico to an oscilloscope to measure power consumption?

I have loaded a neural network onto a Raspberry pi pico and I want to know how to connect it to the oscilloscope to measure its power consumption over time. I have the necessary components for wiring ...
3 votes
1 answer
363 views

How to do rising-edge detection on a Raspberry Pi Pico

Is there a non-polling way to detect when an input goes from OFF to ON with the Raspberry Pi Pico MicroController? I see the Raspberry Pi allows one to do something like below to detect rising edges ...
  • 131
0 votes
1 answer
39 views

How to send data between two already configured HC-05 modules

I'm new to electronics and microcontrollers, and I'm building an small project in which I'd like to send information from a master HC-05 bluetooth module to an slave one, I've already synced them ...
1 vote
0 answers
29 views

How to connect SD card and battery to Pico?

I have been looking into components I need for a MicroPython project. I needs to be battery powered and be able to read/write to a removable SD card. For this, I have discovered SD breakout boards. ...
1 vote
0 answers
38 views

Pico-ETH-CH9121 complete use case example

I purchased Waveshare's Pico-ETH-CH9121 and followed the instructions at https://www.waveshare.com/wiki/Pico-ETH-CH9121. Unfortunately, I do not understand what to do to establish a TCP/IP connection, ...
  • 113
2 votes
1 answer
341 views

DS18B20 OneWire Library with Raspberry Pi Pico W and Micropython

Good day, I am using a Raspberry Pi Pico W with a temperature sensor among other things. I tried finding code online to make the temperature sensor work and it returns the following error. Found DS ...
  • 23
2 votes
1 answer
77 views

Raspberry Pi Pico doesn't create tty file

I've been using Raspberry Pi Pico for some time already and I'm using minicom for serial communication. But one day Pico stopped generating tty/ATCM0 when connected to USB port. Before this everything ...
  • 121
1 vote
1 answer
54 views

Debuging Pico W

I have followed the instructions for using openocd to debug an program, but the output I get from openocd is: Info : Hardware thread awareness created Info : Hardware thread awareness created Info : ...
  • 11
0 votes
0 answers
47 views

500khz adc measurements using micropython

Following the "getting started" guide for the Pico, I know its possible to read the ADC at 500khz if you also do DMA. The example does it using C. Is it possible to do this in Micropython? ...
0 votes
1 answer
99 views

Why am I getting this syntax error in micropython?

I am testing the raspberry pi pico, and am getting a strange syntax error. I have no idea why. from time import sleep led = Pin(25, Pin.OUT) wait = 0.1 while True for x in range(9) wait += ...
0 votes
1 answer
69 views

RpiZero and RpiPico communication through nrf24l01 not receiving packages

I am trying to implement a wireless communication between RpiZero and RpiPico through NRF24l01 modules. Pico is the receiver, and Zero is the transmitter. I have successfully started the Pico ...
  • 121
0 votes
1 answer
47 views

Use raspberry pi pico to open programs on host PC

I have both a raspberry pi pico and pico w, and am attempting to connect either one to a toggle switch, and use the input of said switch to either open or close an application on the host PC (...
  • 1
0 votes
1 answer
94 views

Raspberry Pi Pico not mounting

My raspberry pi pico has been (auto) mounting fine so far but suddenly it has stopped doing so. More specifically, when I was plugging it into the usb port (pushing down BOOTSEL) of an Ubuntu machine (...
0 votes
1 answer
112 views

Raspberry Pico SDK - I2C Write to one Register Address (to set mode) then Read data from 2nd Register Address

I'm a bit confused by i2c_write_blocking() and how to specify the device_address, register_address and data to prime a device for reading and then to read data from another 2nd_register_address in the ...
1 vote
1 answer
322 views

Pi Pico W: what is the practical difference between RUN and 3V3_EN pins?

Pi Pico W datasheet states: 3V3_EN connects to the on-board SMPS enable pin, and is pulled high (to VSYS) via a 100kΩ resistor. To disable the 3.3V (which also de-powers the RP2040), short this pin ...
  • 396
0 votes
0 answers
56 views

Code not running on RPI pico

I have the following code on the rpi pico W: include "pico/stdlib.h" #define LED 25 int main() { gpio_init(LED); gpio_set_dir(LED, GPIO_OUT); while (true) { ...
1 vote
1 answer
66 views

RF22 library for Raspberry Pi Pico

I want to use this RF22 module (in a breakout board) with a Raspberry Pi Pico. However, I have tried both the RadioHead (which is for teensy boards, as i found out later) and RF22 library without any ...
1 vote
0 answers
169 views

Set/Change PID / VID on Raspberry Pi Pico

I want to change the Product ID and Vendor ID of my Raspy Pico. After some research I found the TinyUSB library and there seems to be settings for Device Descriptor. As soon as I integrate the library ...
  • 11
0 votes
0 answers
10 views

Problem interfacing 16x02 and 20x04 LCD

I have written (modified) a program to interface 16x02 and 20x04 LCD. The LCD driver is a working driver operational on Infineon XMC4500 micro-controller. I have replaced the sleep function with Pico ...
1 vote
2 answers
90 views

Debian-based distro for Raspberry Pi Pico development

The "Getting started with Raspberry Pi Pico" guide states in chapter 2: The following instructions assume that you are using a Raspberry Pi Pico and some details may differ if you are using ...
  • 113
0 votes
0 answers
77 views

Reading DHCP options on Pico PI W

When I connect my Pico PI W to WiFi using one of the cyw43_arch_wifi_connect... methods, it receives a client IP address, gateway etc. from my DHCP server. I can read those values using for example &...
  • 101
1 vote
1 answer
250 views

How can I connect my Raspberry Pi Pico W to an Eduroam WiFi access point (WPA authentication)?

For a teaching demo about autonomy in scientific research, it will likely be a major blocker if students cannot connect the Pico W to their school's WiFi. Someone suggested MAC spoofing, and I agree ...
  • 111
2 votes
1 answer
587 views

Power Pi Pico by applying 5 V to VSYS—any experiences with or thoughts on additional safety measures?

The official Pico datasheet chapter 4.5 suggests using either a Schottky diode or a P-channel MOSFET (P-FET; or a combination of both) when powering the Pico from an external power source (at least if ...
1 vote
1 answer
276 views

Raspberry Pi Pico mic and speaker

Id like to connect a microphone, a speaker and a usb memory stick to the Pico. But as I understand both analog mic(https://www.adafruit.com/product/1713) and audio shield(https://thepihut.com/products/...
1 vote
1 answer
138 views

missing libusb-1.x to install openOcd to use picoprobe

I am trying to set up a picoprobe in order to program my rp pico using only wires (using another rp pico). I am following these instructions in Appendix A. I have windows 11 at the moment. When i try ...
0 votes
1 answer
56 views

How to control existing button with a Raspberry Pi? [closed]

I've got a simple standing with two buttons up/down. It has built in overload protection, i.e. when it's blocked. I'm pretty sure the controller behind the up/down button does that. As my first Pico ...
  • 111
2 votes
2 answers
104 views

Controlling 5 DC motors with Pi Pico

I have a robotic arm which I want to control using Pico W. The issue is the arm has 5 motors but I was only able to find driver boards which can handle up to 4 DC motors using I2C. Are there boards ...
0 votes
1 answer
121 views

Raspberry Pi Pico: Input Not Working as Expected

I was following the Pico tutorial and got stuck on the inputs part as my Pico does not show value 1 even when the button is pressed the outputs are working fine, I continued and got stuck again on ...
  • 1
0 votes
0 answers
33 views

Prevent Raspberry Pi Pico From Opening Files Explorer When It's Plugged In

I just finished turning my Raspberry Pi Pico into a Macro Keyboard. The most annoying thing about it is that Windows treats it as a USB drive, and opens file explorer every time it is plugged in. ...
0 votes
0 answers
101 views

BME280 sensor on I2C 0 stopped working after adding another one on I2C 1

I have two similar BMP280 sensors. First, I connected one of them to GPIO 16, 17 (SDA, SCL) as well as 3V3 and GND. I ran the following script in MicroPython to read temperature and other measurements:...
0 votes
1 answer
99 views

Does the Pi Pico need any kind of shutdown switch?

I am using the Pico to monitor voltage and amperage outputs of some solar panels (gotta love science fair) and am concerned with possible data loss. Is there a chance for data loss if the Pico is ...
  • 1
0 votes
1 answer
182 views

New Raspberry Pi Pico disconnects during MicroPython installation

I have a problem setting up a new RaspPi Pico. I pressed the BOOTSEL button, connected it via USB to my Windows machine and released the button. I copied the .uf2 file previously downloaded for this ...
-1 votes
1 answer
34 views

Can't get the correct serial response between Raspberrypi 4 and Pico

I'm trying to make a little connection between both my Raspberry pi 4 and my Pico. Everything was ok until the pico suddenly stoped recieving what I'm sending from the Raspberrypi. Expected Outcome I ...
  • 11
1 vote
0 answers
221 views

PN532 with Raspberry Pi Pico

I have PN532 NFC Module that looks like this I am trying to connect this NFC Module with Pico, but I have no luck in finding library that allows me this. What can I do to control it? Can you ...
  • 23