Questions tagged [pi-4]

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

428 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
1k views

How fast can GPIO pins toggle on the Pi 4?

Benchmarking of the Pi 4 using the Python GPIO Zero library shows a significant increase in the frequency of toggling a GPIO pin on and off compared to previous models. This result is attributed to ...
4
votes
0answers
486 views

Video tearing in custom Electron app but not with included Chromium app

I have firstly played with the Raspbian config for video to see if that's the cause but after trying the web app within a different browser (Chromium included) it works. I have a web version of my ...
4
votes
0answers
2k views

Raspberry Pi 4 - Dual Audio with Dual HDMI

I have a Raspberry Pi 4. The thing is, I want to play 2 videos at the same time, since the RPi-4 has 2 HDMI outputs. BUT I also want to have split audio. The audio from video 1 should go out over the ...
4
votes
2answers
7k views

Can't set output to 4k 60hz on Pi 4

What I've tried: Setting "4Kp60 HDMI" I did this in the GUI config application and rebooted. Also tried disabling it and then enabling it in the config.txt and rebooted. Installing updates My ...
3
votes
1answer
82 views

Wifi connects but no internet access on Raspberry Pi 4

I can connect my Raspberry Pi 4 to my wifi, but I can't seem to access the internet. I can ping machines on the network, and I can ping (and even VNC into) the Pi from network machines. However, I can'...
3
votes
0answers
450 views

Raspberry Pi 4: Console on first HDMI screen, X11 on second HDMI screen

The new Pi 4 has two HDMI Ports. After booting Raspbian, the first screen (HDMI-0) should display the console and the second screen (HDMI-1) should display the X11 desktop. My first thought was ...
3
votes
1answer
1k views

DS18B20 Temperature Sensor - Rpi 3/4 Driver, Wiring, Detection, and Python Programming

I am new in raspberry pi. In my research project, I would like to monitor ground temperature at 60 points. My team decided to set a monitoring system using raspberry pi. As a preliminary test, I ...
2
votes
0answers
20 views

Sensehat apt package on Manjaro ARM? Insights?

First post on here. I have a Raspberry pi 4b+ 8GB that I am super happy with. I've been messing around with different operating systems on this device and I find that the Manjaro ARM distro is really ...
2
votes
2answers
69 views

Off grid solar station

Good day all, Embarking on a new project. It may have already been done. I Have a desire to put a weather station at a very remote airport. The airport has no electricity or communications. The ...
2
votes
1answer
170 views

Default audio output to HDMI

I have an RPi4 installed with ubuntu20.10. I connect it to a display(TV) using an HDMI cable. The problem is the output is by default set to a 3.5mm jack. I override that by running the raspi-config ...
2
votes
0answers
68 views

How to install pyarrow (for parquet file format) on raspberry pi (RPi 4)?

I use Raspberry Pi 4 (4 GB RAM) and Raspbian GNU/Linux 10 (buster). I'm would like to run some python programs to capture some data 24/7. Raspberry pi would act as the data collector and another ...
2
votes
0answers
46 views

I2C device detected on arduino and raspberry pi 3 but not on raspberry pi 4

I have a fresh installation of raspbian (Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux) on a raspberry pi 4. I have enabled i2c and nothing else. I have ...
2
votes
0answers
63 views

Pi 4B wifi can only use channels legal in China

My Raspberry Pi 4 can access some wifi channels, but not all of them. My question is: How can I get it to access all the wifi channels it is supposed to be able to use in Canada? It is configured for ...
2
votes
0answers
172 views

How to netboot Ubuntu 20.04.1 Pi4 to Pi4 with dnsmasq…?

I've been trying to netboot my Pi4's using a Pi4 with dnsmasq on Ubuntu. So the idea is to have one Pi with attached storage serving the others. My setup is: master PI with an USB SSD running Ubuntu ...
2
votes
0answers
50 views

Debug OTG on RPI 4 for g_midi?

I tried to set a RPI 4 in OTG device mode I added dtoverlay=dwc2 to config.txt I modified the cmdline.txt so it launches wc2 & g_midi I tried ,dr_mode=peripheral too I just tried replacing ...
2
votes
0answers
148 views

Proper GL Driver configuration on RPi 4

Can someone confirm what I should do on a raspberry pi 4 to access the new DRM based opengl drivers? I expected to see a new option in raspi-config for it, but instead I only see the legacy and fake ...
2
votes
0answers
113 views

Raspberry pi 4 stuck on rainbow screen, green LED flashes 4 times

