New answers tagged

0 votes

NodeJS cannot read some RaspberryPi GPIOs

After comment of @CoderMike, I set the GPIOs pull-up in the /boot/config.txt and it works now! I had to add gpio=17,22,23,24,27=ip,pu into /boot/config.txt
user avatar
0 votes

How do I give GPIO and USB permissions to a k3s Kubernetes pod?

should work bei giving the container of the privileges ontainers: - name: <container name> image: <image name from registry> securityContext: privileged: true
user avatar
0 votes

Pi 4 - Ubuntu 64 bit - Boot from SSD over USB - Gets stuck in Initramfs after reboot

huh - goldilocks deleted my answer yet failed to update their own thread with any explanation.... well I will copy and paste my final solution: I got it working ... firmware issue, sudo apt install ...
user avatar
  • 1
2 votes
Accepted

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

Try sys.platform. import sys print(sys.platform) On my Linux laptop it reports linux2.
user avatar
  • 66.3k
0 votes

Terminal not working, while everything else does

When terminal opens, by default it starts a shell, as set for your account. However, it can also be told both on the command line and in its internal configuration to open something else instead. The ...
user avatar
  • 739
0 votes

omxplayer repository package for bullseye

For me, omxplayer got installed automatically after doing apt --fix-broken install - I don't really understand how apt finds it, but there you go. However, the installation doesn't work out of the box....
user avatar
  • 101
-2 votes

Connect pump via USB or PINS

its pretty interesting cutting off the usb is a little risky but you could use a usb type a female to breakout board and solder a jumperwire to it for the coding you can use 2 files 1 for turning the ...
user avatar
  • 1
0 votes

How much temperature is normal temperature for Raspberry Pi 4

I am using a translator, I hope it is well understood. I am currently using the aluminum case, this dissipates the temperature quite well if I use the original setting. In case of overclocking, the ...
user avatar
  • 1
2 votes
Accepted

VNC connection refused

Auth error: /: permissions are not restrictive enough Ensure that the / folder is owned by root and its permission mode is set to 755: chown root.root / chmod 755 / You may also need to check these ...
user avatar
  • 36
0 votes

Good KDE distros for RP4?

There is a distro Manjaro with KDE Plasma on "Raspberry Pi Imager". It could be a good choice, I love the KDE Plasma.
user avatar
2 votes
Accepted

How to install wiringpi on Raspbian

The question shows different architectures armhf vs. arm64 for the packages. dpkg: dependency problems prevent configuration of wiringpi:armhf: wiringpi:armhf depends on libc6. ^^^^^ ...
user avatar
  • 138
2 votes

How to install wiringpi on Raspbian

EDIT: wiringpi is now in the apt ports repo; so: sudo apt install wiringpi Contrary to some opinions, wiringpi is not a waste of time for everyone. And as long as we are expressing opinions, here's ...
user avatar
  • 17.4k
2 votes

Reading data from GPS module using Python on Raspberry PI

I tend to use the pynmea2 library to parse the GPS data: import serial,time,pynmea2 port = '/dev/serial0' baud = 9600 serialPort = serial.Serial(port, baudrate = baud, timeout = 0.5) while True: ...
user avatar
  • 6,136
1 vote

Watchdog on the RPi4

For the RaspberryPi4 it's more straightforward than for earlier software as much of the configuration scaffolding is already in place. Edit /etc/systemd/system.conf adding the line RuntimeWatchdogSec=...
user avatar
  • 111
0 votes

What Java library to use for GPIO with raspberry pi 4b

They have new version of Pi4J V.2 with Java 11, support RPI 4 B+. Pi4J V.2 had the first release in August 2021. So, go do it ! Pi4J 2.0
user avatar
0 votes

Does Raspberry Pi Camera use specific GPIO pins?

The camera uses a number of GPIO pins, but not those on the expansion header. This is poorly documented, but it also appears to use an I²C interface - almost certainly the reserved interface on pins ...
user avatar
  • 53.1k
0 votes

Raspberry pi cannot synchronize clock

As @treskilion mention, it is because of "root distance". solved here /etc/systemd/timesyncd.conf: [Time] NTP=10.10.1.30 #FallbackNTP= RootDistanceMaxSec=30
user avatar
0 votes

Display settings for a TV with resolution of 1366x768 @60 Hz used RPI 4B_4GB

Kind of late, but perhaps could help others looking for solution to the same problem as it did help me. Short answer, put these commands into config.txt: hdmi_drive=2 hdmi_group=2 hdmi_mode=87 ...
user avatar
2 votes
Accepted

Advice on how to get started with building a home safety system using a Raspberry pi 4

If your sensor devices cannot transmit wirelessly, you need to find some kind of wireless device that knows how to talk to the sensor. If your sensor is very smart, you might be able to use some kind ...
user avatar
  • 455
0 votes

Raspberry pi cannot synchronize clock

I think this is a locale problem. I had the same and I set the language back to English and it started to work again. When I have the language set to Swedish it does not sync. I checked the staus and ...
user avatar
0 votes

XRDP on ARM64 bullseye issue

lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye ##################################### ...
user avatar
  • 1
0 votes

Controlling multiple servo motors on rpi 4

No. All you need for servos is a correct control signal. Normally this is a 50 Hz pulse between 1 and 2 milliseconds long. It needs to be accurate and repeatable within a few microseconds. You can ...
user avatar
  • 66.3k
0 votes

Controlling stepper motor with Raspberry pi

I'd use the pigpio library from joan. You can easily look for a full stepper motor control guide made by rototron (search stepper motor rototron) where he demonstrates all the way you can use a ...
user avatar
0 votes
Accepted

How do I control a fan attached to GPIO pins on Android?

I solved this problem. I used DToverlay. I tried auto fan control by editing the config.txt and with the following command. I no longer need to use GPIO on the Android side. dtoverlay=gpio-fan, ...
user avatar
  • 111
0 votes

Raspberry pi 4 Low voltage warning

Have you tried to add a capacitor between GND and 5V close to the 5V pin? Maybe the voltage is not stable and drops on load changes. If you want to power the Pi and the HAT seperately, the easiest way ...
user avatar
  • 1
2 votes

Raspberry pi 4 Low voltage warning

The Pi requires 5V +/- 0.25 volts to operate properly. You will get the low voltage warning if the Pi has less than 4.65 volts.
user avatar
  • 66.3k
0 votes

Why can I not login to my raspberry pi 4b?

Default username and password is not valid any longer for raspberry Pi. If you are trying to login headlessly (without monitor/keyboard) you can do it from Pi Imager itself. On Selecting OS in Pi ...
user avatar
  • 1

Top 50 recent answers are included