Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
0 votes
0 answers
73 views

I am using Raspberry Pi Pico W in an AP mode and need to allow users to go to 192.168.4.1 to see a website on which they can communicate with the Raspberry. On an iPhone everything works just fine, ...
TomasB's user avatar
  • 764
-1 votes
2 answers
63 views

i have a setup with a microcontroller where pushing a button i attached with gpio pins turns on a laser pointer using gpio pins. this is part of a larger project including speakers and other leds and ...
mamanyx's user avatar
0 votes
1 answer
78 views

I am building a thermostat and have designed a board layout which I am intent on ordering but I want to make sure everything works before I order. After getting everything wired up on a breadboard for ...
Wichid Nixin's user avatar
0 votes
0 answers
54 views

I have an ESP32-S2, and I want to connect my Type-C headphones to it via the Type-C interface and play music. My Type-C headphones are different from headphones with a 3.5-millimeter jack. Type-C ...
FengZi's user avatar
  • 103
0 votes
1 answer
176 views

My computer won't boot due to a failed fan speed check in the Bios. My wireless keyboard won't mount in time, and if I don't hit "escape" to skip the test everything hangs. I decided to try ...
AbeFM's user avatar
  • 1
-1 votes
1 answer
69 views

I took an Adafruit code example ([Rotary encoder][1]) for a rotary encoder and changed it in a way that I can control the volume of my PC with a Raspberry Pi Pico as HID. # # SPDX-License-Identifier: ...
Martin's user avatar
  • 155
1 vote
3 answers
126 views

I'm using CircuitPython and I'd like to turn on and LED when the light sensor is covered for 3 seconds and up, but I couldn't figure it out. Is it done with the time.sleep command ? My current code: ...
Jimmy's user avatar
  • 45
0 votes
0 answers
23 views

I have the following working code to stream audio from a webradio station: (Raspberry Pi Pico on a Pimoroni Pico Demo Base. CircuitPython 9.2.1) import time, os import adafruit_connection_manager ...
Martin's user avatar
  • 155
0 votes
0 answers
90 views

