Questions tagged [pi-pico]

The tag has no usage guidance.

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

RPI Camera Module with Pico

does anybody know if it is possible to use the RPI Camera module (Rev. 1.3) with the Pico or any other RP2040 board?
1
vote
1answer
29 views

Raspberry Pico SPI at 24 bit

First post on here. I’ve recently designed a board for a Raspberry Pico to control the TI TDC7200. This IC uses SPI for communication, 8 bits for command and 24 bits for reading some of the data. ...
1
vote
1answer
217 views

Using Pico as GPIO extender

When the Pico became available I bought 2. I installed MicroPython on the first and used for a few applications. I though the Pico would make an excellent and inexpensive GPIO extender for the Pi, but ...
0
votes
2answers
41 views

Could a raspberry pi pico power a PC fan

I have recently soldered a 90mm PC fan to a USB cable and it works great. I was wondering if it would be possible to power said fan off of the 5v output pin on the pico, and solder the black wire to ...
0
votes
1answer
17 views

How to connect 2 Analog Joysticks to the Raspberry Pi Pico microcontroller?

How do you connect 2 Analog Joysticks to the Raspberry Pi Pico microcontroller? I have seen many tutorials, but all of them show only 1 joystick through the 3 ADC pins available.
3
votes
2answers
365 views

How to get 5V power output from Raspberry pi Pico

After going through the Raspberry pi Pico datasheet it has only 3.3V power output. I want to power some devices that require 5V from the Pico. How can I get 5V output from the Raspberry Pico?
0
votes
1answer
48 views

Communication Raspberry Pico and 3B+

I recently bought a Raspberry Pico to increase the capacities of my oldest Pi3B + tenfold in terms of sensors, buttons, LEDs, GPIO, etc. But I can not find for the moment any protocol or Bus allowing ...
0
votes
0answers
17 views

Interfacing a camera (HM01B0) with RPi Pico

I want to build an image classifier and plan to use use it on Raspberry Pi Pico. Therefore I need to connect the Pico to a camera. I've got a HM01B0 camera module from Sparkfun here (https://www....
3
votes
1answer
152 views

Is there a python library to allow I2C between Pi (master) and Pico (slave)

I want my Raspberry Pi to control my Raspberry Pico. I'm trying to send bytes of data to the pico and then read the data on the pico so that I can take different actions depending on the data sent (e....
0
votes
0answers
34 views

How to switch pin direction in PIO

I want to implement the Gameboy Advance "Multi-Play/Multiboot" protocol in PIO. Essentially the way this protocol works is as follows: 4 pins: SI, SO, SD, SC master knows it's master ...
1
vote
0answers
503 views

Raspberry Pi Pico - how to lower power consumption

I am using a Raspberry Pi Pico to provider a pacemaker signal to a broken flip clock that needs to trigger a change every 12 hours. As a proof of concept this works and does what it's designed to do. ...
1
vote
1answer
44 views

Pi Pico: Input Not Working as Expected

I'm having a problem reading from a Pico's GPIO port - at least it doesn't behave the same as on an Arduino. The setup is pretty simple. There's a 433Mhz RF-receiver whose data-pin is connected to ...
1
vote
1answer
65 views

Connection problem Raspbbery Pico [closed]

I have a problem connecting raspberry pico. I tried the standard connection before you connect with the usb cable holding the bootsel key. But nothing happens. Pico does not connect to the computer. ...
0
votes
0answers
51 views

Reading usb stick using Pico

