Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
6 replies
105 views

I'm currently writing CMakeLists for a multidirectory project,and am trying to use file sets and target_sources as it is regarded as better than using target_include_directories, but the only problem ...
Maaz Madha's user avatar
0 votes
0 answers
65 views

I was trying to upload a sketch in my RaspBerry PI Pico W (USB) when suddenly this error occurred: Sketch uses 316068 bytes (15%) of program storage space. Maximum is 2093056 bytes. Global variables ...
BamBam's user avatar
  • 1
0 votes
1 answer
29 views

Extract of longer program. Just to toggle the .side pin and then quit the PIO program. Causes loop and have to nuke the PICO! Loops before the 'Run' print. Thanks TypeError: function takes 2 ...
user7117046's user avatar
0 votes
1 answer
102 views

For a SD card driver I tried to calculate CRC7 for the commands. Now, if I "enable CRC7 check" with CMD59, I get errors with some SD cards. But if I "disable CRC7" check with CMD59,...
user31736217's user avatar
2 votes
1 answer
92 views

In my RP2040 pico-sdk project, I'm getting a problem when I try to use the CMSIS function __DSB() - "error: expected string literal": /src/MyProject/my_main.c:848:5: error: expected string ...
sdbbs's user avatar
  • 5,948
0 votes
0 answers
76 views

I saw the keyboard and mouse device example in Adafruit_TinyUSB_Arduino\examples\HID\hid_composite and I want to send control commands through HIDAPI on the PC to perform keyboard and mouse actions. ...
kongbai's user avatar
0 votes
0 answers
94 views

EDIT: I just needed to add target_link_libraries(${PROGRAM} pico_cyw43_arch_lwip_threadsafe_background) to CMakeLists.txt. I'm trying to compile a program for the pi pico2 w but it can't find "...
Bryan Wright's user avatar
0 votes
1 answer
132 views

My PICO W hangs sometimes after calling deinit(). I'm using Micropython v1.25.0 (2025-04-15) Please see this example script: import network import time from time import sleep import urequests import ...
user1915746's user avatar
0 votes
0 answers
59 views

I'm pretty new to Python, & I'm attempting to set up an access point from a Pico W to provide info to a client (eg, an iPhone). The connection is successful, but my iPhone app only receives ...
SomaMan's user avatar
  • 4,174
0 votes
0 answers
77 views

I am using Raspberry Pi Pico W in an AP mode and need to allow users to go to 192.168.4.1 to see a website on which they can communicate with the Raspberry. On an iPhone everything works just fine, ...
TomasB's user avatar
  • 764
-1 votes
2 answers
64 views

i have a setup with a microcontroller where pushing a button i attached with gpio pins turns on a laser pointer using gpio pins. this is part of a larger project including speakers and other leds and ...
mamanyx's user avatar
1 vote
1 answer
337 views

I'm using nvim 0.11.1 in a lsp config, and got clangd installed via mason. The project I'm working on uses the picoSDK, and clangd works inside nvim. The problem is, that it can't seem to find the lib ...
Algebruh's user avatar
  • 131
1 vote
0 answers
141 views

I'm playing around with the Pico SDK and the extension in VS Code and it seems that when I produce a C++ file program instead of C, a number of the hardware options are no longer available to include. ...
doug's user avatar
  • 105
0 votes
1 answer
71 views