I'm new to programming using circuitpython and can't figure out the cause of this error when attempting to run a simple blinking LED program on my QT PY esp32-s2. Full error is below: Traceback (most ...
AidedArc8030's user avatar
0 votes
0 answers
75 views

I was building Circuitpython from the github repro from adafruit. This was working for a raspi pico well. I could compile and dounload the firmware.uf2 -> Thonny everthing look OK. Next I wanted to ...
Friedrich Seuhs's user avatar
1 vote
0 answers
140 views

I'm working on a project using an ESP32 with CircuitPython, specifically the Adafruit Matrix Portal M4. I'm trying to fetch data from the an API (https://api.wheresthefuckingtrain.com/by-id/A31), but ...
goldstar's user avatar
0 votes
1 answer
44 views

I would like to use the ply parser on micropython. Running lex.py in micropython gives me a syntax error. Line 341. def get_caller_module_dict(levels): f = sys._getframe(levels) return { **f....
chuy's user avatar
  • 15
0 votes
1 answer
166 views

When I connect raspberry pi pico to the computer all files are shown, but i want to show only specific folders and files within. And I want to use circuit python and show only the sd card folder. I ...
Artur's user avatar
  • 1
0 votes
0 answers
121 views

I have setup a Pico Ducky using Pico W. I have been able to get some test scripts to work. I am working on a simple use case where a text file is saved to a location on the target machine. I am using ...
Mick Dee's user avatar
1 vote
0 answers
388 views

I am writing a library that is supposed to work on Micropython/CircuitPython as well as on "normal" Python (i.e, like a Raspberry Pi). I have not been able to find a way to format or print ...
somebody0's user avatar
0 votes
0 answers
420 views

I am actually on a project that needs concurentials functions... but I don't really know (and understand) a lot about it. My program must run on a Raspberry pi pico with Circuitpython. I did some ...
Z1scko's user avatar
  • 9
2 votes
1 answer
210 views

I have a question for you. Has anyone encountered an issue related to crashing and automatic disconnection of Raspberry Pi Zero 2 W when attempting to edit and save new code in the code.py file? I'm ...
SQTX's user avatar
  • 37
0 votes
1 answer
611 views

Is it possible to lock one esp32 core to running circuit python and the other running C++. I want to run realtime code (with interrupts) in C++ and the main program in circuit python. I have ...
David Liddell's user avatar
2 votes
2 answers
432 views

I am writing a circuit python code to rotate a servo 180 degrees import time import board import busio from adafruit_servokit import ServoKit kit = ServoKit(channels=16, i2c=(busio.I2C(board.GP1, ...
Monty Swanson's user avatar
0 votes
0 answers
566 views

this is my code: import wifi import socketpool wifi.radio.connect("ssid", "password") print("connected") pool = socketpool.SocketPool(wifi.radio) # Create a simple HTTP ...
Fondues's user avatar
0 votes
1 answer
190 views

Hi everyone! Introduction I'm currently working on a project where I'm creating an independent controller to manage Spotify player using their API. The controller is intended to expose localhost for ...
SQTX's user avatar
  • 37
-1 votes
1 answer
203 views

I tried to install the Adafruit Python DTH on my Raspberry Pi Zero 2 W (Raspbian64 OS) according to this tutorial - see section PROGRAMMING THE DHT11 WITH PYTHON For the last step sudo python setup.py ...
Ralf Wickum's user avatar
  • 3,178
0 votes
0 answers
76 views

I am trying to log temperature using MAX31865 module and Raspberry Pi. I have written following python code: import board import busio from digitalio import DigitalInOut, Direction import ...
Dinesh Kumar's user avatar
2 votes
1 answer
347 views

Not sure how esoteric this question is, but I'm trying to do some basic Bluetooth communications from an Adafruit Circuit Playground Bluefruit using Circuit Python. The basic use case is to use UART ...
erik's user avatar
  • 3,862
0 votes
1 answer
816 views

I am working on a project that requires adafruit circuitpython neopixel. So I ran pip3 install neopixel It said I need to create a virtual environment so I did and ran the command in it and it said ...
Michael Guidice's user avatar
2 votes
0 answers
280 views

i wanted to record audio using max9814 and raspberry pi pico with micropython/circuitpython but when i recorded the data, some parts of it lose because it's trying to read the data and write the data ...
Alirezaarabi's user avatar
0 votes
0 answers
75 views

Tried without success to control the LED via board.led and board.led0 in CircuitPython. Aso tried board.GP0 through board.GP29. GP25 is in use and can't be programmed.
David's user avatar
  • 131
0 votes
0 answers
196 views

I am currently working on a project where I need to create a virtual USB device on a host device using a Pico microcontroller. However, I am facing difficulties in understanding the process and I ...
StackyOvery's user avatar
0 votes
1 answer
85 views

# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries # SPDX-License-Identifier: MIT """IR transmit example for Samsung TV using Circuit Playground Express""" # ...
ChairPearBear's user avatar
0 votes
1 answer
85 views

Im building my own footpedal for my pc and got it working more or less. I can send the he code so it acts as a keyboard but I want it to display as a FOOTPEDAL1 .. 2 .. 3 .. 4. I downloaded this code ...
MigiHunzi's user avatar
1 vote
0 answers
77 views

I am working on a C# port of the Adafruit_CircuitPython_RFM69 Python library which is an SPI radio module library that I'm using with a Raspberry Pi. I have most of the python properties ported over ...
tottaka's user avatar
  • 11
3 votes
0 answers
382 views

I recently got started using CircuitPython on microcontrollers (specifially the Raspberry Pi Pico W and Zero W [I know, technically it's a single-board computer]). There are some Python packages that ...
Anders's user avatar
  • 1,117
-2 votes
1 answer
206 views

I am working on a project to make a badusb out of an raspberry pi pico but i have some problems, when the payload executes,it opens my file explorer and i want it to be a HID device so how do i do ...
Mats PlayStation's user avatar
-1 votes
2 answers
415 views

I have an adafruit qt py esp32-s2 that i accidently put in ciruitpython mode which means that i cant upload any arduino code to it. Idk why this happends all i know is that i need to be able to upload ...
ImTheBeemoPlush's user avatar
0 votes
0 answers
281 views

I'm trying to get data from a weather API on a Raspberry Pi Pico running CircuitPython. It works on this API. Code: pool = socketpool.SocketPool(wifi.radio) requests = adafruit_requests.Session(pool, ...
L L's user avatar
  • 3
0 votes
1 answer
1k views

I want to serve a basic index.html file using a Raspberry Pi Pico W. I am able to in MicroPython but need to use CircuitPython for this project. I found code to create a soft access point but wasn't ...
Ahrorous's user avatar
1 vote
0 answers
1k views

So there is a module named usb_hid on CircuitPython but its not on MicroPython. Is there a way to get usb_hid on MicroPython? It isnt in the lib folder of CircuitPython. I even tried displaying all ...
supersonic5138 supersonic5138's user avatar
-1 votes
1 answer
336 views

I was trying to figure out how to make code persist on the pico and stumbled upon ampy. When trying to flash my pico, I was met with an error (exact output below). I'm guessing it might be something ...
Hubert S's user avatar
0 votes
1 answer
844 views

So i was testing my TFT but when i uploaded the code import board import displayio import terminalio from adafruit_ili9341 import ILI9341 # Initialize ILI9341 display spi = board.SPI() tft_cs = board....
supersonic5138 supersonic5138's user avatar
1 vote
0 answers
235 views

I am trying to build a simple notification application to detect when my letter box is opened and send a notification via pushbullet using Raspberry Pico W. This is the application: import os import ...
Pitto's user avatar
  • 8,699
3 votes
1 answer
394 views

I am making a project with midi. I have installed circuit python using the following article https://gallaugher.com/makersnack-installing-circuitpython-on-a-raspberry-pi/ When I try to import usb_midi ...
Ryan LeRoy's user avatar
0 votes
1 answer
982 views

So basically I have a numpy array, its shape is (8,64) after array.tobytes() and len(array) is 512. And the send() function in the adafruit_rfm9x library has a payload limit of 252 bytes. Is there any ...
a15600712's user avatar
1 vote
0 answers
244 views

I'm doing a hobby project and I have a task to make an exchange of information between two Raspberry Pi Pico. I want to take an image from the memory of Pi Pico #1 and send it using SPI to the memory ...
Anton9101's user avatar
1 vote
2 answers
72 views

I'm trying to make a toggleable value in my program, during a loop. I can't use time.sleep() in the program, as I can't have the program stopping completely (so that you can't press buttons during ...
Commodore 64's user avatar
0 votes
1 answer
186 views

def grabtime(dst): global sec global minute global hour global day global month global year gps.update() sec = gps.timestamp_utc.tm_sec minute = gps.timestamp_utc....
Commodore 64's user avatar
1 vote
0 answers
564 views

I am currently working on a project where I need to convert a analog signal to a digital one therefore I am using an ADS1115 ADC Converter. This converter is connected to my Raspberry Pi Pico on a ...
YungT's user avatar
  • 11
0 votes
1 answer
297 views

I'm using CircuitPython to draw text and shapes on an LCD, which works. I detect interaction (a rotary encoder) and want to change a shape's colour, when I detect a certain state. This also works but ...
Greg's user avatar
  • 377
0 votes
1 answer
2k views

I've been trying to use the adafruit neopixel library to... well... use neopixels. However, I've been having some problems. I am using a pi pico, thonny as my IDE, and Ubuntu as my OS. I started off ...
ValleyDragon888's user avatar
0 votes
2 answers
442 views

I am creating a circuit python project and the code compiles fine but it isn't working the way I intend. This loop that I have is supposed to generate a non repeating list of integers 1 to X in a ...
Spencer Burchfield's user avatar
0 votes
0 answers
208 views

Serial Connection Problem between Processing and CircuitPython Code on a Adafruit Grand Central M4 Metro. I have a Adafruit Grand Central M4 Metro Micro-Computer with 3 Motors connected to it. On the ...
Zahlensuppe's user avatar