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

Failed to build pycrypto when installing machine module

I am trying to install machine module. The error says: Collecting machine Using cached machine-0.0.1-py2.py3-none-any.whl (4.2 kB) Collecting pycrypto (from machine) Using cached pycrypto-2.6.1.tar.gz (446 kB) Preparing metadata (setup.py) ...…
0
votes
0 answers

Entire VGA FrameBuffer is shifted to the right

I'm trying to get this VGA driver for the Pi Pico to work with framebuf.FrameBuffer. I've modified the code to use 1 bit per pixel instead of 3. Everything works fine when using the (modified) drawing functions from the original code. But I really…
localhost
  • 3
  • 5
0
votes
0 answers

Desktop Weather Display but using Pico w

Im trying to replicate this (https://mustardcorner.com/desktop-weather) project but im trying to use the pico w instead of the pizero w he was using. But the code obviously does not work on the pico, would anyone know how i could adapt it to work on…
0
votes
0 answers

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 depend on the server response: I tested server, that…
Ngdgvcb
  • 155
  • 6
0
votes
1 answer

Reading data from a flowmeter on a microcontroller

For a personal DIY project, I want to make an app that measure water consumption and send the data to an API. I have the Keyence FD-Q50C clamp on flowmeter that has a screen to display the data. The flowmeter can be connected to the IO Link Master…
0
votes
0 answers

I cannot get a Python Websocket listener to listen and print a Micropython Client send call. I can make it work Python client to Python Server

I'm trying to have a Raspberry Pi Pico W read temp and other measurements and send via web socket to a server, which is a Raspberry Pi 4). The server, at this point, just prints the data out on the screen. I can make this work from one computer to…
0
votes
1 answer

How to send a byte string from PC to Raspberry Pi Pico?

Using PySerial I was successful in sending data from Raspberry Pi Pico to Windows PC but not the other way around. Windows PC code: import serial # Configure the serial connection port = "COM5" ser = serial.Serial(port, 9600) message = b"Hey This…
0
votes
0 answers

Thonny IDE, micropython I2c memory operations- readfrom_mem, writeto_mem- returning 0x00 from NAK registers

I am trying to design a code where I can determine which registers exist since they can generally be anywhere from 0x00 to 0xFF. Currently using i2c module defined in micropython and also using pico interpreter for the software in Thonny. I just…
0
votes
0 answers

PN532 RFID reader with Raspberry pi Pico C SDK does not return ACK bit

I am trying to use the PN532 RFID chip with my raspberry pi pico for a spoofer project. I am using C as it is what I am more familiar with and I kinda hate python, however that comes with the downside of having very little third party library…
Imaweasle
  • 13
  • 3
0
votes
0 answers

Pico W MQTT SDK

I've found in the SDK folder pico_lwip in that CMakeList.txt at line 245 the added mqtt library. My internet search did not provide me with the necessary information how to use this implementation. In my CMakeList.txt I added the `pico_lwip_mqtt` to…
0
votes
1 answer

VS Code Raspberry Pi Pico W C SDK: how to specify inlcudes?

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 from there, but there was no pico_w folder. I went to…
isagsadvb
  • 23
  • 4
0
votes
0 answers

Is there any way to flash a raspberry Pi Pico with a firmware contained in a pointer inside it?

I'm using a raspberry Pi Pico for a personnal project (written in C language) and my problem is that my Pico is unreachable once it's installed so I have to take it out everytime I want to update my Software which takes forever. My pico is linked to…
0
votes
0 answers

No module named '__future__' error when trying to spin my motor

Trying to spin my motor I got an error in Thonny: No module named '__future__' When reinstalling Python and MicroPython nothing changes. I used pip to install future and __future__, but __future__ wasn't valid and future is already good. When…
Cyber
  • 9
  • 1
0
votes
0 answers

Stream deck becomes unresponsive on key combination

I built a stream deck through which I make keyboard inputs with CircuitPython: import time import board import digitalio import usb_hid from adafruit_hid.keycode import Keycode from adafruit_hid.keyboard import Keyboard def press_windows_d(): …
0
votes
0 answers

Does anyone knows how to program a 5MP Arducam on a PICO using microPython?

I want to use an ARDUCAM with a Raspberry PICO, but want to use microPython and not C++ Tried to search for tutorials but did not found any. The Arducam is a SPI camera, not an usb model. The github…