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
7 views

Different UART behavior between ttyS0 and ttyAMA0

I'm using serial to communicate with this board (Serial-CAN-Board) on a RPi4. UART is enabled with enable_uart=1 Console over serial has been disabled with raspi-config and I am using SSH over ...
user avatar
0 votes
0 answers
24 views

run servo motor with external power bosen't work for me

I use 9v/0.5A DC cable to breadboard and connect servo motor but it doesn't work. Code might be wrong but I'm not sure. I connect raspberry pi - breadboard - servo motor like this and this is the ...
user avatar
0 votes
1 answer
23 views

Help, I mamed the RPI's networking drivers, and now I can't get it back to normal!

everyone, I messed up my RPI4B's wifi and networking software. BAD. Long story short , I followed a bunch of guides on how to host and connect to a wifi network at the same time (ethernet - acces ...
user avatar
-1 votes
1 answer
15 views

Triggering MAPIR camera with PWM via GPIO on RPi

I have similar setup as this post: PWM via GPIO to trigger a MAPIR Camera but a different camera: https://www.mapir.camera/collections/survey3/products/survey3w-camera-red-green-nir-rgn-ndvi. I am ...
user avatar
  • 99
0 votes
2 answers
22 views

Powering 3 sensors from one 5v pin

I am powering 3 different sensor (a temperature sensor, an IR transmitter and an IR receiver) on my Pi. I would like to use the same 5V pin to power all three. I connected a jumper onto the 5v pin, ...
user avatar
  • 111
0 votes
0 answers
10 views

Ubuntu server could not get clk: -517 on boot

I have a Raspberry Pi 4 8gb running ubuntu server 20.04, having the root partition through usb to a 1Tb ssd. And recently when booting the system, it displays this error: [ 1.313819] spi-bcm2835 ...
user avatar
0 votes
1 answer
18 views

Seeed Respeaker speaker output is very low

I am using ReSpeaker 4 microphone array kit with raspberry pi to get the ASR system. Respeaker mic array has its own speaker output (not the jack output) on board but the output volume is very low. ...
user avatar
  • 1
0 votes
0 answers
18 views

multile websites using lighttpd? I.E. just 2 for now

i am using bullseye on a pi 4. would like to understand the configutaion files on how do i set up 2 websites to be accessed from the Internet?
user avatar
  • 1
0 votes
0 answers
9 views

Raspberry Pi4- Dual HDMI -fbi

I am trying to display tkinter GUI on raspberry pi touch screen which is on hdmi0 and project the images using projector on hdmi1. But when I click the button to project image ie when I execute the ...
user avatar
0 votes
1 answer
22 views

How to decode struct data sent from an Arduino via NRF24L01?

So basically I'm sending this struct data from my Arduino to my RPi, both fitted with an NRF24L01 module. Library on the Arduino is tmrh20, and on the RPi, BLavery. struct values{ char ...
user avatar
-1 votes
0 answers
43 views

Cannot access headless PI via SSH after upgrading from Buster to Bullseye

Yesterday I upgraded my PI from headless Buster to headless Bullseye. I can ping my PI, but SSH no longer works. The connection is refused. I tried to fix this problem by adding an ssh file on the ...
user avatar
  • 99
0 votes
0 answers
61 views

Setup external Bluetooth usb dongle

I want to use an external Bluetooth 5.1 USB adapter on Pi4. The chip on the adapter is Realtek RTL8671b. I googled how to get an external BT work and most of the tutorials suggest disabling the ...
user avatar
0 votes
0 answers
16 views

Controlling Hardware with Object Detection on a Raspberry Pi

I'm working on a project that would utilize a raspberry pi and object detection to control hardware, and I'm not sure what the best way to go about it is. The basic premise is, a raspberry pi with a ...
user avatar
0 votes
0 answers
22 views

Pull up and external interrupt output on GPIO of a raspberry pi 4

