Questions tagged [raspberry-pi4]
PROGRAMMING QUESTIONS ONLY. Questions about general use should be asked on https://raspberrypi.stackexchange.com/
1,336
questions
0
votes
0
answers
7
views
Problem accessing pymodbus from python3.12 on Raspberry 4 bullseye
Running bullseye on a Raspberry 4 with python3.9.2 as default. Python programms with this default environment and pymodbus are working. Upgrading the default Python to python3.12 resulted in an error ...
0
votes
0
answers
5
views
Using debuild to build rpi-imager, I see an error finding Qt5.14 or better
I'm running debuild on Debian 10 to build rpi-imager, and it's failing to find Qt5.14 (or better):
/rpi-imager$ debuild -uc -us -d
dpkg-buildpackage -us -uc -ui -d
dpkg-buildpackage: info: source ...
-1
votes
0
answers
12
views
Raspberry pi os sd in a computer [closed]
I have Raspbian on my SD card, and I need to open the desktop on my notebook (Windows). How can I do this?
I tried to open the desktop using the Raspberry Pi Imager. I also attempted to use an Ubuntu ...
0
votes
1
answer
15
views
How to use the cl-pg package?
I have installed clisp and cl-pg on my computer (Raspberry PI 4B) to work with PostGres from a Lisp script.
# apt install clisp
# apt install cl-pg
The few tricks I have tried starting with the ...
-1
votes
0
answers
14
views
How to create a docker container with openvswitch installed inside on Raspberry pi4? [closed]
Target: Create a Docker container on a Raspberry Pi with internet access via Wi-Fi, install Open vSwitch inside the container, establish an Open vSwitch bridge, verify internet connectivity within the ...
1
vote
0
answers
47
views
Common Lisp on Raspberry PI
I just installed Common Lisp on my Raspberry PI. It is running the last OS (2023-10-10 raspios arm64 lite).
Here is what happens when I run a lisp program of mine:
pi@raspberrypi:~ $ ./testpic 10000
...
0
votes
0
answers
8
views
Nema 17 and 23 motor with TB6600 Raspberry pi 4 4GB control
My motors (both nema 17 and 23) do not seem to run. I use TB6600 driver for them and the DIP switches are set to 16 microstep and 2A (nema 17) and 3A (nema 23). Is there any problem with my code or ...
0
votes
0
answers
39
views
Unable to remove or hide button border in tkinter
I'm in the process of righting some code for a RPi 4b in python using PyCharm on my Mac. It's going to be used as a process controller for some light mechanical work.
The display will be on a 3 1/2 ...
-1
votes
0
answers
10
views
Is it too much for Raspberry Pi4 B 4GB if I run PiHole, PiVPN, Unbound, DNSMasq, Nginx, ufw, etc.?
I am trying to evaluate what all can I setup on a Raspberry Pi4 B with 4GB RAM
Will the following be too much for the rpi?
Adblock using PiHole
VPN Server to remotely access my home systems
DNS ...
0
votes
1
answer
14
views
Error when running python script through SSH
I am using Gotify to send a message to my phone from a raspberry pi. I have a script for a laser tripwire that sends the message when triggered.
CURRENT ERROR
pi@raspberrypi:~/Desktop/Projects $ ...
0
votes
0
answers
12
views
Pi 4 not booting up after being unplugged
I have a raspberry pi 4 Model B which I was using via VNC when it suddenly froze. I was also connected to it via ssh and tried shutting it down but nothing worked so I unplugged it from the power ...
0
votes
0
answers
7
views
what's the equivalent function of RaspberryPi4 to receive FlySky receiver channel signals like the arduino function pulseIn (ch_pin, HIGH)?
I couldn't find any method or function on Rpi4 to get the values of the Flysky receiver to remotely control my rpi robot!
Can anyone help??
from machine import UART
I found this method to use machine ...
0
votes
0
answers
30
views
Failed to remote debug Dot Net 6.0 C# console application into Raspberry Pi 4 machine usnig Visual Studio 2022
I am facing the issue while remote debugging on Raspberry Pi 4 (Raspbian or Linux Environment). I have a Dot Net 6.0 C# based console application. I wanted to debug in Linux machine line by line. I ...
0
votes
0
answers
14
views
MediaPipe Model retraining for 15 classes
I am a beginner to ML and am using Google Colab for model training. I am using MediaPipe and I followed the instructions from the 5 classes of flowers example: https://developers.google.com/mediapipe/...
-4
votes
0
answers
23
views
suggestion on how to make my project from raspberry pi [closed]
I have been given a project in which I have to connect a Raspberry Pi to an Android phone, and when it is connected, it should start call forwarding. Could anyone instruct me on how to do it?
I have ...
0
votes
1
answer
14
views
Ubuntu server om Raspberry pi 4 and laravel problem
I have a working Ubuntu server 20.04 on the Raspberry 4 and have this virtual site working written in HTML and PHP: http://temperatur.gleeze.com DDNS through dynu.com. But if I make a simple Laravel ...
-1
votes
0
answers
27
views
Raspberry Pi 4 crashes at startup then boot loops [closed]
I have a raspberry 4 8GB model, tested with multiple power supplies, multiple SD cards, and even tried to boot from USB (both the 2.0 and 3.0 ports).
I also tried multiple images, the 64 and 32 bit ...
0
votes
0
answers
19
views
Connect Two ESP32 To Raspberry Pi
I want to connect 2 esp32 with the same manufacturer and product ID to a raspberry pi 4 by modifying the udev configuration file as follows:
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4&...
1
vote
2
answers
72
views
nodejs connector to mariadb keeps timeouting
This is my first stackoverflow post, I am currently working on a project for school, but unfortunately I can't get this bug fixed.
I have a node.js script which should process a JSON file and insert ...
-2
votes
0
answers
32
views
Dotnet app is slower than mono app with exact same code on raspberry pi 4
I have build an app, that receives udp packets from f1 game decodes them, and shows info on a nextion screen connected via serial.
the code is this:
using System;
using System.Text;
using System.Linq;
...
0
votes
0
answers
27
views
Is it possible to send frames from picamera2 to a queue and then create a file using 10 seconds worth of those frames?
I want to be able to record frames using picamera2 on the pi camera module 3 and send them to a thread message queue. When in this queue i want to join them and when the file reaches 2 minutes long i ...
-1
votes
0
answers
39
views
Raspberry Pi Hosting Python App, segmentation fault, works on my linux PC though
I'm working on an Python script for scraping tyre data. However, when I try to host the script on my Raspberry Pi, I encounter a segmentation fault issue.
The script is designed to compare tyre data ...
0
votes
1
answer
34
views
Raspberry Pi camera image color are diffrent from real colors
I am new to Raspberry Pi and I am using a 5 megapixel Raspberry Pi camera version 1.3 and I have taken pictures with it. But the color of the pictures taken is different from the actual color of the ...
-1
votes
0
answers
79
views
Raspberry PI mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
I'm trying to connect to picamera from my raspberry pi 4. I used my old picamera and when i use this commad
raspistill -o Desktop/image.jpg
I get this error
mal: mmal_vc_component_enable: failed to ...
0
votes
0
answers
13
views
Arducam OV6547 5MP camera
Im doing a project that is using the Arducam OV5647 camera and the raspberry pi 4b to do object detection and saving the images to a microsd card. I’m getting my code to upload with no errors but for ...
1
vote
1
answer
22
views
from kivy.core.window import Window Segmentation fault
for a school project i have to make graphique application on Raspberry pi 4 model B.
I use kivy to make this. I got no problem with my code. But yesterday, i got a error (segmentation fault) and when ...
0
votes
0
answers
14
views
On my Raspberry Pi 4, why is starting the camera causing the reading of GPS data to be unstable?
Setup
Raspberry Pi 4, running Bullseye
USB Gps receiver
Camera connected to the ribbon camera port
Problem
I am successfully able to read from the Gps receiver, but as soon as I call the start ...
0
votes
0
answers
49
views
Problem with ALSA with Raspberry Pi 4b and voice recognition
I get the following error:
def recognizer():
try:
with sr.Microphone() as voice:
listen = sr.Recognizer()
voices = listen.listen(voice, 2, 30)
command = ...
0
votes
0
answers
33
views
raspberry pi 4 - trying to emulate mouse and keyboard - BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
I have a Pi4 running Bookworm with Kernel 6.1.21 and I'm tring to emulate the keyboard and mouse.
I have a boot script running that looks like this one: Mouse emulation on Raspberry Pi 4 does not work
...
0
votes
0
answers
16
views
Error when compiling python code in Rpi 4B to connect to a Arduino UNO
Ive created a python code that fetches data from firebase and controls a arduino (the arduino is on a rc car and the rpi is connected to the arduino via usb) below is the error I am encountering when ...
-1
votes
0
answers
51
views
How can i fix the error message: bash: line 1: /usr/bin/raspimjpeg: No such file or directory
I am currently setting up my PiCamera 3 on my raspberry pi 4 as a live stream camera.
I followed the steps given in https://elinux.org/RPi-Cam-Web-Interface.
Everything seems to be working until I ...
-1
votes
0
answers
31
views
EGLFS create a QML app that goes in fullscreen across two monitor
I'm looking for a way to create a qml app that goes in fullscreen across two monitors.
In this momement I can create two QQuickView one for Screen 1 and the other one for Screen 2, but my goal is ...
0
votes
0
answers
37
views
How to use vendor_boot partition to boot my raspberry pi 4 with AOSP? How to boot using GKI?
I was able to port AOSP on raspberry Pi. I followed this link to achieve the same.
But know what I intent to do is? To boot up my Pi using GKI. Initially I had 4 partitions, Boot, System, vendor and ...
0
votes
0
answers
32
views
How can I get data from the /dev/ttyS0 port on the SIM7600E-H Rpi 4 model when the internet is on?
When I want to receive data via GPS, the /dev/ttyS0 serial port is busy and I cannot receive data. I cannot make calls or SMS. I can receive GPS data when the internet is turned off.
I would like your ...
1
vote
1
answer
132
views
Weston not running from terminal: "no drm device found"
I've built an image using core-image-full-cmdline using Yocto/Poky (kirkstone). I boot the image on a RasPi 4B via SSH. I implemented wayland/weston to my build by adding the following lines to /conf/...
1
vote
1
answer
45
views
Tkinter fullscreen error in Raspberry Pi 64 bits OS
I want to make a tkinter-based GUI in a RaspberryPi. I need it to be on a fullscreen mode. I have the following script:
from tkinter import *
win = Tk()
win.geometry("650x250")
label = Label(...
0
votes
0
answers
12
views
SPI based 16 channel TLC59282DBQR LED DRIVER with raspberry pi 4b
I want to Drive led connected to ch0 of TLC59282DBQR(LED driver) with 100% brightness or at least turn ON LED.
I'm trying to use the 16-channel, TLC59282DBQR constant-current sink LED Driver with an ...
0
votes
1
answer
38
views
I cannot write to 24fc512 i2c memory chip from Linux
For few days now, I struggle to write some data in the memory of a 24fc512 i2c chip from Linux. I tried both a Raspberry Pi 4 and a Beaglebone Black.
The IC has 4.7 KOhm pullup resistors on SCL and ...
-2
votes
1
answer
218
views
Cannot remote control raspberry pi4 sucessfully by using RealVNC [closed]
error message:
Unable to connect to VNC Server using your chosen security
setting. Either upgrade VNC Server to a more recent version from
RealVNC or select a weaker level of encryption.
enter image ...
0
votes
1
answer
54
views
Weston not booting on RasPi 4B with touchscreen
I have a RasPi4 connected to the Raspi 7' touchscreen. I have built a linux image with yocto, where I included the meta-qt6 layer, the meta-raspberrypi layer, and a custom layer with my Qt application ...
1
vote
1
answer
65
views
Pyinstaller with Jenkins for executable file in Raspberry PI
I use Jenkins-pipeline with Docker image 'python:3.11' on 5.10.0-23-cloud-amd64 Linux for create an executable file with Pyinstaller.
Build command: pyinstaller --onefile main.py
After I tried to ...
0
votes
0
answers
28
views
RC522 RFID Reader connected to Pi 4b does not want to read my card or tags
I'm at my wits end, I've been trying to connect my RC522 module to my RPI 4b, running Debian GNU/Linux 11 (bullseye). I've been trying to use a loopback test on my SPI and it works, but the code below ...
0
votes
0
answers
41
views
unable to run mongodb at rasberry pi 4 with docker
I am not able to run a mongodb container at a rasberry pi 4.
cat /etc/os-release gives me this:
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID=&...
0
votes
0
answers
40
views
Understanding Size Discrepancy between Raw Array and Image from Raspberry Pi Camera
I am using a Raspberry Pi Compute Module 4 with an Arducam IMX230 camera to capture raw images. The camera is configured for a specific sensor mode, but the resulting numpy array from the raw capture ...
0
votes
0
answers
94
views
Why can't I import Pandas on a Raspberry PI4 after installing Pandas
Relatively new to Coding. However after I pip install pandas on my raspberry PI 4 Bullseye (using this version as the newer version 'Bookworm' has issues with using VNC server) and then simply run '...
1
vote
1
answer
61
views
MySQL4 on a Raspberry Pi 4 B
I am using CAO faktura 1.4 which only works with mysql4,
so I installed mysql4.1.22 on a Raspberry Pi 4 B
which was a bit tricky but finaly I managed to configure and make install.
Then I added to the ...
0
votes
0
answers
43
views
How to get correct values for SRCREV_meta and SRCREV_machine, while applying preempt-rt patch for raspberrypi4-64
I am trying to apply PREEMPT-RT patch using yocto for raspberrypi4-64 machine.
Followed link
I have done following steps:
I have downloaded the patch patch-5.10.83-rt58.patch from
here and stored
in ....
0
votes
0
answers
32
views
How do I create a Makefile for building an 64 bit Operating System for Raspberry Pi 4B's ARM architecture?
How do I create a Makefile for building an 64 bit Operating System for Raspberry Pi 4B's ARM architecture?
This is what I have so far, am I on the wrong track?
I don't know what values to assign to ...
0
votes
0
answers
25
views
Can't run make flash, getting error "fatal error: /usr/include/asm-generic/ioctls.h: Bad message"
I have a raspberry pi running Klipper (specifically MainsailOS), and I'm trying to use the instructions here to setup the pi as a secondary mcu, to use an ADXL sensor for input shaping.
Following ...
0
votes
0
answers
34
views
Why are the particles in LiquidFun so bouncy?
I’m trying to use LiquidFun/ofxLiquidFun to simulate 2d water. But I’m constantly getting very bouncy particles. It looks like the simulated water is boiling.
I already changed all the settings like ...