39 questions
-2
votes
0
answers
50
views
The custom trained yolo model runs on raspberry pi 5 8GB but while counting skips some of the units in between [closed]
The model is trained on yolov8n, with 14 different classes. It will detect the type of product and increase the counter. But the model is deployed on Raspberry pi 8GB, and it is lagging behind. So if ...
0
votes
0
answers
45
views
Every time I switch between frames on my bottom navigation view their is lag, How do i get rid of it?
I have an (android studio) garden app that uses multiple image/video views that sometimes change depending on the data. For example if the pressure is low the sky changes to a rainy day(if high it is ...
0
votes
0
answers
38
views
Trying to run googlesamples-assistant-pushtotalk results in syntax error after hours of meddling
I'm building a smart mirror that (hopefully) uses google-cloud-console to integrate google assistant to a raspberry pi for voice command. google-assistant-pushtotalk required a python version <=3....
-1
votes
1
answer
154
views
home assistant OS Error Resource temporarily unavailable Cannot lock port
zh:ember:uart:ash:
[2025-05-04 03:16:17] error: zh:ember:uart:ash: Failed to init port with error Error: Error Resource temporarily unavailable Cannot lock port
[2025-05-04 03:16:17] error: z2m: ...
0
votes
1
answer
302
views
How to set up a static IP adress for Raspberry pi 5 using Yocto?
I built a raspberry pi 5 image for my raspberry pi 5, using only the base image found in meta-raspberrypi/conf/machine/raspberrypi5.conf, which I modified a bit to include some modules, one of which ...
0
votes
0
answers
55
views
Selenium Manager installs x86-64 in Docker on Raspberry Pi (ARM64) — How to force ARM64 version?
I have a .NET Core application that uses selenium to click a button.
It runs in a docker.
I would like to run this docker on my raspberry pi5
For this I install chromium in my docker like this:
RUN ...
0
votes
0
answers
72
views
How to resolve 'Broken pipe' error when accessing GPS data via Python while Minicom works fine?
I'm trying to access GPS data from my GPS module using Python, but I encounter a Broken pipe error. However, when I use Minicom to access the same GPS module, it works fine and I can see the GPS ...
0
votes
0
answers
61
views
ESP32-S2 XBee Communication Issue - Sending Data But Raspberry Pi Not Receiving
I've set up a Zigbee IoT network using an ESP32-S2 Feather with BME280 as the sensor node and a Raspberry Pi with XBee 3 USB adapter as the coordinator. The ESP32 appears to be successfully sending ...
0
votes
0
answers
71
views
Check if Steam Link is running on Raspberry Pi 5
I want a script that checks if steam link is running on my raspberry pi 5 with raspberry OS.
Hi all,
I wrote a script that should check if steam link is running. If it runs the script should stop ...
0
votes
0
answers
140
views
Simple python way of using DMA on RasPi 5
Is there a simple way to use DMA to control pins on a RasPi 5?
I have some code working using pigpio, on a 3 (basically 4 channels of pulses to control 4 ws2812 strips)... but that doesn't work on the ...
0
votes
0
answers
42
views
MiadoreRetroN64 USB Gamepad button mapping
I am trying to play Nintendo64 (mupen64plus) with this gamepads, but I can't manage to correctly configre them.
I am running on Raspberry Pi 5, Recalbox version 9.2.3
By default not all buttons work ...
1
vote
0
answers
290
views
Sniffing bluetooth packet using Scapy on raspberry pi5
I have been working on Scapy to sniff the wifi packets & works like a champ. With self interest started to read other supporting feature like bluetooth that supported by Scapy framework
Started to ...
-2
votes
1
answer
102
views
2 timers at the same time [closed]
I am trying to program a practice tree for drag racing. All of the code is working except, I cannot get a separate reaction time accurately from the right lane. If I release the left button first, the ...
0
votes
0
answers
47
views
Four MLX90640 thermal cameras on 4 custom buses in Rasberry Pi 5B
I am quite new to Python. With help of GitHub copilot and some basic programming skills I am trying to run 4 thermal cameras at the same time with at least 4Hz frequency (Ideally 16Hz if possible).
I ...
2
votes
0
answers
68
views
Why is my inference process operating on outdated data instead of real-time data, resulting in significant delay?
I have a Python script running real-time data collection and inference using Hailo on a Raspberry Pi 5. The system uses a circular buffer to collect sensor data, processes the most recent data batch (...
1
vote
1
answer
134
views
Issue with Recording Two Videos Simultaneously on Raspberry Pi 5: One Video at 1280x720 20 FPS, Other Only at 10 FPS
I’m working with a Raspberry Pi 5 (27W power supply) and I’m facing an issue while recording two videos simultaneously with two identical USB cameras. Here's the setup:
Camera 1 is connected via USB ...
0
votes
0
answers
29
views
php exec(python script): permission denied [duplicate]
On a Raspberry 5, I execute the following php code
$id = 0;
$message = exec("/home/pi/Python/hps_get_voltage_fraction_from_mcp3008.py ".$id." 2>&1");
return $message;
I get ...
0
votes
1
answer
624
views
Raspberry Pi Pico W TCP client *** panic ***
I built a reasonably basic client-server IoT setup in C++ with a Raspberry Pi 5 server and a few Raspberry Pi Pico W clients. It's nothing special, just keeps track of some temperature and voltage ...
0
votes
1
answer
215
views
Error while trying to use the picam2 library: module 'kms' has no attribute 'PixelFormat'
I have been facing an issue. I have a project, where I have to use facial recognition from insightface to detect know people. Hardware-wise, I have been given a Raspberry pi 5 and two picams (v1.3, v2....
0
votes
1
answer
80
views
Compute FFT after reading accelerometer data
I'd like to detect abnormal vibrations on a motor I have.
I'm using the following devices:
Raspberry PI 5
Adafruit accelerometer ISM330DHCX
I've successfully managed to read the sensor at a specific ...
2
votes
2
answers
729
views
Tauri project doesn't display/render correctly on Raspberry Pi 5
I am working on an interface that is going to run on a Raspberry Pi 5 (8G). Since i want the flexibility of React,HTML and CSS to create interfaces I decided to use Tauri to create it. Its supposed to ...
-3
votes
1
answer
266
views
Use ROS to connect raspberry pi 5 with ubuntu24 and laptop with ubuntu20
I would appreciate for the advice about real right platform to ask!
So the scenario is like this:
I have installed Ubuntu24 on a Raspberry Pi 5, in order to run ROS2 (not yet ready). And my laptop has ...
0
votes
0
answers
614
views
Rasperry Pi 5 GPIO pins unusable after server restart (rpi-lgpio package)
I am using the rpi-lgpio package.
I am using a FastAPI server through a virtual environment (.venv) on a Raspberry Pi 5 to turn on and turn off an LED via HTTP requests on from a flutter front-end.
...
2
votes
0
answers
166
views
Buildroot Raspberrypi 5 VCHI initializaion failed
I've done following using buildroot-2024.08:
make raspberrypi5_defconfig
make menuconfig
enabled rpi-userland and other RPI related tools.
make
Then boot from sdcard, and execute:
# vcgencmd ...
1
vote
0
answers
66
views
NW.JS wont get Fullscreen whatever i did
I installed NWJS 0.44 on my Raspberry Pi 5... It works fine but the problem is it won't get fullscreen.. like its forced to be 854x480 ( Construct 2 Defualt Window Size ), I enabled kiosk thing mode ...
0
votes
1
answer
535
views
RPi5: gpiozero KeyError and SOC peripheral base address error
I am trying to blink an LED on/off to make sure my raspberry pi 5 is working correctly. It is a brand new RPi5. I have a GPIO Extension Board off my GPIO prongs. My circuit is very simple it should ...
1
vote
0
answers
64
views
Way to pass the Image from a Camera to Java as a BufferedImage on Raspberry Pi 5?
I'm trying to pass the output of an ArduCam Camera connected to a Raspberry Pi 5 running Debian Bookworm to a Java program as a BufferedImage.
I've gotten this to work on Mac Silicon using Sarxos ...
1
vote
1
answer
1k
views
Raspberry Pi 5 GPIOZERO
I just started learning how to use the raspberry pi. One of the first issues I encountered with the raspberry pi was that the most common library (the one that all tutorials use) RPi.GPIO does not ...
0
votes
0
answers
99
views
QMediaPlayer speeding up a video after pausing and resuming the video on a Raspberry Pi 5
So, I started testing an Raspberry Pi 5 with the same code I used on a Raspberry Pi 4 previously. In my code it has an video player that u can play the video and pause whenever you want, but when I ...
1
vote
0
answers
112
views
Raspberry Pi 3, 4 work fine with Blinkt led lights, but same software does not work with Pi 5
I have a Docker container that will display the CPU load for the Kubernetes cluster on the blinkt LED if they are present for that node. It works fine on a Pi 3B and 4 but I just got some Pi 5's and ...
1
vote
0
answers
442
views
Picamera2 does not display correctly
I've bought an Arducam Eagle Eye 64Mpx camera to connect to my Raspberry Pi 5 (Bookworm).
I've installed the required drivers and everything seems to be working using the libcamera-still command line.
...
1
vote
0
answers
433
views
What virtual keyboard to use with touch screen?
I'm quite struggling on integrating a virtual keyboard on my python app.
These are the virtual keyboard I tried and my problems on each one.
I'm on Raspberry Pi OS Bookworm on a Raspberry Pi 5.
...
0
votes
0
answers
481
views
running a python code on raspberry pi 5 to test ultrasonic_sensor
I have updated the code to look like this:
import RPi.GPIO as GPIO
import time
#GPIO Mode (BOARD / BCM)
GPIO.setmode(GPIO.BCM)
#set GPIO Pins
GPIO_TRIGGER = 5
GPIO_ECHO = 6
#set GPIO direction (...
2
votes
0
answers
779
views
Auto focus with the Picamera2 in python works much slower than the "libcamera"
Autofocusing with libcamera works faster than the Picamera2 python library; Even if I increase buffer-count to 4 it still takes some seconds to automatically focus on subject (not fast like it focuses ...
-1
votes
1
answer
1k
views
How to fix GPIO pin number for sysfs on Raspberry Pi 5 new Linux kernel debian bookworm? [closed]
When I control GPIO pin on Raspberry Pi 5 debian bookworm, it doesn't work unless I add GPIOCHIP base address number to the pin number.
For example, if I want to export pin 20, I need to use
sudo sh -...
0
votes
1
answer
2k
views
Can't install python3-tflite-runtime
I am currently on a Raspberry Pi 5 with the 64-bit RPI OS and I've been trying to install python3-tflite-runtime by following this website : https://wiki.seeedstudio.com/reTerminal-DM-Yolo5/
However I ...
2
votes
0
answers
1k
views
Picamera2 installation issues in Raspberry Pi 5
Does anybody know how can I install Picamera2 on Raspberry Pi 5 (Ubuntu 23.10)?
I've two Noir V3 Camera modulus, and I want to use Python code for my image processing work by open cv and qt5 (like ...
0
votes
0
answers
794
views
Emulating an HID device with a raspberry pi 5
I am trying to use my raspberry pi 5 model B rev 1.0 to emulate an HID device so i can later use a python script with gpiozero to send keypresses via buttons on gpio.
I have already tried to use many ...
-1
votes
1
answer
459
views
Selenium and Chromedriver and Python running from Cron
I have been running Selenium, Chromedriver and Python on a Raspberry Pi 5. Because Chromedriver does not really have a version for ARM for download but there is a version on APT according
https://...