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

Using BTstack to setup a Bluetooth connection to transmit data between a Raspberry Pico and a client

I'm new to using the C Pico SDK and Bluetooth as well, but I want to get started by creating an executable on the Raspberry Pi Pico (server) and one for a client (laptop) that will send data to the server after connection. My Pico has a HC-05 BT…
-1
votes
0 answers

Weather Forecast On Pico w Using openweathermap.api

I'm trying to replicate Joe Wreford's desktop weather display, this is the link to that; https://mustardcorner.com/desktop-weather, but i'm trying to use my pico w instead of the pi zero w he was using, I've managed to get the pico to display the…
-1
votes
1 answer

Can't connect to web server from http C client Raspberry Pi Pico W lwIP

I just try for already 3 days to make a http GET request, used a lot of examples, but all of them do not work. The code below, I checked, succesfully connects to WiFi, and resolves dns - obtains ip address. The problem is in connection to server: it…
Ngdgvcb
  • 155
  • 6
-1
votes
1 answer

Raspberry pi pico won’t work with battery

I tried connect raspberry pi pico w with 3.7v li-ion battery but it didn’t work i tried connect it to my computer it still doesn’t work until i press run in thonny I want raspberry pi pico w to work with 3.7v li ion battery
-1
votes
1 answer

L298N motor controller voltages are weird

I have a Pi Pico hooked up to an L298N motor controller, -- all of it, i.e. IN1, IN2, ENA, IN3, IN4, ENB. And all is well up to a point; the voltage across OUT1 & OUT2 (going to one motor), likewise across OUT3 & OUT4 (going to the other motor),…
-1
votes
1 answer

How to upload a C++ program to Pi Pico which persists across power cycles

I have been using a Raspberry Pi Pico for a project and everything works, but I want my program to remain on the Pico, even after it's been unplugged and plugged back in. At the moment, once the board loses power the program is wiped and I need to…
Dean
  • 63
  • 5
-1
votes
1 answer

I2C doesn't work on MicroPython with RPi Pico?

i was following the Getting Started with MicroPython on Raspberry Pi Pico book and i am stuck at page 120, the example code did not work for some reason. I am coding in VS Code, but just in case i tried running it in Thonny, still without any…
bcseh202
  • 9
  • 5
-1
votes
1 answer

press buttons on gamepad

i am trying to press buttons on the gamepad i am using a gamepad descriptor for the gamepad but i cant find out how to press the buttons on the gamepad is there any way to press the buttons? i am using an raspberry pi pico for this import…
-1
votes
1 answer

CMake not creating Makefile, creating a lot of other files instead

I wanted to play around with my pico. I downloaded the examples from official github, installed an sdk and went along with the documentation. The problem I have is when I'm creating build files. While the cmake command is creating a lot of files,…
LauraAlice
  • 33
  • 6
-1
votes
2 answers

If Function Being Triggered Despite Not Being Valid

For those who linked to Using global variables in a function How was I supposed to know this was related to my issue before hand? The reason I asked the question was that I didn't even know this (the global tag not the post) existed or applied to my…
djo
  • 119
  • 2
  • 14
-1
votes
1 answer

Raspberry Pico W urequest.post problem with send parameters to php script

I want to use raspberry pico W to register current temperature value on MySql server: Raspberry Pico W --> PHP --> MySQL. I am trying to use urequest.post to send temperature value to php script on http server. Script can not recognize posted…
Kamito
  • 77
  • 6
-1
votes
1 answer

Is there an e-paper library for micropython to change the font displayed on my e-paper?

I'm using a 2.7 pico e-paper hooked up to a raspberry pi pico, along with a DS3231 RTC so it can display the time. I'm able to display time using the sample code provided on the waveshare page for the pico e-paper, but there's no option within the…
-1
votes
4 answers

Python: Import comma separated data from a TXT file

I built a data logger with a Raspberry Pi Pico. The Data Logger saves the temperature every six minutes in the TXT file. I am currently failing to import the data from the TXT file into Python. The data looks like…
jonas.weik
  • 13
  • 2
-1
votes
2 answers

'TypeError: function missing 1 required positional arguments' : Ultrasonic distance sensor interfacing with Rasberry Pi Pico

I am trying to read distance using Raspberry Pi Pico and ultrasonic distance sensor. While running the code in Thonny, I am getting the error, TypeError: function missing 1 required positional arguments The code is as below: from machine import…
-1
votes
2 answers

Button (GPIO) Pressing Logic in MicroPython

I had another question open about iterative menu logic, and the problem morphed into button logic, so I'm separating them, since the original question was truly settled. My code is as follows: """ fit: a productivity logger """ import time import…
1 2 3
33
34