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
0
votes
1 answer

Adafruit neopixel library not loading correctly onto raspberry pi pico

I've been trying to use the adafruit neopixel library to... well... use neopixels. However, I've been having some problems. I am using a pi pico, thonny as my IDE, and Ubuntu as my OS. I started off writing the code below, and running it, on…
0
votes
0 answers

How to poll to check for serial data for PI Pico?(C/C++ Sdk)

I want to poll to check if there is any data to be read for serial communication from PC in Pi pico. i do not want the blocking types like getchar for scanf to be used in microcontroller. Is there a way to poll?
0
votes
0 answers

Raspberry Pi Pico USB Serial Communication

Im trying to code a communication from PC (Linux) Python Programm to my MicroPython Pico but im unable to find a solution for this. Firt of all: I want to use the standard Micro USB Port on my Pico for this. Is this possible? PC…
Nico
  • 323
  • 4
  • 14
0
votes
0 answers

Configuring VS Code in C on Mac for Raspberry pi Pico

I am trying to set up VS Code on my mac, to run C code on my raspberry pi pico. I believe I have installed all of the relevant things from raspberry pi (I have a folder pico-sdk and a folder pico-examples). When I load up VS code, and navigate to…
Jack
  • 101
  • 3
0
votes
1 answer

Thonny cant recognize raspberry pico WH?

I have just started using a pico WH and i wwanted to upload a file to it but the "option upload to..." isnt there.The Pico is shown like a normal drive and not like…
Gamerboy
  • 1
  • 1
0
votes
0 answers

Where are the MCLK and CLOCK pins in OV2640 camera?

I am trying to connect an OV2640 camera to a Raspberry Pi Pico microcontroller. In the manual there are pins that are called differently in the camera. The manual has MCLK and CLOCK…
Anton9101
  • 11
  • 3
0
votes
0 answers

Webserver Problem, Micropython, Raspberry pi pico W

In the following code i'm trying to access the Bew Page, but i'm not able to do that. please help me to find where the problem exactly is from machine import ADC, Pin import utime import network import time import socket import uasyncio as…
0
votes
2 answers

UART TX produce endless interrupts. How to acknowlage the interrupt?

Raspberry Pi Pico RP2040 When transmitting the UART produce endless interrupts. I edited the example "uart_advanced" to show the problem, it occurs with or without fifos enabled. to show the problem on the oscilloscope I toggled gpio in the…
teach me
  • 453
  • 5
  • 20
0
votes
0 answers

How can I set up a TFT no touch LCD Screen with a RPi Pico controlling it with out using import busio?

My components being used: 5.0 40-pin 800x480 TFT Display without Touchscreen (https://www.electromaker.io/shop/product/50-40-pin-800x480-tft-display-without-touchscreen?srsltid=AR57-fCLOkHp9gyNyF16SiEm-6TbVz4LwMWDs5nI8l1wv1poBT7li36e6i4) Driver…
0
votes
1 answer

How to take a photo and save it in file: raspberry pi pico + ov7670?

I'm building my hobby project (not business or educations) using a Raspberry Pi Pico and an ov7670 camera. I want to take one photo and save its code to txt file. In order to take it, I use the library…
Anton9101
  • 11
  • 3
0
votes
0 answers

What compiler and options do I need to compile Raspberry Pi RP2040 code on Godbolt?

I would like to explore code optimisation on the Raspberry Pi Pico's microcontroller, RP2040, using Godbolt, but I'm not sure which compiler options to use. The microcontroller is an Arm Cortex-M0. I'd be happy if I could at least set it to compile…
Rocketmagnet
  • 5,656
  • 8
  • 36
  • 47
0
votes
0 answers

error when downloading any library in thonny

When I am installing by manage packages I am getting this error every single time: "Successfully installed picozero-0.4.0 Starting to apply changes to the target. Copying picozeroError (ManagementError(...), 'Command output was not empty')" Can…
ROM3K
  • 15
  • 3
0
votes
1 answer

Why does my highscore saving output "TypeError: unsupported types for __ge__: 'int', 'list'" in micropython?

Why does my highscore saving output "TypeError: unsupported types for ge: 'int', 'list'" in micropython? I tried making my Tetris game on my RaspberryPi Pico be able to save highscores, but I kept getting errors. I dont understand whats wrong with…
SCP-999
  • 1
  • 2
0
votes
0 answers

Error installing Micropython libraries with Thonny IDE

I am trying to install umqtt.simple onto my Thonny IDE using Micropython. I have a Raspberry Pi Pico W with Micropython already installed on both the device and Thonny, and Micropython is the selected interpreter in the bottom right. Whenever I try…
0
votes
0 answers

Problem with downloading libraries in thonny micropython

I cant install libraries in micropython for my Raspberry Pi Pico W I was using the mip. and i get this(I was trying to download picozero): Traceback (most recent call last): File "", line 1, in File "mip/__init__.py", line 1, in…
ROM3K
  • 15
  • 3