Currently I am working on programming some pins of the GPIO interface on a Raspberry pi 4 without using any high-level library (like wiringPi etc...). I just found this link that was helpful (https://...
user avatar
0 votes
1 answer
32 views

I am trying to make a camera turn on and off with the press of a button, but the GPIO ports are not working, and it is not acknowledging the button

I am using python, and I am getting an error where it says "GPIO.output(24, False)" in the else statement. I don't know what it means, or how I fix it. from picamera import PiCamera from ...
user avatar
0 votes
0 answers
30 views

Help with EEPROM log: RPI4 does not boot

This is another "RPI does not boot". I have tried many thins now and I'm not able to figure out why my RPI4 (that is quite valuable these days) does not boot. EEPROM is working fine and I ...
user avatar
  • 213
0 votes
0 answers
32 views

Python 2.7 and 3.x coexisting in harmony?

I'm on an RPi4 running the 64-bit version of Raspbian and want to have 2.7 and 3.x coexisting with NO problems. 3.x is part of the 64-bit Raspbian when installed. I just installed 2.7 (i.e., sudo apt ...
user avatar
  • 131
0 votes
0 answers
46 views

Pi with touchscreen as macro keyboard

Has anyone ever tried or thought of using the Raspberry Pi and a touchscreen as a macro/shortcut second keyboard? I was thinking of something like this https://www.amazon.com/dp/B08VNCLDTK?psc=1&...
user avatar
0 votes
0 answers
26 views

Bluetooth serial connection between Pi and MacOS Monterey on M1 Macbook both with builtin bluetooth

How do I connect a Raspberry Pi 4 Model B Rev 1 to an M1 Macbook Pro 16" using rfcomm over a Bluetooth connection? I'm able to connect the devices via Bluetooth but then not over the Bluetooth ...
user avatar
1 vote
1 answer
43 views

enable ssh on pi4 FreeBSD

I installed FreeBSD on my pi4 and now i am trying to setup ssh so i can ssh into it and run c files via my computer on the LAN. When i type in 'ifconfig' i get a lot of info but the important ...
user avatar
  • 11
0 votes
1 answer
32 views

Argon ONE V2 with 128 GB SSD not booting (but on random basis)

This is really confusing for me. My Argon One case with M.2 SSD do not boot sometimes giving below error: usb2-port2: Cannot enable. Maybe the USB cable is bad? usb2-port2: Cannot enable. Maybe the ...
user avatar
0 votes
0 answers
19 views

How To rearrange Raspberry Pi Main Menu

I have a raspberry pi 4b. It does what I want it to do. I am not particularly fond of its main menu layout however. I would like to rearrange things, have a couple of new submenus, move applications ...
user avatar
0 votes
0 answers
15 views

How to set up auto proxy using pac file

I am new to linux. I need to use a raspberry pi under my company network. The network uses corporate proxy. The proxy is needed to access the internet. In windows the set up is done by a pac file, I ...
user avatar
0 votes
0 answers
26 views

WiFi Doesn't Connect After Reboot

I am super new to coding and have been trying my hand at setting up a Magic Mirror with a Raspberry Pi 4B (purchased here). I've been doing pretty well but ran into a problem where my WiFi no longer ...
user avatar
0 votes
0 answers
23 views

How to create a surveillance system using an IP camera?

I am completely new to this whole Raspberry Pi thing, but I would like to create a surveillance system with an IP camera. I have a Dahua Technology Model: DH-IPC-HDW1220SP camera that I connected with ...
user avatar
0 votes
0 answers
43 views

Raspberry Pi Touchscreen doesn't work with Windows 10

I have a Raspberry Pi Touchscreen connected to my Raspberry Pi. It worked perfectly with Raspbian but with Windows 10 it doesnt. I've done all the Windows Updates and don't know what to do to make it ...
user avatar
0 votes
0 answers
36 views

Ubuntu 22.04 POE+ hat fan control - seeking updated guidance

I recently updated to 64-bit 22.04 Server on a Headless Raspberry Pi 4B 8Gb model with a POE+ hat, and the fan speed control on the POE+ hat seems to have changed. Searching Google/forums only shows ...
user avatar
0 votes
0 answers
40 views

Help! GSM/GPRS/GNSS HAT - SIM 868

have be struggling for a while with this bit of Python. I have not wrote this code it got installed with the the tracker from this website (https://medium.com/@onehitwonder/how-to-build-a-raspberry-pi-...
user avatar
0 votes
0 answers
54 views

Raspberry Pi 4 as Wired Router

There're tutorials and video guides on setting up PiVPN or RaspAP or even a full blown router using OpenWRT but all I need is a wired router without too much complexity. I have a gigabit connection ...
user avatar
  • 101
0 votes
1 answer
55 views

CAN BUS communication issue

I am trying to set up communication between a rpi4b and pi zero using a custom mcp2515 module, it is custom because I changed the tja1050 for a sn65hvd230. So, I am trying to send a simple message ...
user avatar
  • 1
0 votes
2 answers
42 views

Many commands report "Input/output error"

$ uname -a Linux xxx 5.15.30-v8+ #1536 SMP PREEMPT Mon Mar 28 13:53:14 BST 2022 aarch64 GNU/Linux $ uptime -bash: /usr/bin/uptime: Input/output error $ free -h -bash: /usr/bin/free: Input/output error ...
user avatar
  • 119
0 votes
0 answers
23 views

Raspberry Pi 4 does not boot with 3 devices connected to USB

I have connected three devices to my Raspi4 USB: Logitech wireless gamepad dongle, and YDLidar-X4, and Arduino UNO. The YDLidar-X4 is separately powered with 5V supply, the Arduino is separately ...
user avatar
  • 1
0 votes
0 answers
23 views

Weird artifacting results in green gibberish on some applications but everything else is fine?

I've seen the following corruption before on programs usually on Raspberry Pi, but it's doing it again and I'd at least like to know the cause. This is Ubuntu 20.04 on a Raspberry pi 4, 4GB edition. I'...
user avatar
0 votes
0 answers
40 views

BULLSEYE unable to run chmod etc

$ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ...
user avatar
  • 1
0 votes
3 answers
70 views

Simple float switch sensor frying GPIO pins, while the other doesn't? Hydroponics system

I'm building this mostly finished hydroponics system. It's a surge tank build. Surge tank looks like: (that's nutrient water, it's got electrolytes that plants crave) Inside that bucket are two ...
user avatar
  • 103
0 votes
0 answers
36 views

Working on UV4l to get the Streaming Server running

I used the following command to start the streaming server sudo uv4l --external-driver --device-name=video1 --server-option '--port=1226' upon this command I have the following output in my terminal &...
user avatar
0 votes
0 answers
36 views

JPEG decoding using gstreamer on RPI 4

I have the following pipeline: gst-launch-1.0 v4l2src device=/dev/video0 ! 'image/jpeg, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1' ! jpegdec ! ...
user avatar
0 votes
0 answers
24 views

DSI Display not detected on reboot

Setup: Raspberry Pi 4 (8GB) running Raspberry Pi OS. 5" DSI Display and 7" HDMI Display. From a cold-boot, the DSI display is automatically detected and works as expected. During a reboot, ...
user avatar
0 votes
0 answers
20 views

Detected aborted journal when docker start

Recently I started working with Raspberry PI 4 and I've been facing troubles with external SDD and Docker. I connected an external SDD to Raspberry and I configured it to automatic mount drive on ...
user avatar
  • 101
0 votes
1 answer
28 views

NodeJS cannot read some RaspberryPi GPIOs

I want to read 5 buttons from RaspberryPi. I installed the latest 64-bit OS bullseye on brand-new Raspberry 4B. But somehow only GPIO23 can be read, the other GPIOs can not. When I connect GPIO23 to ...
user avatar
0 votes
0 answers
9 views

Prevent sending inputs to the terminal when running an SDL app

Hello I am running a desktop less environment. I start a SDL OpenGL3 ES 2 app from a service. It shows the GUI and it receive inputs from my keyboard however these inputs are also sent to the terminal ...
user avatar
0 votes
0 answers
13 views

Share wireless internet from RPI4 to RPI0 over usb without changing the routed access point

I'm trying to use a RPI4 as a routed access point so that I can use a USB wifi dongle to connect with my laptop or other devices. I have this part complete by following the RPI documentation. Next I ...
user avatar
0 votes
0 answers
28 views

Bluetooth on raspberry 4 without Linux

I'm working on non-Linux compliant OS and now trying to enable bluetooth on Raspberry Pi 4. I have some necessary drivers such as: gpio, uart (pl011 and mini-uart), mailbox and expgpio through that ...
user avatar
0 votes
0 answers
79 views

Cannot connect to Internet with USB Tethering Raspberry Pi 4

I am using a Raspberry Pi 4, which is connected to my workstation with a usb cable. The goal is to be able to access the internet through the Pi4. I can already connect to the Pi 4 through SSH, but ...
user avatar
1 vote
1 answer
50 views

How to check on which OS system the python program is running to import rpi.gpio?

Is there an easy way to let a python program check if it running on the raspberry Pi or the pc running windows? I would like to use this to automaticly use the rpi.gpio functions in my code. I am ...
user avatar
  • 13
0 votes
0 answers
72 views

RTC on Raspberry Pi Bullseye shows correct time but is not registered at boot time

I am testing different RTC modules on RPi 4 running on Bullseye. On testing DS3231, I add the module to /boot/config.txt dtoverlay=i2c-rtc,ds3231 I can read the clock from it wihtout a problem. But ...
user avatar
0 votes
0 answers
24 views

Raspberry pi 4 8-9 time act led flash

I was working on omv Nas project and suddenly my pi stop responding and it reboted itself. now it's won't show anything on both the hdmi display also ethernet plus both the usb port stop wrong ...
user avatar
0 votes
1 answer
35 views

Connect pump via USB or PINS

I have a little 5V pump. I want to turn on/off the pump by code with my Raspberry. The pump came with an cable ending with a USB. When I plug in the USB the pump goes on and does the job. My question ...
user avatar
-1 votes
1 answer
43 views

Terminal not working, while everything else does

I recently booted up my Raspberry Pi after a few months. Everything seems to work (I'm posting this question from it!), except for the terminal: it doesn't work at all. I open LXTerminal, and it ...
user avatar
0 votes
0 answers
25 views

How to add a second screen to rapsi 4 whitout raspi crashing

Hi I recently bought this screen on amazon and every time I connect it my raspi 4 freeze after 5-10min On the user manual it instruct to add this to the config.txt in /boot max_usb_current=1 ...
user avatar
  • 13

1
2 3 4 5
35