Skip to main content

Questions tagged [pi-4]

For questions that apply specifically to the Raspberry Pi 4 and not other/all models.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

.bat file configuration for raspberry pi 4B Qemu for raspian os 64bit bookworm (latest qemu emulation)

i want the content of run.bat file required for running latest raspian os 64bit bookworm (raspberry Pi 4B) on qemu(aarch64) on windows 11. I had seen earlier version but they are no help as thery ...
Kaiser's user avatar
  • 1
0 votes
0 answers
24 views

I need help with Pi4 (cannot execute binary file: Exec format error)

i want to create my own Valheim server and i followed a tutorial for this on that website: https://singleboardbytes.com/2058/set-up-a-valheim-dedicated-server-on-the-raspberry-pi.htm im using the Pi4 ...
Crazy's user avatar
  • 1
0 votes
1 answer
40 views

Why are my motors not working with my Raspberry Pi?

I'm trying to follow this tutorial on how to build a buggy with a Raspberry Pi. I'm using all the same parts except for the Pi and the battery. I am using a Raspberry Pi 4B and an 8.4v battery from ...
Jayden Ma's user avatar
0 votes
0 answers
26 views

start android in recovery mode TWRP [closed]

install the android operating system on my raspberry pi 4, when booting with the sd card it does not start android but instead boots in TWRP recovery mode. Please could someone help me, I tried with ...
Vaiper watafai's user avatar
0 votes
1 answer
35 views

Cannot SSH to Pi4B from Mac

Mac: MacBook Air M1 chip running Sonoma 14.5 Pi4B: flashed SD card with SSH enabled, no WiFi network loaded (just want to focus on Ethernet connection) Connection: Pi >> Ethernet cable >> ...
Austin's user avatar
  • 1
0 votes
2 answers
38 views

Raspberry Pi 4B and Ubuntu 22.04 GPIO

I am running Ubuntu 22.04LTS in order to use ROS-humble on my RPi, however I am running into some issues. How do I configure the GPIO pins and also is there some things that I should note. I plan on ...
msalaz03's user avatar
0 votes
0 answers
18 views

Motion starts but won't stay up as a service

I have a DSLR which I plug in USB to get a video stream using gphoto2 piped with ffmpeg. This works and my stream gets in /dev/video0. All that on a Pi 4 I want to use motion to stream that to port ...
Pylou's user avatar
  • 1
0 votes
2 answers
38 views

How to fix corrupt raspberry pi backup image

I made a backup of a bootable raspberry pi usb flash drive using disk utility on a mac. Apparently the disk image is corrupt and I no longer have the original USB flash drive. I have tried to see if I ...
Tim's user avatar
  • 101
0 votes
0 answers
13 views

RPI 4 with LS7366R encoder counter chip with incremental photoelectric rotary encoder

I have raspberry Pi 4 and it is connected to LS7366R, but I am not using the CS0 or cs1, am using any GPIO and controlling it (high/low) manually. the encoder has A and B signals, and they are ...
Alkhatib's user avatar
-1 votes
0 answers
22 views

RPI-4 Knocked component next to the GPIO label

I received a non working Raspberri pi 4 and upon inspection i can notice theres a component missing. If someone could tell what is it I could try a replacement. It looks like a resistor o capacitor ...
Adrian's user avatar
  • 1
-1 votes
0 answers
25 views

How would I add/use an interrupt service routine with Raspberry Pi 4, when it receives serial UART communication

I want to implement an interrupt service routine (that does not poll) but will do something when a byte is received using the UART pins. I plan on using python to handle the serial communication, so ...
user163170's user avatar
1 vote
1 answer
81 views

Wireless doorbell modification

I bought this cheap wireless doorbell on Aliexpress https://www.aliexpress.com/item/1005004524467677.html?spm=a2g0o.order_list.order_list_main.106.6c021802keB7Mf The button action a piezoelectric ...
Gaetan56's user avatar
  • 121
-1 votes
1 answer
59 views

Instructions for installing eGalax Touch Screen from the command line on Raspberry pi 4b

