Questions tagged [pi-pico-w]
Raspberry Pi Pico W adds a 2.4GHz wireless interface to the Pi Pico
25
questions
0
votes
1
answer
22
views
Detecting the OS of host pi pico w circuit python
I am planning to create a macro keyboard that is compatible with Windows, Mac, and Linux. To achieve this, I need to detect the type of operating system and perform different key codes accordingly. I ...
-1
votes
2
answers
40
views
How to use on board LED of rasberry pi pico w CircuitPython
I recently purchased a Raspberry Pi Pico W and I'm eager to experiment with it. I planned on writing a program to blink an LED, but I discovered that unlike the Pi Pico, the Pi Pico W doesn't work on ...
0
votes
0
answers
36
views
Where does Pico micropython print go with main.py?
If you load a main.py file onto the Pico with micropython firmware running, it will run on startup. I can tell that this is working because I observe GPIO outputs changing, etc.
However, I'm not sure ...
1
vote
2
answers
221
views
One time timer interrupt? (Pico W, C/C++)
Is there a way to set a one time timer interrupt on the Raspberry Pi Pico? I.e. in code, I would be able to tell the hardware timer to interrupt me in a specified period of time. Example pseudocode ...
0
votes
2
answers
207
views
For the Pi Pico W, is there a recommended (secure?) way to store WiFi username and password using micro/circuit python?
I am following wonderful tutorials on how to connect a RPi Pico W to my home AP. Everything works flawlessly. However, I had a question on how the wifi SSID and password are stored(securely?) on the ...
0
votes
0
answers
69
views
Is it possible connect a Raspberry Pi Pico W to an EDUROAM Wifi (WPA2 authentication)?
Could someone help me? I'm a student at a university, and I'm trying to connect my Raspberry Pi Pico W to the Eduroam Wi-Fi using micropython code, but I'm having trouble. Is it better to use ESP32 to ...
0
votes
0
answers
91
views
main.py on Pico W behaves differently in Thonny than running standalone
I have a Pico W that is serving a webpage that displays output from a plant monitor. It updates every couple of seconds with temp, moisture etc. The program is saved as main.py and runs fine in Thonny,...
1
vote
0
answers
69
views
Desktop Weather Display using Pi-pico-w
I'm trying to replicate this (https://mustardcorner.com/desktop-weather) project but I'm trying to use the Pico w instead of the Pizero w he was using.
But the code obviously does not work on the Pico,...
0
votes
0
answers
68
views
Raspberry Pi Pico W lwIP http request takes too long at altcp_connect()
Problem
I successfully build and run a TLS client Example (picow_tls_client_background executable) from the GitHub, however a simple http GET request takes about 20 seconds. It does not actually ...
0
votes
0
answers
90
views
Can't connect via to server from http C client 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 ...
0
votes
0
answers
84
views
I am trying to print "Hello World" 15 times from my Raspberry Pi Pico to a text file on my windows desktop via serial communication
Here is my code:
Main.py (PICO code)
import time
for i in range(15):
print("Hello World")
time.sleep(1)
Windows Desktop Python Code
import serial
port = "COM5"
ser = ...
0
votes
0
answers
222
views
Pico W submodules issue
Problem
I'm pretty new to Raspberry Pi Pico. I am using Windows 10.
I installed all neccesary stuff (Visual Studio Code, CMake, compiller, etc.) using executable from here.
I buit example projects ...
-1
votes
1
answer
135
views
Raspberry pi pico W - code don't run when battery powered
I've a Raspberry pi pico W and I the following code works with Thonny IDE but not when battery powered. The pico work with my battery because a simple code which turn on and off the pico led works ...
0
votes
2
answers
67
views
How to create a HTML Server that multiple mobile phones can connect to directly on a Raspberry Pi Pico W?
Raspberry Pi Pico W can act as a webserver but it needs to first connect to a wifi router. How to make it so that multiple mobile phones can connect to it directly without the need for a router and ...
0
votes
0
answers
27
views
Unable to perform any WLAN-related operations from core1 on Pi Pico with Micropython 1.20
The following code snippet correctly sets up the Pico Pi W as an AP when run on the main core (core0)
def connect():
ssid = 'MicroPython-AP'
password = '123456789'
#Connect to WLAN
...
-2
votes
1
answer
106
views
Raspberry Pi Pico W Sim800l
I want to send a "Hello World" message to the number I want using Raspberry Pi Pico W and Sim800l via sms. How can I do that?
(Micropython)
2
votes
1
answer
63
views
Pico W OLED display garbled
I trying to get an OLED display working with a Pico W:
micropython build: MicroPython v1.20.0-117-ged7a3b11d on 2023-05-24;
ssd1306 library: micropython-ssd1306 v .3
When I run:
from machine import ...
-1
votes
2
answers
105
views
How to convert photoresistor signal to simple Low/High digital on RPi Pico
I'm building a light-triggered sound puzzle for my kids, and I have seven pieces.
A little bit like this toy:
My plan was to plug 7 photoresistors to ADC pins on my Raspberry Pi Pico, but actually, ...
0
votes
1
answer
69
views
ILI9341 Touchscreen Error
I'm using a Raspberry Pi Pico and an ili9341 touchscreen. To the codes below;
import machine
import ili9341
# Set up the SPI bus
spi = machine.SPI(0, baudrate=10000000, miso=machine.Pin(16), mosi=...
2
votes
1
answer
2k
views
How can one make MicroPython HTTPS REST API requests on Pico W?
I'm unable to make MicroPython REST API requests from the Pico W. The WLAN connection is working but the API call fails. ► API call| Not working - Wokwi Pico W Simulator
# Import modules
import ...
2
votes
0
answers
103
views
Running a webserver on RPI Pico W - but it never loads!
I have a question about a problem I'm having running webservers.
I've been playing around with running webservers on an RPI Pico W, following the instructions on RPI's website (link here).
My (well, ...
-1
votes
1
answer
42
views
Trouble coding test program to turn LED on and off
I'm trying to code a button to turn and LED on and off.
from machine import Pin
led = Pin(16, Pin.OUT)
button = Pin(17, Pin.IN)
while True:
if button.value()==1:
led.high()
print(...
1
vote
0
answers
376
views
OSError: -2, File "urequests.py", line 76, in request
I am working with Pi Pico W, it is already connected to the Wi-Fi, I can see it in the ifconfig() output.
Furthermore, I am using this urequests code from https://github.com/micropython/micropython-...
2
votes
0
answers
55
views
How to decode RFID value?
I am working on an attendance system project using Raspberry Pi Pico W, EM - 18 reader and MicroPython.
Not sure of the tag type here, but I guess it is 125KHz tag. More, my card is keeping '29714856'...
0
votes
0
answers
216
views
Pico W on Network w/o Password Auth & CircuitPython
I'm trying to connect a Raspberry Pi Pico W to my university network using CircuitPython. Our Uni network requires MAC authentication & treats Pis and Picos like they are other devices like a ...