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
1
vote
1 answer

uasyncio.create_task does not run coroutine (micropython)

Before I start an issue on github, just wanted to know, if I am doing smth wrong. This basic example should start a loop and after one calls the stop method it should stop. However, the print("while loop") gets not executed at all. rp2040 Zero…
webdeb
  • 12,993
  • 5
  • 28
  • 44
1
vote
0 answers

SD card does not return token on SPI single block read

I have a Buffalo SDHC SD card with 4GB of storage, and a Raspberry Pi Pico. I have connected the SD card to the Pico's relevant SPI pins and have set the SPI clock speed to 1MHz. I have reset the SD card with command 0, and have received a…
Epic Speedy
  • 636
  • 1
  • 11
  • 25
1
vote
1 answer

Use micropython as interpreter in VSC (for raspberry pi pico)

I have recently gotten a raspberry pi pico and would like to use Visual Studio Code instead of Thonny to create and run my scripts that will control the components of my board. (The pico is connected to my laptop via USB) So far i have tried using…
1
vote
1 answer

How do I get rid of the symbols behind my LoRa message reception?

A bit of context, I am participating in the UK CanSat competition. I am sorting out the communication between the CanSat and the ground station. We are using LoRa transceivers as required per the competition. We are using a raspberry pi pico as a…
1
vote
0 answers

Getting only 100sample/second from MPU6050 through Raspberry pi Pico

I wanted to plot the raw sensor data like the accelerometer gyroscope and temperature data of MPU6050. For me MPU6050 is soldered with Pico and Pico is connected to my laptop via a USB connection. Now, my problem is the frequency is quite low like…
1
vote
1 answer

CMake Error while trying to build a uf2 file for the Raspberry Pi Pico

While trying to execute the cmake -G "NMake Makefiles" .. command I'm getting the error CMake Error: Error required internal CMake variable not set, cmake may not be built correctly# multiple times. The CMakeLists.txt: cmake_minimum_required(VERSION…
Felix
  • 13
  • 4
1
vote
0 answers

How to extend memory Raspberry Pi Pico with sd card module

I'm trying to to extend memory storage in RaspberryPi Pico, because I need space for two exe files that are more than 2MB. After connecting sd card module it is not showing in Windows. Can someone help me?
szymsx
  • 11
  • 1
1
vote
2 answers

Serial communication between Raspberry Pi Pico and PC

I'm trying to achieve 2-way communication over USB (COM port) between Raspberry Pi Pico and Windows PC (Python). I'm unable to send from my PC to Raspberry Pi Pico nor the way back. Doesn't affect the LEDs on breadboard, nor messages get printed in…
Binzky
  • 23
  • 1
  • 3
1
vote
0 answers

Raspberry Pi Pico crashes when using SPI1 but not when using SPI0

so I am having a weird issue, I am using the C/C++ SDK with visual studio to program a raspberry pi pico. The project is using a rotary encoder with push button and lcd to control a seperate PCB. Almost everything is working but when I try and send…
Dean21
  • 13
  • 4
1
vote
2 answers

How do i solve this "chicken vs egg" declaration issue?

New with C++ but been coding a lot of ObjC back in the day. So i thought i was smart trying to solve a cross reference issue with the old delegate pattern used widely in ObjC but only managed to move the issue it to another file . Im trying to reach…
Oscar
  • 375
  • 3
  • 15
1
vote
1 answer

Why this adafruit screen code interferes with this code?

I have a code for artificial neural network on Arduino. I'm using an Arduino UNO at 16Mhz and a SSD1306 led screen. The ANN is a simple logic XOR function. The code generates two random numbers 1.0 or 0.0, then passes the values to the inputs of the…
1
vote
0 answers

nrf24l01 and raspberry pico W

I can use raspberry pico and an nrf24l01 module to communicate but with a raspberry pico W I can't receive messages. I use the same SPI port (0 or 1) it doesn't change anything. So with a raspberry pico I can transmit but not with a pico W. Anyone…
1
vote
0 answers

MQTT.Simple Loses Connection to AWS IoT

I have a Raspberry Pi Pico W that I am trying to get to communicate with AWS IoT, and after about 12-24 hours it seems to lose its connection. I have the keep alive set and I can see it's pinging the server. And then it suddenly stops. I'm going to…
michaeka
  • 11
  • 2
1
vote
1 answer

"Raspberry Pi Pico Support Requires Valid Python 3.5+ SDK"

Error: "Raspberry Pi Pico Support Requires Valid Python 3.5+ SDK" So I recently installed MicroPython for my raspeberry pi pico and followed all direction to get it ready. I chose pycharm as my editor and when getting ready to code I am greeated…
1
vote
1 answer

is there a XML parser library for micropython?

Is there an XML parser library for micropython? I would like to parse an XML file in a text file or string. This is for a Pico and I am using Thonny. Thanks.
quinn
  • 177
  • 1
  • 2
  • 13