Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

android cuttlefish aosp-android14-gsi virtual device booting error on raspberry pi 4b

I'm using android cuttlefish v1.0.0 docker image docker-image-arm64 on raspberry pi 4b 4gb ram + raspberry pi os lite 64bit $ cat /etc/rpi-issue Raspberry Pi reference 2024-07-04 Generated using pi-...
Junho Cha's user avatar
-4 votes
0 answers
33 views

Manage SSL connections correctly for a NodeJS server running behind a no-ip dyndns domain [closed]

I've been setting up and running a NodeJS web application (ByteStash) on a Raspberry Pi 4 system without any issues. It listens on port 5000 but it currently doesn't provide an HTTPS server. So using ...
devnull69's user avatar
  • 16.5k
0 votes
0 answers
15 views

ADS1263 python voltage reference

For the code for ADS1263 I wanted to measure with voltage reference 3.3V which comes from Raspberry Pi. How command for this should look like? The code is import board import busio import ADS1263 ...
Malum Phobos's user avatar
0 votes
0 answers
20 views

Raspberry Pi 4 using composite video - how to get the right resolution? [closed]

I had an old Raspberry Pi project that used an composite video display of resolution 480 x 284. The old Pi died and Ive replaced it with a version 4. Ive managed to get the composite video working ...
user1829877's user avatar
-1 votes
0 answers
19 views

Solution for not being able to connect to a bridge created with Raspberry Pi

I have a question about creating a bridge on Raspberry Pi. I'm trying to connect to a bridge I created on Raspberry Pi from my iPhone, but the connection is not working. The hostapd is active, and it ...
チャラ's user avatar
0 votes
0 answers
14 views

Scap tool for raspberry pi

