Questions tagged [raspberry-pi-pico]

For questions relating to the Raspberry Pi Pico microcontroller.

The Raspberry Pi Pico is a microcontroller designed by the Raspberry Pi Foundation. It supports MicroPython, CircuitPython, and C.

The first Pico version was released in 2021.

512 questions
3
votes
1 answer

Cannot send serial data from raspberry pi pico ( c sdk )

I'm making a remote controlled machine using a pi pico to drive the motors and read some sensors, and a raspberry pi 4 to send commands to the pi pico via serial and host the web interface. I am currently testing the operation of the serial from the…
lasb3tas
  • 75
  • 1
  • 9
3
votes
1 answer

How do I manually install a library in Thonny

I want to install this library using Thonny https://github.com/adafruit/Adafruit-uRTC to use a DS3231 with my Raspberry Pi Pico. I cannot install it via the built-in package manager feature for two reasons. The version on PyPi is out of date and…
Ben Robinson
  • 21,601
  • 5
  • 62
  • 79
2
votes
1 answer

Raspberry Pi Pico 64 color VGA

I have found these examples from Hunter Adams to generate a VGA signal using the Raspberry Pi Pico. It is a simple setup that I want to extend. It uses only 3 pins for the RGB colors so it is able to use 8 colors. I added 3 more pins 2 for each…
Smek
  • 1,158
  • 11
  • 33
2
votes
1 answer

Read/write data over Raspberry Pi Pico USB cable

How can I read/write data to Raspberry Pi Pico using Python/MicroPython over the USB connection?
basil_man
  • 322
  • 5
  • 14
2
votes
0 answers

MicroPython websockets library for Raspberry Pi Pico W?

I'm working on a project where I need multiple devices to connect to a shared server that can exchange data in realtime. I was approaching this problem by creating a websocket server on a Raspberry Pi 4 which connects to various Raspberry Pi Pico…
Mathias
  • 308
  • 1
  • 9
2
votes
1 answer

Running GRPC service on Raspberry Pi Pico

I am looking to run a grpc service on a raspberry pico. This might sound outlandish to some people, specifically those who know what the problem I'm about to introduce is, but I think I could make it work with the right technical help. The…
Trey Davis
  • 21
  • 1
2
votes
0 answers

How to make rp2040 DynPin usable for Adc with OnesShot read

I am trying to convert from a type erased type to a value type. I have the following struct that accepts DynPin , which is the type erased type of a rp2040 gpio pin. pub struct PhProbe{ analog_read_pin: DynPin, } Now using the rp2040 analog to…
elhe
  • 122
  • 10
2
votes
0 answers

openocd only runs in msys64 shell (and not from vscode debug)

I am trying to debug a raspberry pi pico from vscode using a picoprobe. After a lot of pain I managed to get everything running from a msys2 mingw64 shell (I built openocd in that shell). However, debugging from vscode results in a popup saying…
2
votes
0 answers

hardware_i2c import is not working in rpi pico

Im trying to import i2c into my rapsberry pi pico project. add_library(ssd1306 ssd1306.c ) target_link_libraries(ssd1306 pico_stdlib) target_link_libraries(ssd1306 pico_stdlib ) target_link_libraries(ssd1306…
StiglCZ
  • 19
  • 1
  • 6
2
votes
1 answer

Error including WiFi.h in PlatfarmIO pi pico

I'm trying to connect my pi pico W with the WiFi.h library, but once I build (compile) the script it fails and brings a ton of error messages in the terminal: Removing unused dependencies... Verbose mode can be enabled via `-v, --verbose`…
João
  • 51
  • 1
  • 3
2
votes
1 answer

Send data between two pico with LoRa

I am trying to send data from a Pico Raspberry Pi to another Pico through an SX1262, but I can't send it. I already tried the ping pong example, but the SX1262 library gives me errors in the Thonny IDE. Traceback (most recent call last): File "",…
2
votes
1 answer

Launching core 1 on the RP2040 with baremetal assembly

As I understand the documentation, 2.8.2, the process of launching core 1 is to send a sequence of values, with the final 3 being the vector table, stack pointer, and entry point, over the FIFO, while core 1 will echo the values back to you. From…
2
votes
1 answer

I2C not working on the Raspberry Pi Pico W with MicroPython

Trying to use the Raspberry Pi Pico W and some i2c devices with micropython but running into issues. When I try to scan one device, it seems fine, but as soon as any more come onto the I2C bus, it never seems consistent with the result, most of the…
2
votes
0 answers

Raspberry Pi Pico - Install External Libraries/API

I need to use a device to connect and control via a Raspberry Pi Pico. The device has its own libraries and API with the commands needed to operate it, I have already done this procedure on a Raspberry Pi Zero W on Raspbian by downloading and…
Alinik
  • 33
  • 2
2
votes
1 answer

Error when compiling code for raspberry pi Pico using MinGW

I am trying to setup the toolchain for programming a raspberry pi pico using the pico_sdk and MinGW. I have followed this guide : here I am on windows 10, visual studio code. Everything is setup according to the guide. I get an error -1073741511…
patate1684
  • 639
  • 3
  • 17
1
2
3
33 34