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

How to make function run after certaion period of time

Why does my led stays on with this code? I want to switch it after a certain time. Not even increasing the delay to like 5000000 led says on. import machine import utime power_mosfet = 0 reset_mosfet = 1 mosfet_toggle_srt = 2 mosfet_toggle_med =…
0
votes
0 answers

Pi Pico Bluetooth Communication - HC05 AT commands don't work

I am trying to set up Bluetooth communication between two pi pico devices using HC05s. I am trying to make the two HC05s connect and I read that you need to set up Master/Slave configurations using AT commands. (Get the Bluetooth address from one…
kak_taki
  • 19
  • 2
0
votes
0 answers

Error in code for Raspberry pi pico W web server

Im following this tutorial from adafruit I have tried installing the modules for the code but i keep getting this error back. Traceback (most recent call last): File "", line 7, in File "/lib/ipaddress.py", line 11, in…
reet66
  • 3
  • 3
0
votes
1 answer

How to make text to speech on Raspberry Pi Pico W

I am trying to to make a simple voice assistant using python. However, after months of hard work, I realized that the TTS I was using (pyttsx3) will not load onto the Raspberry Pi Pico W. Is there any way to get TTS on the Pico? I have tried using…
0
votes
1 answer

What is the maximum data transfer speed using SPI interface on Arduino?

What is the maximum data transfer speed using SPI interface on Arduino? I have an Arduino Nano and I want to transfer data between it and a Raspberry Pico. I use SPI interface, and I want to know, what is the data speed limit (in bit per second).
0
votes
1 answer

NMAKE/ CMAKE Fatal Error cmake_check_build_system Raspberry Pi Pico

I am trying to get the ARM GNU Toolchain for embedded development on the RaspberryPi Pico (RP2040) on Windows 10 installed. After successfully configuring the build folder with cmake -G "NMake Makefiles", nmake -d is giving me this error: Microsoft…
CodeSocke
  • 91
  • 1
  • 7
0
votes
1 answer

Cmake error while configuring all projects in VS Code [Pi Pico]

I just bought a pico and I want to make a simple audio player. I followed a tutorial and have the circuit ready, I needed to flash my pico so I followed another tutorial. I did everything just like in the tutorial and I have the examples ready. The…
0
votes
1 answer

Raspi Pico W [Errno 98] EADDRINUSE despite using socket.SO_REUSEADDR

I'm trying to set up a simple server/client connection using the socket module on a Raspberry Pi Pico W running the latest nightly build image rp2-pico-w-20221123-unstable-v1.19.1-713-g7fe7c55bb.uf2 which I've downloaded from…
M463
  • 2,003
  • 3
  • 23
  • 39
0
votes
1 answer

MicroPython, multiplexing a 7 segment display, requests, loop issue

I've tried many variations of this project. The end goal being, a Raspberry Pi Pico W running Micropython, and a common cathode 4 digit, 7 segment display (NOT a TM1637 type, that will be the last resort, but there has to be a way to do it without,…
0
votes
1 answer

Raspberry pi pico with MPU6050 reading zeros

So I am working on a step counter using a raspberry pi pico and a MPU6050 when last night I had the code working fine so I unplugged the pico, then I went to plug the pico back in this morning and now it's displaying zeros. I configured the code…
0
votes
1 answer

Recommended way to break out of a Watchdog Timer (WDT) supported main loop

I need to include hardware WDTs on both ESP32 and rp Pico based systems running micropython. I am using the Thonny IDE and with an 8s timeout on the Pico I can interrupt (Cntrl-C) the system and quickly delete the main from the board. This then…
0
votes
0 answers

How do I prevent the Raspberry Pi Pico from taking ALL background actions and interrupts to create a pulse in software?

My goal is to create a single pulse with the RPI pico by clearing and setting a hardware pin in software. I am attempting to do this in software because I did not see a way to provide a single non-repetitive pulse through one of the timer…
0
votes
1 answer

My raspberry pi pico gives me a strange error

So I want to turn on a lcd 16x2 using my Raspberry Pi Pico but it can't detect the file requested. First, I upload the file with import machine import utime rs= machine.Pin(16,machine.Pin.OUT) e = machine.Pin(17,machine.Pin.OUT) d4 =…
0
votes
1 answer

Is there a Micropython library for Adafruit's TLC5947?

I'm working on a RPi Pico W based project, and I need to use a TLC5947 led driver. The connection is SPI, which I'm told is pretty simple, but I tried to implement it myself and couldn't. Adafruit has a circuitpython module, but it dosen't seem to…
Jon
  • 63
  • 5
0
votes
3 answers

Raspberry Pi Pico on Windows?

Is it possible to work at Raspberry Pi Pico using Windows 10? My question specified is: do I have to install any Linux distro, for example Raspbian, to be able to work at it? Do I also need to use SD card to work with it? Just want to receive…