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
-1
votes
2 answers

Raspberry Pi 4 python code not run from php

I have a python code on RaspberryPi 4. If I run It from terminal, It works correctly, but if I want to run It from php code, It not works. What is the problem with It? Why run it correctly in terminal, but not run from php? Thanks. The python code…
-1
votes
1 answer

How can i get side view of humans face on opencv by using the facial recognition?

I tried to use Haar cascades called haarcascade_profileface.xml and lbpcascade_profileface.xml together but the camera does not even open at all. How can I fix this issue where I want both haar cascades to work? This is done on the raspberry pi and…
Kratos
  • 3
  • 5
-1
votes
1 answer

Segmentation fault while using Raspberry Pi 4 and PiCam

I am working on a project for University, and I am attempting to create a program that takes a picture using the PiCam every 4 seconds or so and then calculates the luminosity of the image. The programs functions on the first loop, but it breaks…
-1
votes
2 answers

How to automount usb after kiosk mode enable in raspberry Pi 4 with buster os?

Problem with Kiosk mode and USB access. I have installed buster on raspberry Pi 4. And for open chromiam browser at startup, I enabled kiosk mode. Now I have a problem that, it does not mount USB device (flash drives) at /media/pi Any help and…
-1
votes
1 answer

Installing Node Red OPC UA Server fails on Ubuntu 20.04 running on Raspberry Pi 4

I'm trying to install the node-red-contrib-opcua-server node in Node Red running in Ubuntu 20.04 that is running on a RPi 4. It has failed a couple of times. I have run update/upgrade and made sure nodejs was installed. I've tried installing this…
MikeA
  • 65
  • 6
-1
votes
1 answer

QDialog box showing blank when MainWindow thread is busy

I am working on a Qt-C++ based front-end app for a Raspberry Pi powered robot. I am using Qt version 5.9 along with libraries QSerialPort and Pigpio. In my app, when I give the run command for a command sequence to the robot, my Raspberry Pi starts…
Aditya
  • 65
  • 1
  • 11
-1
votes
1 answer

connect a pi Raspberry to a relay

hello I have a Raspberry pi 4 and wanted to connect to a relay but I can not find information on how to connect a Raspberry pi 4 and the relay equal to the photo someone can me I will then program in python, someone can help me. Thank you very…
GOMES 0802
  • 343
  • 1
  • 3
  • 14
-1
votes
2 answers

Systemd service wont execute at boot

I've created my own Service with systemd. It is supposed to run a python script once at boot time. It sends an Email with the IP-Address and the Teamviewer id, this is why i have an delay in it, otherwise i get an error that the domain of the…
-1
votes
1 answer

systemd service not starting on boot, starts when i restart it

I have made this service file to start a python script when my raspberry pi (4) boots up: /etc/systemd/system/plants.service [Unit] Description=plant-sender After=network.target…
isocseles
  • 71
  • 7
-1
votes
1 answer

Can't install the drivers needed to connect my Tracer BN Solar Charger to Raspberry Pi 4

I'm trying to use pymodbus lib to retrieve data from my Epever tracer BN series solar charge controller, here is my pymodbus code: from pymodbus.client.sync import ModbusSerialClient as ModbusClient client = ModbusClient(method = 'rtu', port =…
André Gomes
  • 397
  • 1
  • 3
  • 17
-1
votes
1 answer

Install Hyperion.ng - Raspberry Pi 4 (4 GB RAM) on Buster (Rev. 2020-02-13)

First of all, I have limited knowledge of Linux. I have tried to install hyperion.ng now on latest Raspian (Buster Rev. 2020-02-13) on a RPi4 (4GB RAM) and ended up in the same scenario all the time. What I can read it's something wrong with SSL &…
J. Mal
  • 37
  • 1
  • 6
-1
votes
1 answer

Coral USB accelerator with OpenCV

i am curious if someone has implemented Yolo or SSD // OpenCV on RPi 4 with Coral Usb Accelerator support. Currently, i faced some issue running even for the basic examples for coral usb accelerator. Do you have any tips in tackling this…
-1
votes
1 answer

Assembly on Raspberry Pi gives the error "command not found" for every command

This is my first time using assembly on a Raspberry Pi. I don't have sudo access so I can't try running it that way. Anytime I try to do sudo it just throws an error. When I try to run my program it returns this: ./test.s: line 1: .data: command…
-1
votes
1 answer

How do I reset Bluetooth-adapter on linux without unplugging USB / rebooting?

How do I reset Bluetooth-adapter on RaspberryPi v4? Reset will reset most, but not all settings. Example the name is not changed. pi@raspberrypi:~/ $ sudo hciconfig hci0 name hci0: Type: Primary Bus: UART BD Address: DC:A6:32:02:12:1B …
Punnerud
  • 7,195
  • 2
  • 54
  • 44
-2
votes
0 answers

ESP-NOW and MQTT protocol unable to work simultaneously

I have a framework where 3 slave ESP8266 boards send a message using ESP-NOW to a parent ESP8266 board connected to Raspberry Pi 4 model B. This parent MCU has to relay the message to the RPI using MQTT protocol. The protocols are working fine when…
1 2 3
86
87