I have install latest(2020-05-27) raspberry pi image 32-bit. And it gets on rainbow screen on both outputs, red lights is on, while green lights flashes 4 times. When I turn on raspberry pi with out ...
2
votes
1answer
573 views

Failed to start Load Kernel Modules for installing Ubuntu 18.04 on Raspberry 4

I tried to install Ubuntu 18.04 on Pi4. I followed the link from ubuntu for pi. After inserting the SD card with Ubuntu image, the error appeared after few lines with [FAILED] Failed to start Load ...
2
votes
1answer
242 views

BluetoothError: (111, 'Connection refused')

I'm trying to connect raspberry pi 4 to my ubuntu laptop. I setup a rfcomm server on my laptop, the code is given below: import bluetooth server_sock = bluetooth.BluetoothSocket(bluetooth.RFCOMM) ...
2
votes
0answers
387 views

ALSA errors on raspberry pi 4

So i'm trying to make a virtual assistant on a raspberry pi 4. I have coded the bot to work on my windows machine but now I'm running into errors while using the raspberry pi I figured out which part ...
2
votes
1answer
72 views

SSH port won't change after config file edited

thanks in advance for reading/responding. I've taken to the internet and found several well written articles on HOW to change the standard SSH port from 22 to XXXXX. However after reading these ...
2
votes
0answers
40 views

Error in printing message to LCD via Raspberry Pi

from RPLCD import CharLCD lcd = CharLCD(cols=16, rows=2, pin_rs=37, pin_e=35, pins_data=[33, 31, 29, 23]) lcd.write_string('Hello world!') I've wired my raspberry pi and LCD exactly as the picture ...
2
votes
0answers
70 views

Slow Serialcommunication between Raspberry Pi and Ardunio Mega

I'm in the process of tinkering with something, and for that I need an Arduino to collect measurement data, and a PI to process it all and send it on. My problem is that the connection between my Pi ...
2
votes
0answers
68 views

Mount network share on boot with hidden password

When I was trying to mount a network share on boot by adding the following line to the /etc/fstab file: //<server>/folder /home/pi/target cifs username=<username>,password=<password&...
2
votes
0answers
82 views

Using GPIO on the Bitwizard DMX hat board

I have a rpi 4, with a relays board on top of it, and a Bitwizard DMX hat board on top of that. The Bitwzard board doesn't have a male header on the top, so I am unable to connect my sensors. It was ...
2
votes
0answers
91 views

help getting ble-mesh (bluetooth mesh) working

I was hoping to get some help. I have been working on getting bluetooth mesh working on my raspberry pi 4 for a few days and feel I am hitting a brick wall. I am referring to this pdf that was ...
2
votes
0answers
77 views

Using Motion to Post Photos Captured to API

I am attempting to build a program that will automatically post the photos taken by motion from my usb webcam to a rest API, and have ran into some problems. My livestream works correctly, and it ...
2
votes
0answers
38 views

power problem with pi4 and 7" touchscreen

I have a Pi4 that I have connected to a 7" touchscreen. The touchscreen is powered by a microUSB cable, the Pi4 is then powered through the GPIO, per the instructions. I keep getting the low power ...
2
votes
0answers
90 views

Pi cannot boot when encrypted USB SSD drive is attached

I have a Pi 4, running Raspbian 10 Buster. I have an attached SSD drive with LUKS encryption. When I restart the Pi, it wouldn't boot if the SSD is attached. Once I unplug it, it boots well and I can ...
2
votes
0answers
404 views

Raspberry Pi 4 stuck on Rainbow Screen

My Raspberry Pi turns on, it shows the Rainbow Screen, then freezes. I have not installed Raspbian; I downloaded NOOBS and put it on my micro SDHC card. I put the micro SDHC card into the slot and ...
2
votes
0answers
121 views

(Wiring) RPi 4B laptop keyboard

NOTE: Not that I've chosen a few wired keyboards, I'll accept an answer that explains HOW to (easily) wire a keybard to the pi - it cannot obstruct the use of a small fan powered by the GPIO. I'm ...
2
votes
0answers
2k views

Android Studio on RPi4

So with the release of the 4GB version of Raspberry Pi 4 I started wondering whether installing and running Android Studio on it will be possible. Previous Pi versions were lacking in terms of RAM ...
2
votes
1answer
637 views

Persistently increase usbfs_memory_mb on RPI4 running Ubuntu 19

I am working with a 4gb RaspberryPI4 and it's running a USB3 Flir Blackfly. Out of the box, the setting of usbcore.usbfs_memory_mb @ 16 isn't enough to get a stream from the camera. Increasing the ...
2
votes
0answers
90 views

Turning on/off specific HDMI port on Pi 4