I need instructions on how to install, configure, calibrate, eGalax Touch Screen. All necessary actions must be done from the command line, replacing and editing files. definition USB: root@pi:~# ...
Aleksey's user avatar
1 vote
1 answer
76 views

Can't find libcamera-v4l2 on apt on Raspberry PI 4

I have been trying to run the following command: sudo apt install libcamera-v4l2 To no avail: admin@RegularPi:~ $ sudo apt install libcamera-v4l2 Reading package lists... Done Building dependency ...
LeoDog896's user avatar
  • 121
0 votes
1 answer
74 views

Need advice building python code to read Temperature/RH sensor on RPi

I am currently working with a Raspberry Pi 4B. I have an i2c shield connected to the PI and then my temp/RH sensor connected directly to that. The sensor is here and datasheet - where pgs 11-18 have ...
Jack's user avatar
  • 1
0 votes
0 answers
14 views

Azure IOT hub python package error in Raspberry Pi

I am using Raspberry Pi 4 and working on a project which involve azure-iot-hub. I have installed it using pip3 install azure-iot-hub and I am importing it like from azure.iot.hub import ...
S Andrew's user avatar
  • 480
0 votes
0 answers
25 views

Can I disassemble start4.elf file?

I am a student studying with the Raspberry Pi 4. I would like to learn about the embedded boot process, and I want to disassemble the startup4.elf file, but I was unable to do so with objdump or the ...
ghjeon's user avatar
  • 1
0 votes
1 answer
30 views

AS5600 encoder is not reading on Raspberry Pi 4

I'm trying to read the stepper motor angle using the AS5600 magnetic position encoder. I'm using Raspberry Pi 4 and the pinout is the following: VCC to 3.3V , GND to Ground ,SDA to GPIO2 (Pin 3) , SCL ...
welp's user avatar
  • 1
0 votes
0 answers
16 views

Setting up Google AI Assistant SDK on Raspberry Pi 4

I have followed the guidelines from https://developers.google.com/assistant/sdk/guides/service/python on how to set up Google AI Assistant SDK's and am trying to get it working on my Raspberry Pi 4. I ...
austin Gelatt's user avatar
0 votes
2 answers
38 views

Installing rtl8192eu does not work cause of gcc issues

I want to install the rtl8192 linux driver in order to use my TP-Link TL-W823N USB adapter but when I execute sudo dkms install rtl8192eu/1.0 then I get gcc error messages. $ cat /var/lib/dkms/...
Jan's user avatar
  • 101
0 votes
0 answers
16 views

U-Boot on alternative pins

My GPIO 14/15 pins (and I believe UART0 and UART1) are broken, so I cannot use the default serial port for U-Boot. How can I get U-Boot to boot on a different serial port on my Raspberry Pi 4B?
Jeremy Salwen's user avatar
-1 votes
1 answer
27 views

Minimal config.txt for enabling UART0

I am attempting to connect to the UART0 on my Raspberry Pi 4B. I have shorted together GPIO pins 14 and 15 (pins 8 an 10 on the header). I then run picocom /dev/ttyAMA0 and see if it's echoing (it ...
Jeremy Salwen's user avatar
0 votes
1 answer
26 views

Is it possible to supply power to Raspberry Pi 4 using gnd on pin 9?

I need to power the Raspberry Pi 4 using GPIO pins. In most cases, people do this using 2 or 4 pins for 5V and 6 pins for GND. But the 6th pin is already occupied for cooling, and it is difficult to ...
iamstive's user avatar
0 votes
0 answers
19 views

Problem getting rgb frames via intelrealsense d435i on raspberry pi 4

I am using a Raspberry pi 4 with 8gb ram, with ubuntu server 22.04 OS and ros2 humble installed. I followed all the steps from the official documentation of intelrealsense github to install the ros ...
Shivansh Chaudhary's user avatar
0 votes
0 answers
17 views

Raspberry Pi SSH Tunnel Service Error: Code "255/EXCEPTION"

