All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
9 views

I think I corrupted my microSD card; is there a way to fix it?

I installed Raspberry Pi OS on an old microSD card I had, which I put in my new Raspberry Pi 4 (8GB RAM). Today, I tried to (safely) overclock the system. However, when I rebooted the system, I got an ...
0
votes
0answers
12 views

Impossible to run a python script from PHP exec()

On my raspberry pi I have several Python versions, (2.7,3.5,3.8) I installed in python 3.8 the mpu9250_jmdev package (https://pypi.org/project/mpu9250-jmdev/) My python code to test if the package is ...
0
votes
0answers
5 views

Logitech C920 webcam mic volume very low in some apps

I've connected a Logitech C920 webcam to my Raspberry Pi 4 with the basic OS image on it. I want to use it for video conferencing through my living room TV, and I intended to use the built in C920 mic ...
1
vote
1answer
19 views

Do not see raspberry PI in network after install with Raspberry PI imager

I've installed Raspberry Pi OS Lite on flash drive with Raspberry Pi Imager. After that I've added SSH and wpa_supplicant.conf (I've taken this example to create the config). And after that I've ...
0
votes
0answers
6 views

MITMProxy in RaspAp

I have installed raspap in my raspberrypi and added captive portal to it. I wonder if it is possible to intercept https requests and modify them? When I was searching, I've found that MITMProxy is an ...
1
vote
0answers
11 views

How to solve sd-bus problem when building images with Podman? [migrated]

Building a Payara image with podman 3.0.1 results in sd-bus call: Connection reset by peer Below example should build a Payara server. The same problem occurs when building a Postgres server. So it ...
0
votes
1answer
16 views

Can only initiate ssh ethernet connection to Pi when PC is off WiFi

I can seemingly only connect to my Pi via an ethernet cable if I have temporarily disconnected from WiFi. Once I login, I can reconnect to Wifi, and I can talk to both my Pi and use the internet. ...
0
votes
1answer
20 views

(Another) Cannot SSH to Raspberry Pi from Mac — Port 22: Connection Refused

So, as the title states, I cannot SSH to a Raspberry Pi from my Mac. I have done so in the past, but can't figure out why it won't work now. Unless stated otherwise, all devices I mention below are ...
1
vote
0answers
16 views

Node.js is missing libatomic.so.1?

I've installed node.js on my rPi2 using nvm (following this guide, but updated to the latest LTS version of node) and it seems to have partially installed. The issue seems to be that node cannot find ...
0
votes
0answers
16 views

How do I automate a non-gui wifi client to roam to the strongest AP in range? [duplicate]

I have a RPi in the car that I need to act as a mobile AP. I need it to provide a consistent, unchanging ESSID (in AP mode) using the onboard wlan0 for all devices that stay in my car. Dashcams, the ...
0
votes
0answers
13 views

Allow startup to continue before wifi connects [closed]

I'm running my pi in headless mode and it takes a long time to startup. According to journalctl -b, multiple seconds are spent waiting for wifi to turn on. Is it possible to make wifi not block ...
-2
votes
0answers
28 views

Else: SyntaxError Im getting this error when running a script

I'm using a code to scan qrcodes with my Rpi camera Why am I getting a syntax error for an else statement?
0
votes
0answers
12 views

SSR or Opto-Coupler relay only works if shorted

I have a SSR 4 channel relay and an Opto-Coupler one channel relay. Both where specified to work on 3.3V signals. I wrote a quick test program on my raspberrypi zero w and tried both relays with my ...
0
votes
0answers
20 views

Odd information at the end of apt-get [closed]

I keep getting this piece of information at the end, every-time I try to install a package using apt. I don't remember this happening on my PC(also using ubuntu server). System: Raspberry pi 4(4GB RAM)...
0
votes
0answers
18 views

Getting Segmentation Fault Error(core dumped) after successfully installing the coco datasets while running YOLOv5 on Raspberry Pi

I am trying to run the ultralytics/yolov5 on my Raspberry Pi 4. When I run python3 test.py --data coco.yaml --weights yolov5s.pt it successfully starts with the phase and successfully downloads the ...
0
votes
1answer
20 views

Powering automated watering project

I am making my mother an automated watering system for her garden with my Raspberry Pi. I would like the system to be able to detect soil moisture, as well as predict temperature and humidity to ...
0
votes
0answers
13 views

Cannot install Docker-Compose - Docker is installed

I recently bought a Raspberry Pi 4 Model B with two 32GB SD cards. I installed Raspbian on the first card and I have played with it for a few weeks. I installed Docker; Docker-Compose and created a ...
1
vote
0answers
28 views

Building a car SatNav from a RPi

My Garmin car GPS died, and im thinking about building my own. I saw that there are a couple pretty good navigation softwares out there, and I want to use one of them, with OSM maps and a 7" ...
1
vote
1answer
19 views

Raspberry Pi 4 CanaKit - Micro SD Card - Do Not Format

I just bought a Raspberry CanaKit for Raspberry Pi 4 with all the latest features, and the Micro SD comes already preloaded with NOOBS (Gotta love that acronym) and backup files it appears, so why ...
1
vote
0answers
14 views

preempt_rt audio

I patched my pi4 with preempt_rt in an attempt to reduce xruns. Now arecord -l no longer lists my i2s mems microphone. I also tried a few other usb microphones and they don't show up either. The ...
1
vote
0answers
16 views

Combining on_movie_end and area_detect in motion

I'm currently working on setting up a Raspberry Pi as a security camera to detect motion and email me a snippet of a .mkv if it detects movement. The bit in my motion.conf that handles this is: ...
0
votes
3answers
21 views

With a Pi Zero W is the MISO pin on the GPIO shared with any devices on the board itself?

I've been doing embedded work for many years, but have only very recently started working with the Raspberry Pi. I'm planning to build a project that uses a 5" TFT display and a Pi Zero W, and ...
-2
votes
0answers
28 views

Doesn't support architecture arm64

I am working on a project which requires me to use the rpi camera module to scan qr codes While I'm going through the steps to I type sudo apt-get update and I get multiple output lines that say N: ...
1
vote
0answers
12 views

Which bipolar stepper motor can be used with EasyDriver4.5V A3967?

I have EasyDriver 4.5V A3967 driver and planning to purchase 12V bipolar stepper motor with specs phase: 2 phase voltage: 12 V current: 0.7 A. Phase resistance: 4.0 ± 10% Ω phase inductance: 3.2 ± 20% ...
0
votes
1answer
15 views

New Raspberry Pi 4 boots to black screen

I'm pretty new to the Raspberry Pi world and I just bought my first one (4 model B 8GB). I downloaded the raspberry pi OS full (23-BIT) and used the Raspberry Pi Imager to put on my Samsung 64GB Sd ...
0
votes
0answers
19 views

Can I use the mainline kernel in my rasp? if not, why?

I noticed that when we compile a new kernel following the official documentation we use the linux fork from the raspberry foundation. Could I use the mainline kernel maintained by linus? Or is there ...
0
votes
0answers
19 views

WS281x library cannot access /dev/mem without root

I get this error from the rpi_ws281x library when trying to run as user pi (this is a java wrapper around the library): 16:43:59.060 [main] INFO com.github.mbelling.ws281x.Ws281xLedStrip - LEDs count:...
1
vote
0answers
18 views

How to take out the noises of the servo motor?

I am using the 3b+ raspberry, while the accelerometer is acquiring data the servo is creating some noises which may give false readings. Does anyone have any idea how to get rid of these noises? I am ...
0
votes
0answers
11 views

Raspberry Pi Python Neopixel WS281x Script suddenly changes LED color

For my Python script I'M using this library. I try to set one single, permanent color to all my 60 pixels. As I'm using two LED strips (one strip at GPIO18 and one at GPIO 13), my code handels both of ...
0
votes
0answers
17 views

Resizing photo keeping aspect ratio for e-ink paper

I am trying to create a photoframe using a 7.5 inch eink paper from waveshare with resolution 800x480. I have been able to print the image on the paper by resizing it to the requested resolution using ...
0
votes
0answers
21 views

kernel panic after shrinking with PiShrink-macOS

I tried to use multiple times self compiled PiShrink-macOS from this repository https://github.com/lisanet/PiShrink-macOS on my Mac OSx Big Sur 11.4, but when triyng to boot shrinked image, it always ...
0
votes
0answers
19 views

Porting links when changing wordpress hosting to RPi [closed]

I'm moving a client's WordPress website from his original hosting to his Raspberry Pi. I followed some tutorials and ported the wp-content, wp-config and the database. And like I saw in the tutorials, ...
0
votes
1answer
6 views

How do I play a whole dir of mp3s on PiFM? (Sample rate) [closed]

I am using sox to convert MP3 files to a WAV on the fly for pifm. The only thing is, I am doing it to a whole directory of MP3s, and because not all of them have the same sample rate the command fails....
0
votes
1answer
27 views

CMake Error: The source directory “/home/pi” does not appear to contain CMakeLists.txt

Can someone please tell me what I have to? I'm trying to setup my build using CMake. My code and its' error is the following. How do I make CMakeLists? (cv) pi@raspberrypi:~/build $ cmake -D ...
1
vote
0answers
20 views

ad hoc on raspbian buster pi 3

I have read a few other questions about this topic in this network and other places. The problem is they are all different and none of them have worked on Buster. Here are my questions: 1- With ad-hoc,...
0
votes
1answer
21 views

How can I change the audio output device from the command line?

I want to be able to change the audio output device (hdmi or aux) from the command line, preferably, without having to sudo. I'm on a RPI4 with Raspbian-lite Buster. On the RPI3 I was able to use ...
0
votes
0answers
8 views

how to get a .config for kernel compilation directly from the rasp?

When you want to compile a kernel for some specific linux distribution you need to get the .config file for this particular distribution. But the usual way (i.e.zcat /proc/config.gz > .config) ...
1
vote
0answers
13 views

How to crosscompile a kernel for raspbian in an arch linux host?

I have a raspberrypi 3B and want to compile and install a new kernel on it, but I only have an arch linux(x86_64) host to compile it on. Following the official documentation I get stuck trying to ...
0
votes
2answers
46 views

sudo apt-get update problem

I was trying to update my RPI. $sudo apt-get update , and this was my result: Reading package lists... Done E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable ...
0
votes
0answers
8 views

Controlling Adafruit 7-Segment i2c Backpack via Node Red

Background I have wired up an Adafruit 7-Segment LED display with I2C Backpack to my Raspberry Pi as per the Adafruit instructions here. I can control the display from Python code without any problems....
1
vote
3answers
31 views

How to setup point-to-point ethernet connection to PLC in addition to standard network

I have an RPi 3 running Raspbian 10 (Lite, headless). It is connected to my LAN via eth0 which is working fine. Now I need to also connect the RPi to a PLC with very limited configuration options (...
0
votes
0answers
19 views

DietPi does not detect Wifi. Raspbian does detect WiFI

I recently bought a Raspberry Pi 4 Model B with two 32GB SD cards. I installed Raspbian on the first card and I have played with it for a few weeks. Yesterday I installed Diet Pi on the other SD card ...
0
votes
2answers
14 views

Incorrectly configured black border pi-4

When you install and configure the raspberry pi desktop for the pi-4 you can select a box if you have black border on your screen. I selected this box but when I restarted the edges of the toolbar and ...
1
vote
0answers
13 views

Does the Raspberry Pi 4's processor support ARM's SHA256 instructions?

According to Wikipedia, every Armv8 processor should support sha256 hashing instructions however /proc/cpuinfo doesn't list it. Could there be a failure to identify the feature by the kernel? ...
0
votes
0answers
28 views

How to setup eth1 with fixed IP

I have connected a USB network interface to my RPi 4 running Raspbian 10 Lite (headless) and I am trying to assign a fixed IP address to it. The onboard eth0 interface should continue to use DHCP as ...
0
votes
1answer
23 views

How to use 433 RF codes to start actions on Rpi

My setup is: Arduino with 433 cheap transmitter module, photodiode and a laser and 433 receiver connected to Rpi, button. I've used rpi-rf lib to receive codes. I'm trying to make stopwatch that when ...
1
vote
1answer
28 views

Wiring multiple I2C sensors to Raspberry Pi using breadboard or wiring

I am new in prototyping with Raspberry Pi. I am using a Raspberry Pi 4B. For a project I want to connect 3 I2C sensors to it (AS7262,BME688 and AS7263. They connect to the same pinns (pins 1, 3, 5, 6, ...
0
votes
0answers
15 views

Is it safe to change the power settings to allow raspberry 400 to power using usb?

I recently got a raspberry pi 400 and wanted to use it as a portable device but realised that it can only get full power when plugged into a power socket. I saw a video showing that you can use it ...
0
votes
1answer
20 views

Install RPi OS from a zip file (No image)

I have a new RPi 4 and I have installed NOOBS from a zip due to the fact that I cannot install software on my computer as it is loaned from my school (i.e. image writing software) However, once ...
0
votes
1answer
21 views

Crontab not running python file to MySQL

I have a python script that takes sensor data from a DHT11 and inputs the data into MySQL. This file when ran in the terminal on my Raspberry Pi returns the right results: python3 ./Data In which will ...

15 30 50 per page
1
2 3 4 5
674