I want to read files from the USB stick (preferably FAT, Ext3, Ext4, and NTFS, but if that's too complicated, then I'll stick with FAT32) Is it possible without external modules (like CH376 for ...
0
votes
1answer
324 views

Connect a Microphone to Raspberry Pi Pico ADC Pins

I’d like to try using my voice as an input to my Pico. I think I should be able to define a pair of one-word voice commands, and train a Tensor Flow Lite Micro for Pico model on them. What I can’t ...
0
votes
0answers
63 views

How to test if Pico State Machine is working?

I am trying to get some WS2812b LEDs to run with my Pico. Before actually attaching them I am trying out this library: https://github.com/benevpi/pico_python_ws2812b/blob/main/ws2812b.py It is using a ...
0
votes
0answers
335 views

Raspberry pi pico modbusRTU communication as master with slave computer using micropython

I am working on a slave computer and want to save the data transmitted from the master raspberry pi pico. In micropython there is modbus library github link. I want to use this library but there is a ...
1
vote
0answers
40 views

Raspberry pi pico socket module error when trying to use modbus in micropython

I wan't to use modbus library in pico. First of all, I just try ModbusTCP then ModbusSerial. I am trying to use this https://github.com/techbase123/micropython-modbus github source. When I run the ...
1
vote
1answer
811 views

Rpi pico micropython ssd1306 OSError: 5

I have .91inch 128x32 pixel oled display. here im following Tom's Hardware tutorial here I'm using Thonny on windows 10 ive basically copy and pasted from Tom's hardware from machine import Pin, I2C ...
0
votes
1answer
44 views

Concurrent Stepper motor execution

Is is possible to move two steppers concurrently (note- not threaded or interleved code but at the exact same time) with the PIO peripheral on the Pi Pico 2040 ? Follow up question. The Rpi Pico has ...
0
votes
1answer
41 views

Do `pthreads` work on the Pico with the native c++ SDK without posix?

I am trying to port AprilTags to the Pi Pico. This has a dependancy on pthreads. As is outlined in this SO question pthreads needs a posix layer. However there is this youtube video showing it working ...
1
vote
2answers
274 views

PC Windows 10 Thonny MicroPython IDE does not detect Rpi Pico MCU or I2C/SPI/UART devices

I was using micropython at the time it stopped working. the pico used to work. it stopped working. when i insert the pico, windows gives me a message saying that the device cannot be recognized. in ...
0
votes
0answers
26 views

Performing Rshell Commands using Python

I want to excecute rshell commands with python to code my Raspberry pi Pico using python itself. I need to automate few commands to make rshell micropython codes easily. Do you have any idea to run ...
1
vote
0answers
163 views

Raspberry Pico RP2040 - Circuitpython ULAB FFT Frequencies

I am trying to properly perform FFT and calculate frequencies on my PICO using CircuitPython's (CP) ULAB library: ULAB FFT With traditional Python using NUMPY and SCIPY, this is easily achievable, ...
0
votes
0answers
92 views

Pi-Pico /dev/ttyACM0 (USB serial) disappearing — I2C testing with C

[ Pi-4B 8GB ] <-USB->[ Pi-Pico ] I have the USB serial enabled in the CMakeLists.txt file: pico_enable_stdio_uart(i2c_test_01 0) pico_enable_stdio_usb(i2c_test_01 1) yet I find there is no /dev/...
0
votes
0answers
106 views

PICO ASM: Conversion between pioasm and adafruit_pioasm MOV command

I am running CircuitPython on a Raspberry Pi Pico and I am attempting to do some pioasm, which is different on CircuitPython than in MicroPython. According to the adafruit pioasm documentation: Major ...
-1
votes
1answer
232 views

Cmake example for pi-pico

Does anyone have an example of a cmake config for pi-pico project?
2
votes
2answers
922 views

Installing an executable or MicroPython script on a Pico to run on boot without a computer attached

I've searched and not found an answer.. I'm proficient in C and Micro-python and developing and running programs is easy enough. However I can't figure out how I install a program I've written to ...
1
vote
0answers
103 views

Raspberry Pi Pico interfacing Rpi4B / WinPC Thonny Python IDE Problem

I am new to Raspberry in general so I dont have a lot of experience with these devices. I recently bought the raspberry pi pico and downloaded the micropython file from raspberry´s website. Everyting ...
1
vote
2answers
2k views

RPI Pico: How to use ESP8266 (ESP-01S) as wifi modem?

I would like to use the Raspberry PI Pico to monitor exchange rates for crytpo currencies and inform me via SMS (using a SIM800l module) when certain prices are exceeded or fallen short of. I ...
0
votes
0answers
91 views

How can I make the Raspberry Pico not automount as USB storage while using Circuit Python

I am using Circuit Python on a Raspberry Pi Pico to give me hardware buttons for keyboard shortcuts. I am using Circuit Python as opposed to MicroPython because it has the USB_HID library. I don't ...
1
vote
1answer
120 views

Problem copying Micropython from Rpi2 to Pico

I am following this page for instructions: https://www.raspberrypi.org/documentation/pico/getting-started/ I see the pico added as a drive when I hold sel button, and apply power with the usb cable. ...
1
vote
0answers
542 views

Pico power management in micropython

I have one of those new Pi Picos, and as I understand great power savings can be had by putting the pico into sleep mode. I can see from the CPU spec sheet that this is possible, however I can't find ...
1
vote
1answer
971 views

Did I just fry my Raspberry Pi Pico?

So, I recently bought a Rpi Pico and tried to make a Bluetooth remote control out from it. What I did: I used an HC-05 Bluetooth module (require 3.3V), 3 momentary button switch (powered from GPIO pin)...
1
vote
1answer
226 views

Can you run a flask server on Raspberry Pi Pico?

Provided neither Nginx and Gunicorn are used, are the hardware specs of the Pico enough to handle a very simple flask app? Also, does the Pico's MicroPython support flask? If not, how can I simulate ...
3
votes
1answer
809 views

Rpi Pico Thonny Micropython Setting Up With Rpi4B/Windows PC Problem

I am currently using ESP-32 in Thonny using micropython. I know that Raspberry Pi pico also uses micro python But There is no option for Raspberry Pi Pico. I am using Thonny 3.2.7.
3
votes
3answers
3k views

Not able to connect Raspberry Pi Pico

I am trying to connect to Raspberry Pi pico using Thonny. I am using Ubuntu 20.04. Giving Error Couldn't find the device automatically. Check the connection (making sure the device is not in ...
0
votes
3answers
603 views

How should I use headers on my Pi Pico?

I bought a couple of Pi Pico. The Pico is very wide and leaves little space on a breadboard -- I'd like to add headers on my Pi Pico, but I am not sure about the best way to arrange this.
6
votes
2answers
2k views

DS18B20 and RPi Pico

I will be getting my Raspberry pi pico here in a few days and want to connect a DS18B20 and use MicroPython. I have a project the uses RPi zero w and Python3.9. Since obviously, the pico does not use ...
1
vote
3answers
2k views

Import Error from MicroPython on Raspberry Pi Pico

I have set up my Raspberry Pi Pico and successfully run several MicroPython examples, however, I am now trying to run the 1306 OLED example from Appendix A of the Raspberry Pi Pico Python SDK. It ...