I have an RFM69HCW connected to a raspberry pi pico like this: running this script, I always seem to get back the wrong values.It always returns the maximum it can give. """ Receiver &...
Sam Vandenabeele's user avatar
1 vote
1 answer
140 views

I am programming an RP2040 chip using the Pico-Arduino library. In this problem, I am using the Ardunio String class and the Adafruit_NeoPixel class. After setting up some "Strings" and a ...
Scott's user avatar
  • 1,429
2 votes
2 answers
111 views

Version 1: I am using a Raspberry Pi Pico as SPI master and an ATtiny841 as SPI slave. Master code: #include "pico/stdlib.h" #include "hardware/spi.h" #include <stdio.h> #...
Jippe's user avatar
  • 23
0 votes
1 answer
130 views

I built a small PoC on rp-pico using the btstack, basically rework of the standalone simple BLE service. Like in the example, BLE uses advertisement data, and in the example there are some constant ...
gusto2's user avatar
  • 12.2k
0 votes
0 answers
38 views

In MicroPython, re.findall() does not exist. Therefore, I made one myself: def findAll(pattern, s, flags = 0): found = [] while True: m = re.search(pattern, s, flags) if m: ...
resurrected user's user avatar
0 votes
0 answers
75 views

I'm having trouble either controlling the flow, or maybe my math is wrong, but I keep getting stuck in a loop. My code should be getting the temperature of a thermistor (TempF), translate that to a ...
Austin Hefley's user avatar
0 votes
1 answer
295 views

The title says almost everything. Does (Cortex-M33) RP2350 rasberry-pi-pico 2 utilizes any SIMD-instructions (at all) via DSP during arm_dot_prod_f32 or does it simply loop-unrolls? I know for certain ...
Giorgos Xou's user avatar
  • 2,362
0 votes
1 answer
93 views

I am building a thermostat and have designed a board layout which I am intent on ordering but I want to make sure everything works before I order. After getting everything wired up on a breadboard for ...
Wichid Nixin's user avatar
0 votes
0 answers
94 views

I am building an IMU as a school project. This required integrating the Fusion(Madgwick) library to get roll, pitch and yaw from acceleration and gyroscope values from MPU6050. These values are first ...
Aaditya's user avatar
0 votes
0 answers
94 views

I'm trying to control the temperature of my virtual Tuya Thermostat using MicroPython. I have already successfully tested the API using Postman. However, when I try to use the same parameters and ...
5955_Pauli's user avatar
1 vote
1 answer
105 views

Currently, I want to change the Name of the Pico 2W device displayed on the nRF Connect app. I am using Micro Pico in VsCode. I tried many things but the Name is always "N/A". import ...
5955_Pauli's user avatar
0 votes
0 answers
19 views

Im trying to send an image from a server to the pico2w board whcih is connected to a waveshare 7in5 b pico epaper display, the problem is that the server sends the image to the pico2w, it receives the ...
Sid's user avatar
  • 1
-3 votes
1 answer
380 views

I am currently trying to make a little robot thing using a Raspberry Pi Pico W, and I have most things working at the moment. However, I currently need to have a way to sort of schedule things, having ...
ThePlaneGuy45's user avatar
0 votes
0 answers
45 views

I 've tried to connect via USB (debugging pins SWDIO, GND, SWCLK) to my W5500-EVB-Pico2 ( RP2350 ) using SEGGER J-Link Commander V8.12b (latest version) in Win10 (x64). J-Link log: SEGGER J-Link ...
User's user avatar
  • 197
3 votes
2 answers
559 views

I'm trying to access the PSRAM on a Pimoroni pico plus 2 but im not very skilled in C++. I'm using platform io. platformio.ini: [env:rpipico2] platform = https://github.com/maxgerhardt/platform-...
Steve's user avatar
  • 5,171
1 vote
2 answers
489 views

Got my hand on a cheap Wavehsare RP2350 Touch LCD 1.28 inch round display, and wondered if I could run LVGL Micropython on It. I'm a newbie. I tried the official Wavehsare documentation, and didn't ...
Tasha Clipartino's user avatar
0 votes
0 answers
464 views

I am attempting to import this github PICO project written in C into VSCode using the "Raspberry Pi Pico" extension. VSCode is hosted on a Ubuntu computer (not a Raspberry Pi). The result: ...
st2000's user avatar
  • 276
0 votes
0 answers
224 views

I'm working on a project using the Raspberry Pi Pico W 2 that involves displaying data from BLE sensors on a web page, with everything running on the Pico. My intention is to: Run an asynchronous web ...
qsf's user avatar
  • 13
-1 votes
1 answer
76 views

I took an Adafruit code example ([Rotary encoder][1]) for a rotary encoder and changed it in a way that I can control the volume of my PC with a Raspberry Pi Pico as HID. # # SPDX-License-Identifier: ...
Martin's user avatar
  • 155
-2 votes
2 answers
205 views

I'm trying to make a webserver display some data while the pico is collecting it from some pins. Everything works fine for making the webserver running, i'm able to access it with "static" ...
Romain's user avatar
  • 43
0 votes
0 answers
138 views

So I've been racking my brain for a few days trying to figure this one out. In short, I have a PHP-CLI script I wrote for my project that is my websocket server. The script authenticates connections ...
Ryan Barrett's user avatar
1 vote
1 answer
226 views

I'm trying to achieve bidirectional communication over my Raspberry Pi Pico's built-in micro-USB port. More specifically, I'm trying to make my computer send a ping to the Pico, and the Pico receives ...
Bartek Pacia's user avatar
  • 1,806
0 votes
0 answers
23 views

I have the following working code to stream audio from a webradio station: (Raspberry Pi Pico on a Pimoroni Pico Demo Base. CircuitPython 9.2.1) import time, os import adafruit_connection_manager ...
Martin's user avatar
  • 155
0 votes
0 answers
95 views

I am using the Raspberry Pi Pico Extension in VS Code, running on a Pi4. I am playing with the examples provided in the RaspberryPi/pico-examples repository on GitHub... for example the hello_uart ...
Gordon Shephard's user avatar
1 vote
1 answer
82 views

In main function after nexti instruction on bl, gdb debugger continues instead of stopping. The issue does not occur in functions called by main (e.g. I can step over functions called in ...
derASMCoder's user avatar
1 vote
0 answers
229 views

I have a Raspberry Pi Pico W that I want to have perform an action when a button is pressed on a bluetooth remote control I bought. I can read the bluetooth remote and it's services and ...
CPTblackadder's user avatar
0 votes
0 answers
46 views

I'm programming in Micropython for the Raspberry Pi Pico. In my main loop I await for an uasyncio.Event, which I successfully set from an interrupt context. I expected the code to pause and then ...
Emilio Martinez's user avatar
1 vote
0 answers
73 views

I am trying to create an automatic captive portal using a Raspberry Pi Pico H with an ESP8266 Wi-Fi HAT. When I connect to the Wi-Fi, it works, but the user is not automatically redirected to the ...
Look_thisSTREAMING's user avatar
0 votes
1 answer
67 views

I have a project from my college that is in Micro Python, but my question is about something related to HTML that will have to use JavaScript. My project simulates a house that has lights controlled ...
MuriTG25's user avatar
0 votes
0 answers
330 views

I am learning how to program a Raspberry PicoW in C++ and I have two question about flash: How much of the flash is my programme taking up? With AtMega programming, the compiler would display this ...
Richard's user avatar
  • 401
2 votes
0 answers
90 views

The code bellow is meant to read the voltage value from the ADC channels present in GPIO 26 and 27. It changes from ADC channel 0 to ADC channel 1 when the pushbutton in GPIO 15 is pressed. The ...
SlMN099's user avatar
  • 21
0 votes
0 answers
43 views

I'm using the code below to communicate between a Raspberry Pi Pico and a KX134 accelerometer connected over I2C. The device is being detected by a ping, however the program itself does not register ...
llcoder1001's user avatar
0 votes
1 answer
66 views

Short introduction I am starting a new project with the raspberry pi pico using arduino-cli development environment and VSCode as editor. The problem The problem is about the VSCode C/C++ extension ...
Ettore Galli's user avatar
0 votes
1 answer
469 views

I am trying to build picotool 2.0.0, but I am running into a strange error. I have had to remove some of the error output as well as some of the build output as it is to long for this post:(. PS C:\...
Matthew's user avatar
1 vote
1 answer
148 views

I'm trying to make this little MP3 player (dy-HV20T) work. The module works in autonomous mode, but impossible to communicate with it in UART. Here is the test code: from machine import UART, Pin from ...
joMonk's user avatar
  • 19
0 votes
1 answer
48 views

I have a short code written in micropython on pico pi W. This codes sets up a server and is mainly supposed to display a website on which you can check the states of all the GPIO pins. Now when I go ...
Unix's user avatar
  • 73
0 votes
1 answer
620 views

I built a reasonably basic client-server IoT setup in C++ with a Raspberry Pi 5 server and a few Raspberry Pi Pico W clients. It's nothing special, just keeps track of some temperature and voltage ...
Jay Dee's user avatar
  • 230

1
2 3 4 5
14