17,530 questions
0
votes
1
answer
72
views
System.IO.IOException Error 121 on Raspberry Pi I²C with PCF8574 LCD using .NET
I am trying to connect a Raspberry Pi to a Midas MCOB21605G1V-EYP display with a soldered HW-61 board using I²C.
The VCC pin of the HW-61 board is connected to a Wago splice connector. This connector ...
2
votes
2
answers
128
views
Curl C/C++ library based application produces erroneous response for HTTP POST request
I use the following block of code to download some data from a server:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <curl/curl.h>
#include "../...
Advice
0
votes
0
replies
21
views
Choosing the right Raspberry Pi setup for mmWave presence detection and voice interaction (research project)
I’m currently working on a research project where I plan to use a Raspberry Pi to build an indoor system that can detect whether a user is present in a room and interact with them through voice.
The ...
0
votes
1
answer
33
views
I made a kernel module that hooks systemcall but it can't be compiled [closed]
What's the problem? It's not compiling.
The content of the code is to replace the function in the systemcall array with the function I created, print out "Hooked! Opening file" in the kernel,...
Best practices
1
vote
2
replies
55
views
Minimum hardware requirements for running Raspberry Pi OS on VirtualBox
I am trying to run Raspberry Pi OS inside VirtualBox, and I’m not sure about the disk size or the overall minimum requirements. So I'm asking if (2 GB, 2 CPU, 20 GB Disk) is enough for smooth use.
Or, ...
Best practices
0
votes
1
replies
65
views
Deploy Python application to Raspberry Pi automatically using Azure DevOps CI/CD
so, I have a repository in Azure DevOps that contains Python scripts for a Raspberry Pi application. I build the project using PyInstaller, which generates an executable inside the dist/ folder.
...
2
votes
1
answer
62
views
ModuleNotFoundError: No module named 'board' when run with sudo
I am trying to control some leds with my Octopi/Octoprint Raspberry Pi. I found a python script for it here. I managed to create a venv and run my script from there.
First I tried GPIO 17 for the data,...
1
vote
0
answers
92
views
How to switch to Arm Exception Level 1 on the Raspberry Pi?
I am currently working on a small 64bit "kernel" for the Raspberry Pi 3B. Everything I have runs just fine as it is. I am currently trying to switch Exception Levels to operate in "...
Advice
1
vote
1
replies
62
views
Need advice on extracting data from PV inverter loggers (Sungrow, GoodWe, Solis, Huawei) using Raspberry Pi
I’m currently working on a fairly large-scale solar monitoring project and I could really use some guidance from people with experience in inverter communication / data acquisition.
The setup involves ...
0
votes
0
answers
40
views
Why spidev.SpiDev() is creating an error on RPi 4b?
I have two RPi 4b boards and two NRF24L01 PA modules.
The goal is to connect two Raspberry Pi 4b boards via NRF to send and receive signals.
I am trying to follow this atricle.
I only changed from ...
Best practices
0
votes
0
replies
31
views
SSH D2D Communication - PC and RaspBerry
I have some raspberrys that run some softwares, I want to be able to connect and configure then, update the software or extract some paramters. What are the Standards for D2D via SSH communication?
My ...
Tooling
0
votes
1
replies
47
views
What Raspberry-pi choose to make meteo station with neural network predictions?
There will be many sensors (temperature, humidity, particle, CO₂, etc.) they will get number reading and neural network will make prediction on their change. Can I get away with RPI 3B 1 GB RAM? Will ...
0
votes
0
answers
46
views
Buildroot: Is this defconfig correct for running a Raspberry Pi Zero W hotspot?
I am trying to build a minimal Buildroot image for a Raspberry Pi Zero W that should run a WiFi hotspot. I want to use "hostapd" and "dnsmasq" to provide the access point ...
Tooling
0
votes
7
replies
122
views
How do I install POP_OS on a Raspberry Pi 5?
I'm trying to jailbreak a Chromebook and I need to run Linux through HDMI somehow. I am very much a novice in this field and I'm currently in school, so I can't access my raspberry pi for a few days. ...
Best practices
3
votes
7
replies
108
views
Python script interface
I have a few python scripts that I want to run on a small raspberry pi project I've been working on and I want to use a launcher or something so I can launch them without a pc or anything does anyone ...
Advice
0
votes
14
replies
109
views
How to replicate serial port data to one or more tcp connections
Context
I have a smart meter which regularly emits telegrams about electricity (and gas/water) consumption over a serial port, which I have connected to a Pi. These telegrams are received once per ...
0
votes
0
answers
46
views
Restore pullup pins became LOW
I need to connect two normally open buttons to my Raspberry 4 and read when they are pressed.
I decided to try with the GPIO 16 in order to understand if pull up logic works as expected after set up, ...
Best practices
0
votes
6
replies
88
views
How do I use the BCM mailbox interface on the Raspberry Pi Zero 2w, setup a framebuffer and print pixels to the screen?
I've recently started bare-metal coding on the Raspberry Pi (Zero 2w) to learn hardware development using the C programming language. Until this point I've successfully implemented basic GPIO and ...
0
votes
0
answers
44
views
Segmentation fault when initializing OCR on Raspberry Pi 5 (Python 3.13)
I'm encountering a segmentation fault when trying to initialize PaddleOCR on a Raspberry Pi 5 (8GB RAM) running Python 3.13 in a virtual environment. The error occurs during the model loading phase.
...
0
votes
1
answer
57
views
Visual Studio Code, Flutter app - PathNotFoundException
I am using Visual Studio Code on a Windows machine developing a Flutter app for a Raspberry pi 5. When I try to use SQLite, I get this error when I try to compile:
Target dart_build failed: ...
0
votes
0
answers
80
views
Unable to get rpi_WS281x to run on 64bit Raspberry pi
When I try to initialise the WS281x interface with
from rpi_ws281x import *
strip = Adafruit_NeoPixel(LED_COUNT, LED_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT, LED_BRIGHTNESS, LED_CHANNEL)
strip.begin()
...
Tooling
0
votes
5
replies
44
views
How can I make a Docker container running on Windows (WSL2) accessible from a Raspberry Pi on the same network?
I was running a WASP node (for IOTA) inside Docker on Windows using WSL2. I wanted to access its JSON-RPC API from a Raspberry Pi on the same local network. However, despite exposing ports in Docker, ...
1
vote
0
answers
81
views
Severe RAM leak when running OpenVINO inference on Raspberry Pi 5 (ARM) – even with infer() only
I am developing an object detection project running on a Raspberry Pi 5.
On the camera side (Picamera2 / libcamera), everything works perfectly fine: when the camera runs alone, RAM usage is ...
1
vote
0
answers
31
views
API request for changing playlist on PiSignage opensource server
I am trying to change the currently playing playlist on my Pisignage through the API with the following request:
POST {{base_url}}/api/setplaylist/{{playerId}}/{{Playlist1}}
I got this endpoint from ...
Advice
0
votes
1
replies
93
views
How can I give order to a drone with a raspberry pi?
I want to start learning Python.
I've already started learning with FreeCodeCamp, where I was able to do encryption with Caesar's code, and I'm continuing on that path.
However, at the same time, I ...
1
vote
2
answers
156
views
<img> does not show image from NAS drive [closed]
I have a Raspberry PI with Raspbian OS which is included in my local internal network 192…. and it has complete and unlimited access to my NAS drive using the CIFS protocol.
I am using it as a common ...
4
votes
0
answers
117
views
libmodbus: Point to point TCP connection failure between two industrial Pi
I'm using two industrial Pi platforms to learn more about embedded C coding on Linux. I'm using Visual Studio to cross-platform compile and debug.
I've installed libmodbus and successfully tested the ...
0
votes
1
answer
94
views
How to link a RPi library using Visual Studio CMake?
I am trying to learn RPi dev
I cannot use an IDE on the RPi, because ultimately the RPi needs to run without a GUI (Incompatible with hardware I intend to use), so I want to use Visual Studio (or ...
0
votes
0
answers
64
views
Compiling QT with EGLFS on Raspbian Lite (Trixie) for Pi 4
in the past I was able to compile QT with EGLFS on Raspbian Buster. I don't remember exactly how I did it, but it uses FKMS driver. Back then full KMS was not supported on Pi 4.
I read that these days,...
Advice
0
votes
3
replies
136
views
Enforce probe order for device tree overlay fragments
I am building a dto for a display using an Ilitek 9806e controller and a Goodix Gt911 touch controller.
These two components share a single reset line, so this reset line should only be asserted once ...
2
votes
0
answers
202
views
Communicating with two devices over BLE UART in python using bleak
Unfortunately, I don't have any experience with async programming, so it took me quite some time to get my code running on a Raspberry Pi 5 4GB (with bookworm 2025-05-13 OS) to communicate with one ...
Advice
0
votes
1
replies
87
views
SDIO WiFi Card Enumeration Fails on Raspberry Pi 5 , But Works on Pi 4
I'm seeking help with a device tree issue I'm facing on the Raspberry Pi 5.
Goal:
My objective is to connect an external 1.8V SDIO WiFi card to a Raspberry Pi using the built-in microSD card slot (the ...
Advice
0
votes
1
replies
40
views
Which OS for Raspberry PI 4 Wails Application
I have developed an application with react which I deploy in docker then pull the images on my raspberry pi and then direct wails to use this docker application to show my ui. So far it works but the ...
1
vote
0
answers
88
views
Raspberry doesn't show in my PC, nor is it detected in Arduino IDE
I was trying to upload a sketch in my RaspBerry PI Pico W (USB) when suddenly this error occurred:
Sketch uses 316068 bytes (15%) of program storage space. Maximum is 2093056 bytes.
Global variables ...
Tooling
0
votes
2
replies
131
views
Is it possible to train and run a small AI model on a Raspberry Pi 5 to solve text-based CAPTCHAs?
I’m trying to understand whether it’s actually feasible to train and run a small AI model on a Raspberry Pi 5 (16 GB RAM) that can solve simple text-based CAPTCHAs, the kind that contain a few letters ...
0
votes
1
answer
68
views
GPIO readings and OSC forwarding using Python in Raspberry Pi
I am trying to set up a simple Raspberry Pi server that sends an OSC message when a button is pressed. My plan was to read the GPIO using a Python script and send the OSC message to PureData, running ...
3
votes
3
answers
209
views
strlen() returns 1 larger on linux than windows
I am building a c extension for a python module and it needs to work the same on a windows machine and on a raspberry pi.
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#...
0
votes
1
answer
124
views
dockerized rust application shrank [closed]
I have the following dockerfile:
# Build stage
FROM rust:1.90-bookworm AS builder
# Install build dependencies
RUN apt-get update && \
apt-get install --no-install-recommends -y pkg-config=...
1
vote
0
answers
85
views
ASP.NET Core app in docker container not accessible
I have an ASP.NET Core web app that sends signal through can bus on Raspberry Pi. When I run the app throught dotnet run it runs flawlessly. I had to dockerize, and in order to have access to can bus ...
0
votes
0
answers
73
views
Intermittent ESC/POS Printer Issue Using Flask + Gunicorn on Raspberry Pi
I originally had a Raspberry Pi running Raspberry Pi OS (Full Desktop) with Apache serving a Flask app on port 80:
from flask import Flask, request
from escpos.printer import Usb
app = Flask(__name__)...
3
votes
1
answer
186
views
Python tkinter not executing button commands on Raspberry Pi
I am developing an app to select and play a mp3 clip from a list. It will be run on a Pi4 with 7” touch display and piAMP+ hat. The GUI is in tkinter with pygame for the sound plus a pair of GPIO pins ...
0
votes
1
answer
99
views
Unable to connect to bluetooth remote from Raspberry Pi Zero 2 W
I'm a newbie to Raspberry Pi. I'm trying to write an app that interacts with an Amazon Fire TV bluetooth remote but the app can't connect.
I know the bluetooth controller is working because my ...
0
votes
0
answers
127
views
I2C Remote I/O Error on Raspberry Pi with OLED display
I am trying to run a Python script to display GPS data on a 1.51-inch transparent OLED screen connected to a single-board computer (likely a Raspberry Pi). I have a ValueError that has persisted ...
1
vote
1
answer
387
views
How to install dev packages for Raspberry Pi cross-compiling?
I want to compile my project for Raspberry Pi 5. I want to run compilation in my PC that runs a Debian Linux, as it would be much faster than do it on a Pi. Installing the cross compiler is easy, but ...
0
votes
0
answers
77
views
Raspberry Pi Sense HAT joystick not probing in Yocto kernel despite DT entry and config enabled
I'm working in a Yocto environment and trying to enable the Raspberry Pi Sense HAT joystick. I've added the following device tree entry:
sensehat-joystick@46
compatible = "raspberry Pi, sense hat-...
0
votes
1
answer
150
views
How to use Selenium on headless Raspberry Pi
I am trying to get Selenium (v. 4.35.0) working on my headless Raspberry Pi.
I installed Chromium and Chromedriver on the Pi. In my usr/bin/ directory I have chromedriver, chromium, and chromium-...
0
votes
0
answers
53
views
Stepper motor and camera issues
So I want to run the stepper motor a little but faster and always have the camera running. Basically, to have this system be more efficient. It runs for a few seconds, camera turns on then turns off, ...
2
votes
0
answers
157
views
MicroPython MCP2515 CAN bus: Lost some responses at a 10 ms request cycle
I’m working on a Raspberry Pi Pico and MCP2515 CAN bus setup using MicroPython. I’m simulating OBD-II vehicle speed responses (PID 0x0D). At a 100 ms request cycle from my USB-to-CAN adapter (Linux ...
0
votes
0
answers
194
views
Avahi Issues, Cannot Ping local hostname FROM machine
I have a raspberry pi with Avahi running on it, but I can't get it to resolve any local hostnames that are being broadcast on the network, including it's own.
I have confirmed that avahi is running, ...
0
votes
0
answers
48
views
Raspberry Pi 5 PMUs return 0 when configured manually from EL1
I am working on a Raspberry Pi 5 (aarch64).
uname -a:
Linux rpi5 6.8.0-1036-raspi #40-Ubuntu SMP PREEMPT_DYNAMIC Mon Aug 18 09:50:42 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux
I load a kernel module I ...