Questions tagged [raspberry-pi4]

PROGRAMMING QUESTIONS ONLY. Questions about general use should be asked on https://raspberrypi.stackexchange.com/

The Raspberry Pi 4B comes in three different models, the only difference being the amount of SDRAM (1GB, 2GB or 4GB).
The most notable spec improvements, compared to older models are:

  • 1.5GHz 64-bit quad-core Cortex-A72 ARM v8 CPU
  • 1GB, 2GB or 4GB LPDDR4-3200 SDRAM (depending on model)
  • Gigabit Ethernet
  • 2.4 / 5GHz 802.11ac Wireless LAN
  • Bluetooth 5.0 BLE
  • 2x USB 2.0, 2x USB 3.0
  • 2x micro HDMI ports (both support up to 4kp60)

Visit Raspberrypi-Stackexchange for general questions about the Raspberry Pi.
Also useful might be the original raspberry-pi tag info.

1309 questions
0
votes
1 answer

Unable to kill a docker which restart each 10 seconds

I have problems with a heretic docker container... I tried to follow this tutorial, trying to build a OpenVPN in my new raspberry (the first one in my life)... and I think I did something really wrong... I tried to run it with reset policy:…
Krakenudo
  • 182
  • 1
  • 17
0
votes
1 answer

Which object detection model suitable for raspberry pi 4

I want to make object detection application with raspberry pi 4 4gb Ram.The problem is that I dont be sure which object detection model I should use. I mean which one is suitable for raspberry pi 4. Besides , I dont have a USB accelerator stick.
Omer Beden
  • 31
  • 5
0
votes
0 answers

Raspberry Pi simple java application (LED) using Netbeans and Pi4J library not woking after building

Is there someone who can help me with this issue? When I run the Java Application directly on Netbeans, it works 100% fine. I can control the LED. But when I build the project and run the built jar file, the application appears but it seems like it…
0
votes
0 answers

Striped down kernel take long time to load on Raspberry Pi 4

I'm just trying to customize the kernel configuration for Raspberry Pi 4B, to achieve a compact system image and quick startup, but as we can see in the logs there's approximate ~4.0s to start executing my 4.2MB kernel. Logs: 23:20:06.198 ->…
IMAN4K
  • 1,265
  • 3
  • 24
  • 42
0
votes
0 answers

Python Motion Sensing

I have 2 motion sensors in a doorway, my plan is to see if motion sensor 1 THEN 2 is triggered someone has entered, if 2 THEN 1 has been triggered then someone has exited. I already know how to program the motion sensors but how to i know if 1 THEN…
0
votes
1 answer

How read AArch64 register in AArch32 mode

i have a raspberry pi4 board that powered with Cortex-A72 processor. in this processor exist a special register that named "ID_AA64PFR0_EL1". document of Cortex-A72 explains: To access the ID_AA64PFR0_EL1 in AArch64 state, read the register with: …
0
votes
1 answer

Does it matter if faces are slightly distorted for OpenCV Face Detection & Recognition?

I am writing a program using OpenCV face detection & recognition, using this as a guide Does it matter if faces are distorted? As in, I'm thinking of placing camera* over a peephole in a door and there is intrinsic distortion in that. Will OpenCV…
0
votes
0 answers

MariaDB 10.3.17 server is rejecting connections without a very specific reason

I have installed a MariaDB 10.3.17 server on a Raspberry Pi 4B running Raspbian Buster. Lately some my applications that I've built (in this case in LabVIEW) are not able to open connections. I have utilized the same LabVIEW application to do this…
Big Owls
  • 37
  • 6
0
votes
0 answers

How do you chose which slave to control in PyModbus?

So I'm doing a project where I have a Raspberry Pi 4 as master controlling 4 actuators with Modbus. I'm using PyModbus (with python 3) and I've been using code like this to test the Pi (with a PC slave simulator). client = ModbusClient(method =…
OverDemon
  • 103
  • 1
  • 3
  • 8
0
votes
0 answers

Can't Get VirtualHosts to Work on Raspberry Pi or iPad Pro

I setup a LAMP stack on my RaspberryPi with VirtualHosts so I can code in a local environment from my iPad Pro and its been working but when I tried to incorporate github it became an issue when creating a local repo in /var/www/. So I found this…
Joe Bobby
  • 2,803
  • 10
  • 40
  • 59
0
votes
1 answer

Raspberry Pi 4 yocto, rpi-basic-image.bb: Unable to determine endianness for architecture 'INVALID'

I'm trying to build core-image-minimal for raspberrypi4-64 on the zeus branch and I had to create the file sanity.conf and I'm getting this errors: fstrati$ bitbake -c cleanall core-image-minimal Loading cache: 100% Time: 0:00:00 Loaded 28 entries…
0
votes
1 answer

Opencv GStreamer pipeline doesn't work on Raspberry Pi 4

I'm trying to open UDP stream video in Raspberry Pi using this pipeline: VideoCapture video("udpsrc port=5600 ! application/x-rtp,payload=96,encoding-name=H264 !" "rtpjitterbuffer mode=1 ! rtph264depay ! h264parse !…
Bozkurthan
  • 121
  • 1
  • 12
0
votes
2 answers

Making Captive Portal on Raspberry pi 4 using nodogsplash

I am trying to make a captive portal wifi network using my raspberry pi 4 after doing this steps : sudo apt update sudo apt upgrade sudo apt install git libmicrohttpd-dev cd ~ git clone https://github.com/nodogsplash/nodogsplash.git cd…
0
votes
0 answers

Any way to get the assembly compilation of a python program on raspberry pi?

I am curious to see how efficient the assembly code generated by the python compiler on my raspberry pi is, so I am wondering if there is a way to get the ARM Assembly file.
user12034971
0
votes
1 answer

Docker/Node-red - npm fails to install palettes if volume is on a usb flash drive

I cannot install new palettes in Node-red if the container volume is located on a flash drive, because, npm doesn't have the right permissions to access. Can you help me? # docker-compose.yml node-red: container_name: node-red image:…
crc_error
  • 552
  • 1
  • 4
  • 14