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 read data from neo-6m gps module while using a raspberry pi pico w

so I'm working with a raspberry pi pico w and the neo-6m gps module, I am trying to print my data on my serial monitor but this I get a "none" output here's my code, from machine import UART, Pin #imports the UART and Pin import time gps_module =…
0
votes
0 answers

Pico W – Async operation halts when accessing pio state machine registers

Pico W – Async operation halts when accessing pio state machine registers. This project uses a Raspberry Pi – Pico W, Thonny IDE. Purpose of the project to count encoder pulse using PIO and operate other Async processes. I have written two…
muttvac
  • 1
  • 1
0
votes
0 answers

Troubleshooting/understanding RCWL-1601 Ultrasonic sensor on a Raspberry Pi Pico

I am using an RCWL-1601 Ultrasonic sensor, ran off of a Raspberry Pi Pico. According to Adafruit, the sensor is equivalent to the more popular HC-SR04 Ultrasonic sensor. I am trying to use the sensor to measure distance. The output is currently…
0
votes
0 answers

.elf file getting deleted in eclipse cube ide for embedded c/c++

enter image description here i was trying to build a blink file in eclipse ide.It works with gitbash and cmd prompt and in VS code some issue has occured so tried it with eclipse but only upto hex file is build when it reach in elf file it shows an…
0
votes
2 answers

Problem with uploading a new code to Pico

I have a Raspberry Pi Pico. When I upload a new program onto it the previous program is still running. What should I do? For example I write code to blink pin22, but when I change it to pin21, pin22 goes HIGH and stays on (does not blink). import…
0
votes
0 answers

Saving a captured image using OV7670 camera and Raspberry Pi Pico error

I am trying to save the captured images for OV7670 camera module using Raspberry pi pico.I have written a code in CircuitPython to save the image in bmp format.But when i try to download the image from pico and view, i am getting a pixelated image.I…
arbbaz
  • 1
  • 1
0
votes
1 answer

Is it possible to upload a Python program onto a Pico via the USB port?

I have a Raspberry Pi Pico running a Python script, but the end-user will not have Thonny, nor access to the button on the Raspberry Pi Pico. I want to update the script via the USB port from a PC. Is that possible? Using the C SDK is inappropriate…
PhilTilson
  • 55
  • 5
0
votes
1 answer

raspberry pi pico temperature reading and output to zabbix

there is a raspberry pi pico that I want to configure as a temperature sensor, and output data to zabbix raspberry pi pico I have, connected to a computer with ubuntu 22.04 via usb, I have a code for reading the temperature, which I run in thonny…
0
votes
1 answer

Can not stop access point

I'm using CicuitPython V8.1 on a Raspberry Pi Pico W. I import wifi.radio and use radio.start_ap() to start an access point, but from radio.stop_ap() I get: NotImplementedError: Stopping AP is not supported. I can reset with microprocessor.reset()…
TNBtech
  • 492
  • 4
  • 7
0
votes
0 answers

Trouble With Multithreading in RPi Pico (Need to toggle an LED on one thread and run a rotary menu connected to LCD on other thread)

import machine import utime import _thread from rotary_encoder_classes import * clock_pin = machine.Pin(25, machine.Pin.OUT) frequency = 1 def clock(frequency): while True: clock_pin.value(1) #Set led turn on …
0
votes
0 answers

serial.serialutil.SerialTimeoutException: Write timeout Pico with linux

I have a Pico Microcontroller that is connected to a stepper motor driver, and I just want to rotate the motor on command. My code is able to do that when it is connected to a Mac system, but whenever I am connecting that to a Linux system (Ubuntu…
0
votes
1 answer

Raspberry Pico disappears and stays lost after loading UF2 file

I connected 2 Picos to my Mac and downloaded rp2-pico-20230426-v1.20.0uf2 from https://www.raspberrypi.com/documentation/microcontrollers/micropython.html. The Pico's disappear from the MAC's finder window and I can't get them to reappear without…
ryegrammer
  • 143
  • 1
  • 12
0
votes
0 answers

Using MCU to emulate vsync only in vga signal

So I'm making a breadboard video card that I will eventually be using with a 6502 based computer that I'm making. The way I want to go about this is to have a hsync timing circuit like normal but have the vsync emulated through a microcontroller to…
UnoDeaj05
  • 1
  • 2
0
votes
1 answer

Other code won’t run because webserver section is waiting for web requests

So I am trying to make an rc plane with the pi pico, so to make it remote controlled, i decided to have it host a little web server, just simply with the controls. And I got that to work. But then I noticed the planes lights stopped blinking. In…
benji bon
  • 31
  • 2
0
votes
1 answer

Raspberry Pi Pico disconnects when uf2 file is uploaded

I wrote, following guides and documentations, since I am not very navigated yet in this bare metal interaction, the following arm program to make the LED on pin 25 light up, on the raspberry pi pico. On the building side no problem, I used…