Questions tagged [raspberry-pi-zero]
This should only be PROGRAMMING QUESTIONS ONLY. General questions about the device are off topic.
raspberry-pi-zero
220
questions
0
votes
0
answers
25
views
Raspberry Pi code error: 'RuntimeError: failed to add edge detection'
My code has been having issues, it is possible I may have to reflash the memory card with new OS since it worked previously on another Rasp Pi Zero 2.
But if anyone can help with this problem so it ...
1
vote
2
answers
81
views
Is it possible to stop a pipeline when pressing a key in bash?
I am using a Rpi zero 2w and an old Rpi camera using Rpi OS (Legacy, 64-bit) Lite (i.e. a server linux) to stream a video through my local net. I want to stop the stream remotely from windows using ...
0
votes
0
answers
97
views
Fix error (BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown) for usb-gadget
I've been working on a python script to make a bad USB, because I want to prank some friends< and I got a Raspberry Pi Zero 2 W.
import json
NULL_CHAR = chr(0)
def list2string(lst, char="+&...
-1
votes
1
answer
39
views
Python Raspeberry Pi Zero 2W: Ultrasonic input pin is always zero -
I have an issue with ultrasonic Sensor using my Raspberry Pi 2W. The input pin is always zero. I tried to change pins, but nothing changed.
Here it is my sample code:
import RPi.GPIO as gp
import time
...
0
votes
0
answers
7
views
AttributeError 'GsmModem' object has no attributes 'boot'
I am trying to create a GPS tracker using a Raspberry Pi Zero WH, and a Waveshare GSM/GPRS/Bluetooth HAT. When I get to the point of running the tracker.py
import time
import math
import sys
from ...
0
votes
0
answers
168
views
How to speed up picture taking process using picamera2 on Raspberry pi Zero 2 w
I want to write a service for my raspberry pi zero 2 w to take a picture and save it to the filesystem. I wrote some bare-bone testing codes to see if everything is working. But I discovered two ...
0
votes
0
answers
21
views
Is there a way to program an ePaper HAT with Python on a RPi Zero?
I'm having a problem with an ePaper that I'm trying to program in Python.
Actually, it's powered on a RPi Zero.
I've made this program and there's this output :
e-Paper busy
e-Paper busy release
Clear....
0
votes
0
answers
75
views
4G Hat for Raspberry Pi Zero trouble
I am currently trying to set up a 4G hat [SIM7600X 4G HAT(B)] for my Raspberry Pi 0, and I am following the guide found here:
https://forums.raspberrypi.com/viewtopic.php?t=224355
I have followed all ...
0
votes
0
answers
54
views
How can I send data over Bluetooth from a website (made with React jsx) to a raspberry pi?
I've tried to use web bluetooth to set up communication to send data from my website to my raspberry pi zero 2 w so that it can activate/deactivate some motors for a project. I haven't found any good ...
0
votes
0
answers
182
views
Does anyone know how to configure libcamera-vid to work with imx519
Please could someone look over this and tell me where I am going wrong, or point me in the right direction?
I have an Arducam camera (imx519) attached to a raspberry pi zero 2w and I am trying to pipe ...
0
votes
0
answers
119
views
Selenium with Chromium driver on Raspberry Pi
I am trying to run a Selenium script from a JAR file on a Raspberry Pi Zero 2, and get this error:
Exception in thread "main" org.openqa.selenium.remote.NoSuchDriverException: Unable to ...
0
votes
0
answers
44
views
Display an video flux from libcamera and gstreamer to an Java JFrame
I need your help for an libcamera, gstreamer and java issue.
I trie to display the libcamera video flux from a Pi Cam v3 connected to an Pi Zero 2 W to an Java JFrame on PC to order a rover. Minimal ...
2
votes
1
answer
125
views
Raspberry Pi Zero 2 W automatically disconnects after editing and saving new code in the `code.py` file
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 ...
0
votes
1
answer
31
views
Issue with RTC DS1307 and Raspberry PI setup
Ok so I've had a weird issue with any (two different) DS1307 boards and plugging into Raspberry PI via different methods, one is direct wiring to the I2C-1 port, and the other is via a Grove interface ...
0
votes
0
answers
19
views
RP Zero with new system and caemra module 3 - camera libs incompatibility
I am trying to refactor old camera code in my RP Zero. It looks like everything's changed in new version of the OS and old libs are no longer there or incompatible.
In the old code I could do this to ...