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
0 answers

is there a way to run a 128x64 glcd on raspberry pi pico?

I'm having trouble wiring and coding this glcd to run on my pico. I cant find very much on the internet about getting these things to run on a pico. The places that I have looked, all have a different wiring schematic- some say dont connect r/w pin…
Ezra
  • 19
  • 8
0
votes
1 answer

LoRa communication between RPI and PICO with Waveshare hats

I'm trying to make a Raspberry PICO with the Waveshare SX1262 LoRa hat to send LoRa messages to a Raspberry Pi also using a Waveshare sx1262 LoRa Hat. The radio configuration is different in both devices and I'm unable to see any message sent by the…
Fran
  • 3
  • 1
0
votes
1 answer

Can I implement onboard LED blinks as "status" on Umqtt .wait_msg() on Raspeberry Pi Pico W running Micropython?

I'm trying to let the LED keep blinking while waiting in the "wait_msg()" function. can I achieve this by uasycncio, _thread, or modification on the main loop in the module? And how? Many thanks.
fishjoe
  • 39
  • 1
  • 5
0
votes
0 answers

Rasberry Pi Pico saves data in multiple txt files when connected to an external power source

I have a temperature sensor connected to rasberry pi pico and have a main.py, which records the temperature data into .txt file. When I connect the rasberry pi to PC via USB port, it starts recording and saves the data in one .txt file. However,…
Sara S
  • 101
  • 1
  • 4
0
votes
0 answers

how to fix a bricked raspberry pi pico

I am using a rapberry pi pico to read the temprature from a k-type thermocouple. in the code, I added a while loop, but no way to break it, and I also named it main.py. the code automatically runs on startup, and I cant stop it. I've tried to stop…
Ezra
  • 19
  • 8
0
votes
0 answers

Are parameters for spi, pin_cs and pin_rst necessary on Wiznet5K Pico

I have a Wiznet 5100S Pico on which I installed W5100S_EVB_PICO-20220618-v1.19.1.uf2 from the micropython site. I wrote a small routine for my Wiznet 5100S Pico in Thonny, neglecting to add parameters when I initialized it. import network import…
Norm Schaeffer
  • 411
  • 3
  • 9
0
votes
1 answer

Setting up external library for raspberry pi pico, with visual studio

so I have my PI Pico set up for use with C++, and has been working great. However I am not great at environment set up and am new to visual studio. So I am trying to use this library https://github.com/cristiancristea00/Pico-I2C-LCD But I am just…
Dean
  • 11
  • 4
0
votes
0 answers

ValueError: freq too small

I am trying to set up pwm in raspberry pi pico using micropython. everything was ok until I set the frequency to 14,1,2,3,4,5,6,7,9. In these particular frequencies this error will raise: ValueError: freq too small this is my program: from machine…
0
votes
1 answer

ValueError: invalid key when connecting to AWS IoT Core with umqtt (Micropython)

A few days ago I bought a Raspberry Pi Pico W and I am trying to connect it to AWS Iot Core. However, I get stuck when connecting to AWS. I have gone throught the following steps: installed Micropython on the Raspberry Pi Pico W, this…
0
votes
1 answer

RPi Pico: fatal error arch/sys_arch.h No such file or directory

I am attempting to get TCP/IP working on an RPi Pico using LWIP - specifically to get a HTTP page. But I'm having massive problems with, I suspect, by CMakeLists.txt file. The error I'm currently getting is In file included from…
Kevin Gilbert
  • 671
  • 10
  • 18
0
votes
1 answer

How to format data to be in type const uint16_t for use in an spi library

so I have been writing some code and finished it, all I had left to do was send it over SPI. However, I didn't realise that the SPI library I am using only accepts const uint_16t data. I tried setting up a temp variable of the correct data type and…
Dean
  • 63
  • 5
0
votes
1 answer

Can't compile Raspberry Pico software on Windows PC with Eclipse

I've tried to setup Eclipse on a Windows 10 PC to compile software for the Raspberry Pico, using this tutorial: https://mcuoneclipse.com/2022/07/16/getting-started-raspberry-pi-pico-rp2040-with-eclipse-and-j-link/ Installing all the different pieces…
Hneel
  • 95
  • 10
0
votes
1 answer

Dual core on Raspberry Pi PICO W with MicroPython

I have an issue with running part of a code to be more specific defined as new thread CoreTask(). I have no idea why I cannot turn on/off built-in LED. The rest of the code looks to be working as expected (WIFI integration and 'httpd service' work…
bzc0fq
  • 579
  • 1
  • 3
  • 18
0
votes
1 answer

Cmake tests do not run from install path

I am on a pi trying to teach myself cmake for a pico project. I'm following the CMAKE tutorial on cmake.org. I'm confused by the results at Step 4 Installing and Testing. After I build the project, I can run ctest -N and ctest -VV in the build…
0
votes
0 answers

SPI for sending 16 bits or more for raspberry pi pico

so I was hoping someone could help me out, pretty much I am using a raspberry pi pico with visual studio to program it in c++. I need to send a 4 digit hex value (16bits) using SPI, this can be done by either two 8 bit words or one 16 bit word. The…
Dean
  • 63
  • 5