I am trying to run DOD scap tool(https://public.cyber.mil/stigs/scap/) for raspberry pi 11 (Bulls eye) but it asking for specific perl library is any one have faced same issues error: root@root:/opt/...
nayan's user avatar
  • 1
0 votes
1 answer
40 views

Assembly program not clearing the gpio pin on my raspberry pi 4

How's it going, I figured that I would come back to this problem after a couple of months, I made a gpio driver in ARM64 assembly for the raspberry pi 4, but the clr0 offset isn't working for me to ...
Virtual Wizard's user avatar
2 votes
0 answers
55 views

QT show the same content on multiple monitors

I have this kind of info app that is supposed to show some info content. It's written in QT / QML. Qt version is 5.12. It runs on Raspberry Pi 4 - Lite image, no X, OpenGLES. Now what if I wanted to ...
Aros's user avatar
  • 181
1 vote
0 answers
11 views

rfid card reading is OK but not finished

I have an USB RFID reader (EF4100 125kHz) connected to Raspberry Pi 4 Model B. The RFID reader is act like a keyboard and it read the first 10 digit. When I debugging the code with Thonny. At the &...
McCo's user avatar
  • 33
-1 votes
0 answers
54 views

import openai causes error while executing in a docker-container on a raspberry pi4b

raspberry-environment: Debian, Release 12, Bookworm docker-engine: 27.3.1 base-image: python:3.11 dockerfile-snippet: apt-get install -y apache2 apache2-dev libapache2-mod-wsgi-py3 openssl default-...
Joerg55's user avatar
  • 31
-1 votes
2 answers
59 views

Python Pydantic Module not found in Docker Container (Raspberry Pi)

I'm trying to transfer a Flask web app to a Raspberry Pi 4b using Docker. The container runs flawlessly on AMD architecture. The ARM architecture is to be tested on the Raspberry. The creation of the ...
Joerg55's user avatar
  • 31
0 votes
0 answers
68 views

Virtual environment marked as externally managed environemnt

I know that this error should be raised normally, but I am already working in a virtual environment, where the error should not be raised. I created and activated a virtual environment on my Raspberry ...
Popyd10's user avatar
  • 23
-1 votes
0 answers
38 views

ffmpeg doesn't stop the playing track even after ending

I'm trying to run a 24/7 music stream on my Raspberry Pi 4. The .sh script works perfectly until the first track ends. After the track ends the script still sends empty data infinitely and so the ...
BlyZe's user avatar
  • 37
0 votes
1 answer
32 views

Autorun script in Raspberry Pi 4

I am trying to autorun my Python script whenever my Raspberry Pi 4 boots up or when I start connecting it to a power source, but I already tried different methods but didn't work. By the way, my ...
Genesis Coronel's user avatar
1 vote
2 answers
129 views

QNX on RPi4 how do I login the first time

I did all the crazy stuff required to get the QNX RPi4 image. I cooked in the simplest way possible the SD image (cat qnx_sdp8.0_rpi4_quickstart_20241023.img > /dev/sda) and booted. I press on the ...
louigi600's user avatar
  • 743
0 votes
0 answers
34 views

JavaFX not rendering properly on Raspberry Pi (aarch64)

We are trying to port a library of jars using JavaFX from Windows, where they currently run, to linux / aarch64. Goal: is to get them running on off the shelf ARM hardware, i.e. Raspberry Pi. (ideally ...
Florian's user avatar
  • 378
1 vote
0 answers
28 views

How do I stream data from my Neurosky Mindwave Mobile 2 to my Raspberry Pi 4?

I have managed to connect and pair my Neurosky Mindwave Mobile 2 to my Raspberry Pi 4. But when I try and stream data from the headset to my Raspberry Pi, my code says "No data received". ...
arkapravo sen's user avatar
0 votes
0 answers
31 views

Syncing timed camera and LED flash on Raspberry Pi

I have a Raspberry Pi 4 which I have connected to an Arducam 64MP OwlSight Auto-Focus camera (ov64a40) and 2 neopixel jewel LEDs (7 x 5050 RGBW). I need to be able to take a photo every 30 seconds ...
alyssap0's user avatar
1 vote
0 answers
56 views

python code running as a service to record and play audio

i have a python code running as a service on Raspberry Pi 4. The app is basically to record some audio in a certain language using a microphone, save the audio to a .wav file, then use ...
Farouk's user avatar
  • 11
2 votes
0 answers
44 views

Playback / recording problems

The code I'm working on gives me some errors. This results in frame lost when recording. The overview: A video is paused in the first frame. When the motion sensor is detected the video is playing a ...
Wessiez's user avatar
  • 37
0 votes
0 answers
49 views

Raspberry PI 4, Java, Pi4j: Unable to load libgpiod.so

I am trying to get Java and Pi4j to work on my new Rasperry Pi 4 B. I followed pi4j's instructions exactly. With jbang or maven I have same problem. The pi4j-example-minimal ist compiled and packaged ...
Andi Riese's user avatar
1 vote
0 answers
50 views

Generating random number (dice roll) and storing into array

I'm a new ARM programmer and I have a project that I'm working on where I generate a random number between 1-6 (simulating a dice roll) and store that value into an array. Then I want to print that ...
UnmiLou's user avatar
  • 11
3 votes
0 answers
105 views

Problem installing the rpi-rgb-led-matrix library

I'm creating my first Python program using a Respberry Pi 4 to connect to a 16x32 LED Hub75 board. From what I've researched, this rpi-rgb-led-matrix library is the only one compatible with this board....
Kevin Oliveira's user avatar
1 vote
2 answers
351 views

Building python3.13 with tkinter support on Bullseye on Pi4B

The Bullseye image's python3.9.2 finds tkinter, but I intend to have other versions of python3, all supporting tkinter. First python3.12.5 was built from source and tried. The python 3.12.5 seems to ...
always_learning's user avatar
-1 votes
1 answer
56 views

Need to Understand Why Docker Stopped Working?

I have several Docker containers running on a Raspberry Pi 4b, they have all suddenly stopped working and I don't know why... If I try to update my containers I get this error Cannot connect to the ...
Takuhii's user avatar
  • 925
1 vote
0 answers
36 views

yolov5 trained my data set on my laptop how I send it to my Raspberry Pi

I got yolov5 and trained my data set on my laptop now I want to send it to my Raspberry Pi 4b module for work. how I do it direct copy to raspberry pi but not working (myenv) h@raspberrypi:~/project/...
Hashan Senarathna's user avatar
1 vote
2 answers
88 views

How do I ensure that my Python script and its child processes handle Ctrl-C properly?

System: A Raspberry Pi-4 running Buster using Python 3.7 with an Adafruit 128x32 2.23" OLED Bonnet connected to the GPIO pins.  Ref: https://learn.adafruit.com/adafruit-2-23-monochrome-oled-...
Jim JR Harris's user avatar
0 votes
0 answers
30 views

Does pyinstaller conflict inside venv in Python 3.11 on Raspberrypi 4?

I am everything else but an experienced programmer. A few years ago it seemed easy to make an executable using pyinstaller (Python 3.5 on a Raspberry 3). This time, I get a list of errors, which to me ...
rlinner's user avatar
  • 57
0 votes
0 answers
44 views

How can I live stream in HDR using a Picamera Module 3 Noir and a Raspberry Pi 4? (using flask)

I am very new to all this. Currently i am working on a project where i am using the picamera module 3 noir and pi4 for live detection. Due to using the OS Lite version i use flask to stream in on my ...
ChuchuuXD's user avatar
0 votes
1 answer
94 views

A2DP SINK no audio when making phone calls

I am running LineageOS on a RaspberryPI for a car stereo head deck which is working extremely well. I want to try to get bluetooth hands free working. I have enabled bluetooth settings which allow me ...
Dean's user avatar
  • 3
0 votes
1 answer
84 views

gpiozero combining button events in event driven code

I'm pretty new to the Python and Raspberry business and am currently working on my first major application. I like gpiozero and the ability to work with events throughout. I would like to make my code ...
MaxWeb's user avatar
  • 125
1 vote
0 answers
70 views

Error installing Mongodb 4.4 on Raspberry pi 4B 8Gb

I have 2 Raspberry pi 4B of 8 Gb, same micro SD card (make, model and capacity), same processor, same updated OS, they are almost a clone except for the installed applications, which are not unusual ...
Justo Pla's user avatar
0 votes
0 answers
85 views

VLC in python tkinter script, Raspberry PI, video playback stutters

I have developed a kiosk system that runs on a Raspberry Pi 4B. It runs Raspberry Pi OS Lite (bookworm) and openbox as window manager. The content (text, images and videos) is displayed by a Python ...
Jens's user avatar
  • 1
1 vote
0 answers
98 views

How best to capture a long exposure image on PiCamera2

I am trying to use a PiCamera to analyse the intensity of a light source. I have written some very simple code to image it. The light source is not very bright but I don't want any problems from ...
confusedJohn's user avatar
0 votes
0 answers
53 views

Using Python and awoxmeshlight or bluepy, cannot connect to an EGLO BTLE bulb, even if detected using hcitool lescan

Using a RaspberryPi 4B running Raspbian buster, I can run hcitool lescan --discovery=g and see the mac address of the EGLO bulb needed. I have tried an example programme using awoxmeshlight (the bulb ...
ALP's user avatar
  • 1
0 votes
0 answers
28 views

How do I correctly implement control for GUI in raspberry pi 4

Here I have these code: //the variables and struct I uses and struct definition int menu_flag = 0; // initialised menu flag to 0 int selected_item = 0; // selected item flag to 0 int ...
saltedfry's user avatar
0 votes
0 answers
31 views

A Python program using PyQt5 QTableWidget shows table header color correctly on Ubuntu but not on the RaspberryPi [duplicate]

To the reviewer who keeps closing this question, please note that this question is different to any sugegsted as being the same, in so far as I can set the table header color in Ubuntu, but not in the ...
TTM's user avatar
  • 1
0 votes
1 answer
35 views

How to remove and replace USB wireless dongle programmatically

I have a Raspberry Pi 4 (8G) with the Debian Lite OS, Rii Wireless keyboard and mouse. The keyboard is fine, but the mouse freezes quite often while watching Youtube or video. My solution is to ...
Martin Trueman's user avatar
0 votes
0 answers
23 views

Issue when debugging remotely with vscode to a rpi

I have a ssh connection to the RPi and it is working and alle the files transport correctly but I won't debug, when I run the dll on the rpi it works fin, can you guys help I have this task.json { ...
Ehab Basha's user avatar
0 votes
1 answer
146 views

Raspberry Pi 4 Compute Module does not show output with HDMI display

I use Raspberry Pi 4 CM in bound with CM4-to-Pi4-Adapter. I've flashed a custom Yocto-image in that, using rpiBoot and RPi Imager for. Now I'm trying check my Raspberry's features, but when I try to ...
Taurwain's user avatar
0 votes
0 answers
376 views

pygame.error: ALSA: Couldn't open audio device: Unknown error 524, What is going on?

I'm working on a function that takes text and turns it into a .wav file using pyttsx3 on an RPi4B, then using pygame it plays the .wav file (I know pyttsx3 has a built in function for this but we got ...
Elementus's user avatar
0 votes
0 answers
26 views

Service Worker cannot cache large videos

I am trying to implement a caching mechanism for a website with pwa functionality. My goal is to cache every page and its content that has been loaded. This works fine f.e. in Google Chrome (127.0....
Christian Stadelmann's user avatar
2 votes
0 answers
50 views

setsockopt Timeout Not working Properly In Raspberry Pi

I am working with Raspberry Pi 4 with bookworm 64bit OS for connecting devices with TCP/IP. I need some delay for socket timeout if no response from my server. The Raspberry Pi acts as a client. I am ...
Sathish's user avatar
  • 389
0 votes
0 answers
113 views

The requested image's platform (linux/arm64) does not match the detected host platform (linux/arm/v8)

I try to build a docker image for my raspberry pi 4b which supports 64bits arch, but OS installed is 32bits (I can't change it). uname -a Linux raspberrypi 6.1.32-v8+ #1656 SMP PREEMPT Wed Jun 7 11:...
KevinOB13's user avatar
0 votes
0 answers
371 views

Error in device registration in Google Assistant

I followed the instructions to add Google Assistant to my Raspberry Pi 4. And in the step where I needed to register device for Assistant APi, it throws this error Reached limit on number of clients ...
TriK16-UIT's user avatar
0 votes
0 answers
29 views

Start Address of rpi-4-b .dtb file

On the official website I can't find the "start address" it used for loading device tree blob file, so I decide writing a program traversal all of memory find the entry it stored the .dtb ...
Joseph Huang's user avatar
0 votes
0 answers
20 views

Problem in receiving data from Ethernet interface of Heyer Vizor 12 Patient Monitoring Machine, on Raspberry Pi 4

Introduction: I am working on a project in Ch. Pervaiz Elahi Institute of Cardiology at Wazirabad, Pakistan. In which, we are assigned the task to fetch patient's vital signs from the Patient ...
AMMAR MUJTABA TARIQ's user avatar
-1 votes
1 answer
159 views

How to install PyTorch and run .pt file in Raspberry Pi 4 B?

So i am trying to implement my yolov5 object detection model "best.pt" which i trained in custom roboflow collab notebook file which i have already downloaded in my desktop since it is where ...
kurtouano123's user avatar
0 votes
0 answers
50 views

How can I use threading and multiprocessing in python to allow functions to run constantly despite them taking different times?

I have a two functions that need to run constantly, but due to the fact they affect real world objects, there are certain constraints. I can't run the functions faster or slower or else the display ...
Bryon Meredith's user avatar
0 votes
0 answers
51 views

Is it possible to use pins 32-53 as GPIO on a Raspberry Pi4

My scenario is that I have a raspberry pi 4 using GPIO 2-27, and I am able to freely set the pins as inputs or outputs print("Setting pins 2-8 as INPUTS with PUD_UP") for pin in range(2, 9): ...
Vanillaice's user avatar

1
2 3 4 5
29