I am new here. I've recently implemented an SSH Tunnel Service on my Raspberry Pi. Here's the configuration of the service: [Unit] Description=SSH Tunnel with target server After=network.target [...
Adrien From EC3's user avatar
0 votes
2 answers
47 views

How to Control a 12V DC Siren with Raspberry Pi GPIO?

I'm currently working on a project where I need to control a 12V DC Siren (link to product: https://amzn.to/44rHsi7) using my Raspberry Pi's GPIO pins. I want to be able to play and pause the siren ...
aman kumar chagti's user avatar
0 votes
1 answer
67 views

Can I control IR filter of night vision camera

I'm using night vision camera (PIS-1138) with Raspberry Pi 4 and Picamera2 Python3 library successfully. However, the camera seems to switch some sort of IR filter automatically on/off based on the ...
atonus's user avatar
  • 1
0 votes
0 answers
66 views

Mhs 3.5 inch display trouble - screen rotation disabled?

Two days ago I started experimenting with Raspberry PI 4B and a 3.5 inch MHS display as described here: http://www.lcdwiki.com/MHS-3.5inch_RPi_Display I started, of course, by installing Raspberry PI ...
Karlsson's user avatar
0 votes
0 answers
53 views

Controlling bluetooth with a python script

I have a raspberry pi 4 model b running Raspberry Pi OS Lite 64-bit with Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.6.20+rpt-rpi-v8. I have to control the Bluetooth of the ...
Plat00n's user avatar
1 vote
1 answer
207 views

Cross compiling file cannot execute: required file not found

I am struggling in trying to cross compile C program using wiringpi library in the ubuntu host, then transfer it to raspberry pi 4. My instruction used old version of wiringpi, which is not available ...
Phát Phạm's user avatar
0 votes
0 answers
46 views

Can't power RP4 from same active hub the peripherals are connected to

I'm building something NAS-like with a RPI4 Model B Rev 1.2 and 2 hard disks. I'm using an active hub for the hard disks and wanted to power the RPI4 from it as well. Here is how I wanted to wire it: ...
felher's user avatar
  • 1
-1 votes
1 answer
87 views

Can't enable Rpi4's UART3

I'm trying to enable all UARTs in the Raspberry Pi 4. Based on my experiment this is the usable UARTs I discovered. UART1 /dev/ttyS0 GPIO 14,15 UART2 /dev/ttyAMA1 GPIO 0,1 UART4 /dev/ttyAMA2 GPIO 8,...
hurelhuyag's user avatar
0 votes
0 answers
27 views

Wifi direct (Wifi P2P) connection between raspberry pi 4b and android device only possible after reboot

I am trying to connect my Raspberry Pi 4b with my Android device (Google Pixel 6 with ANdroid 14) using the pbc (virtual_push_button) method. If the Raspberry Pi was freshly rebooted, there are no ...
marlonga's user avatar
0 votes
1 answer
161 views

Why is my SSH terminal sluggish (slow) when typing commands?

I have a new Raspberry Pi. When I burned my SD card, I followed the recommendations given in the Raspberry Pi Imager and installed the 'bullseye' version of the OS. I have made no configuration ...
Seamus's user avatar
  • 22.4k
0 votes
1 answer
28 views

How do i send images captured on my pi 4 through LAN to my pc?

I currently have a raspberry pi 4 set up as a astrophotography rig, i capture the images directly to an external storage device to protect the internal storage and to avoid any possible performance ...
Diego Sanchez's user avatar
0 votes
1 answer
50 views

adafruit_platformdetect board.py pin mapping

Simply: I'm trying to find what physical pin on the Raspberry PI 4B that attributes like board.D5 map to. QUESTIONS: Can I simply get or create a mapping of the board.py pin attributes to actual ...
BurningKrome's user avatar
0 votes
0 answers
16 views

How to enable net_cls in cgroup and test

I am trying to enable net_cls in cgroup and test it on a raspberry pi 4. $ cat /proc/cgroups #subsys_name hierarchy num_cgroups enabled cpuset 0 71 1 cpu 0 71 1 cpuacct 0 71 1 ...
Brian Hamilton's user avatar
0 votes
0 answers
34 views

Disable PIN request for pairing on Rpi

when i try to connect the rpi bluetooth it showa a pin. i wat to be able to connect the rpi bluetooth without a pin. how can i disable the pin? i try to disable the pin via bluetooth settings but it ...
Amit Lichtman's user avatar
0 votes
0 answers
36 views

OpenCV AruCo detection fails: "Embedded video playback halted; module v4l2src0 reported: Failed to allocate required memory."

I've been trying to run a simple AruCo detection code on my Raspberry Pi 4B, and consistently get the error "Embedded video playback halted; module v4l2src0 reported: Failed to allocate required ...
Carter Betts's user avatar
0 votes
1 answer
125 views

Kernel in use does not match headers after manual update

Goal: configuring my RPi 4 to act as a bridge/router between the cafe wifi downstairs and my private network while also using Pi-hole for my local network. Effectively, my wlan0 connects to the cafe (...
letmeinLetMeInLETM's user avatar
0 votes
0 answers
28 views

Reading from MT6816 magnetic encoder with SPI connection using Python on Raspberry Pi 4

I am totally new to the field, don't really know what I'm doing and in need of help. I'm trying to read an absolute angle using an MT6816 14-bit magnetic encoder via SPI connection using Python on ...
Kannidhis's user avatar
0 votes
0 answers
54 views

Pi4 python OpenCV timeout

I have been having some issues with getting a video stream from my cameras on my Pi4B. I am running this on Python. I have been getting the error; VIDEOIO(V4L2:/dev/video0): select() timeout with the ...
Dwayne David Wallace's user avatar
0 votes
0 answers
18 views

MIPI-LCD connector the same between Pine A64 version 1.0 MIPI DSI touchscreen Raspberry 4 model B?

Is the MIPI-LCD connector from the Pine A64 version 1.0 the same connector (compatible with) the MIPI DSI touchscreen connector on the Raspberry 4 model B? Will a touchscreen for the Pine A64 version ...
BurningKrome's user avatar
1 vote
1 answer
712 views

OSError: libmmal.so: cannot open shared object file: No such file or directory

I have a raspberry pi4 and i was trying to capture the camera output. Here's the code: from picamera import PiCamera camera = PiCamera() camera.start_preview(alpha=192) on interpreting this gives ...
Roopesh's user avatar
  • 11
0 votes
0 answers
23 views

How can I revert back to HDMI view without access to raspberry pi display?

I've been working with my Raspberry Pi 4 Model B , primarily using a HDMI and monitor, but I have reached a point where I now require to use a 3.5" TFT Touchscreen. I cloned the GitHub repo LCD-...
jdave's user avatar
  • 1
0 votes
1 answer
34 views

ESC, BLDC control with pigpio: set_PWM_dutycycle or set_servo_pulsewidth, and other ESC questions

I am new to Raspberry Pis. I am using a Raspberry Pi 4. I am trying to control a BLDC motor from the BLHeli_32 ESC, using PWM signals output from GPIO pin 18. For this project, I need the motor to go ...
Tsz Kit Koon's user avatar
0 votes
0 answers
44 views

USB serial port

Trying to connect USB serial port device to raspberry Pi4. But command below does not show any changes ls -l /dev/tty* I was expected to get new device that starts with /dev/tty . Correct me if I'm ...
vico's user avatar
  • 163
0 votes
1 answer
12 views

receive data from cc2640r2f(Texas instrument) and save it on Raspberry pi 4 with bluetooth

I'm currently working on a project involving the Texas Instruments CC2640R2F board and the AD8232 sensor for ECG signal measurement. My goal is to receive ECG data on the CC2640R2F board,and then ...
thabet younes's user avatar
0 votes
1 answer
54 views

Raspberry pi not executing files

I am using a Raspberry Pi4. When clicking on an executable (not .exe) file, it says to execute or execute in terminal. If I click either option, it seems like it's opening, then it immediately closes. ...
khorsheed's user avatar
0 votes
0 answers
24 views

Using a Power-on and Shutdown button with the HyperPixel4 touchscreen

I am trying to wire up my Raspberry Pi 4B to have BOTH the HyperPixel4 touchscreen and a power-on button as well as a shutdown button (From my understanding I cannot have one for both operations ...
Damon's user avatar
  • 101

1
2 3 4 5
43