According to the docs, vcgencmd now can specify which hdmi port as a second argument for raspberry pi 4, so I did sudo apt update then sudo apt upgrade but vcgencmd display_power 0 7 returns error=2 ...
2
votes
1answer
1k views

E: Package 'python-wxgtk2.8' has no installation candidate

I'm having trouble installing ''sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n libwxgtk2.8-dev ''at Pi4. It failed with:''Reading package lists... Done Building dependency tree Reading ...
2
votes
0answers
3k views

Raspberry pi 4 no hdmi signal

I have recently bought a raspberry pi 4 (4gb version) and its' original power adapter. I used balena etcher to flash my sd card, which I have used in my previous raspberries and works properly, but it ...
2
votes
0answers
260 views

Purethermal2 + RPi4 (4GB + Raspbian)

A week ago I received a fresh RPi4 4GB and started to play with it. I installed Raspbian Buster from the downloads page, no errors. After everything was set up, I tried to connect my Purethermal 2 (...
2
votes
0answers
1k views

How can I get my new Raspberry Pi 4B to output 1080i video

I finally got into the Pi world with a model 4B. I've updated it to Raspian/Buster and have the network working (wireless and wired - but just using wireless right now). I'm running it using VNC-...
2
votes
2answers
758 views

Backward Compatibility on the Pi 4

Is it possible to run Raspbian Stretch on the Pi 4? The problem is that the newest released (Raspbian Buster) has some weird bug in which JavaFX applications cannot be started with the error : "*...
2
votes
0answers
791 views

Different resolutions HDMI-1/HDMI-2 in Screen Layout Editor

I have a Raspberry Pi 4 (2GB) connected to 2 displays of resolution 3840x600 each (58:9 aspect ratio), running the latest version of Buster. To have the display in correct resolution, I have edited ...
2
votes
1answer
444 views

RPi 4 - 8 nodes - Appropriate switch for POE

I was thinking about an 8 port switch that can provide my 8 RPi's 4 power over POE. I think i have found one according to my needs ( small dimensions), namely the: Ubiquiti EdgeSwitch 10XP - https://...
1
vote
0answers
30 views

How to set HDMI Port 1 to be used by default on Pi4?

During some experiments it looks like my HDMI port 0 broke down. I still can SSH to it. tvservice -M <display on port 0> Does not show any activity on port 0 when I plug the HDMI cable in and ...
1
vote
0answers
20 views

Mimic omxplayer behavior with VLC

I'm trying to mimic the behavior of omxplayer file.mp4 --loop using VLC since omxplayer is going to be deprecated soon. The use case is a splash screen on an environment without X. The closest ...
1
vote
0answers
57 views

Problem with USB RFID Reader and Raspberry pi 4

Firstly I'm just a beginner trying to get into pi world so my knowledge is minimal at this point. I'm trying to make USB RFID card reader work on raspberry like it works on my Windows pc, imitate ...
1
vote
0answers
53 views

Max30102 not visible in i2cdetect

I'm trying to connect Max3012 to Raspberry PI. I actually tested: two Max30102 versions (?): one with 7 holes on one side and another one with 4 holes on one side and 4 holes on another AND, trying ...
1
vote
1answer
35 views

PSU Unit for 4 Raspberry Pi 4 B with 8gb ram

Hi Raspberry Pi Stackexchange, Im am considering to build my own small server at home with 4 clustered raspberry pi 4. I have been looking for an adequate PSU but haven't found anything that suits the ...
1
vote
0answers
37 views

Raspberry Pi 4B Booting problem

I have a Raspberry Pi 4B 2 GB model. I am running MQTT server on my Pi for an energy monitoring system in which around 16 ESP devices are connected to Pi. Besides EMS, Its also connected to Siemen S7-...
1
vote
1answer
159 views

How to install and start MediathekView on Raspberry Pi 4?

Is it possible to install and run MediathekView on a RaspberryPi 4 with 4GB RAM and if so, how to do it? Is this also possible with a RaspberryPi without a monitor attached?
1
vote
0answers
319 views

RP 4 connecting to Asus ZenScreen monitor issue

I'm very new to RP and I recently bought a new RP 4 and wanted to use a portable touchscreen monitor with it, but I wanted something bigger than the 7-10" ones I saw. I went for this one after a ...
1
vote
0answers
44 views

Rotary encoder working on Pi 3 but not on Pi 4

I'm trying to read an encoder switch using wiringPi (latest, 2.52). Whenever there is an edge on either of the encoding pins a or b, I store a snapshot of the state of both pins on two bits: int val = ...

1
2 3 4 5
9