4,092
questions
-2
votes
0
answers
45
views
Opencv camera capture with python3 on Raspberry pi 3B+
Having trouble running OpenCV frame capture on Raspberry Pi 3 B+.
I have installed OpenCV 4.6.0 and Python 3.11.2 on Raspberry Pi OS. (Linux version 6.6.47+rpt-rpi-v8)
This is the Python code being ...
0
votes
0
answers
17
views
Use Motioneyes OS on a pi with a smartphone hotspot
I have a cabin at the other side of my property and I want to set up a CCTV there.
Since it is too far away, I have no Wi-Fi Connection.
What I did was: I installed Motioneye OS on my Raspi 3 B+ with ...
0
votes
0
answers
23
views
How do I correctly implement control for GUI in raspberry pi 4
Here I have these code:
//the variables and struct I uses and struct definition
int menu_flag = 0; // initialised menu flag to 0
int selected_item = 0; // selected item flag to 0
int ...
-1
votes
0
answers
51
views
Why Python can't start new thread
I'm reading a digital-kWh-meter on a Raspberry Pi 3, each second.
Every 60 seconds the program calls 4 threads to turn, on and off, 4 LEDS with different frequencies, for 50 seconds.
After a few hours ...
0
votes
2
answers
68
views
Python Script To Monitor RASPI GPIO
I'd like write a Python script to run on on a Raspberry Pi (3B+) to monitor several GPIO pins for an external button press.
When a button is pressed (shorted to 0 volts), I would like another GPIO ...
0
votes
0
answers
30
views
Running multiple python scripts in parallel at boot
At the moment I’m trying to run two scripts in parallel at boot on a raspberry pi 3B+. However, the problem I’m sunning into is the first script to stop when the second starts.
The following code is ...
0
votes
0
answers
17
views
make[2]: *** No rule to make target '/usr/local/lib/libmirsdrapi-rsp.so', needed by 'libsdrPlaySupport.so'. Stop
What seems to be the problem here ?
pi@raspberrypi:~/SoapySDRPlay2/build $ make
-- Build type not specified: defaulting to release.
-- LIBSDRPLAY_INCLUDE_DIRS - /usr/local/include
-- ...
0
votes
0
answers
87
views
How to display a 3.5 TFT LCD with rpi3 using Busybox/Linux built with Buildroot?
I'm trying to display a 3.5 TFT LCD on rpi3 (Raspberry Pi 3 Model B v1.2 - Raspberry Pi 2015) built with buildroot+busybox, but sources like this repo from lcdwiki uses debian-based distro tooling for ...
0
votes
0
answers
49
views
i2c address of raspberry pi 3b+ is changed when install own driver
I'm making a driver for DS3231 for raspberry pi 3b+ and I use I2C 1, when I use cmd sudo insmod ds3231_driver, it make the I2C address change into UU (the address of the device is 0x68), when I check ...
0
votes
0
answers
53
views
Exception in thread "main" java.lang.RuntimeException: Unable to open GPIO direction interface for pin [3]: No such file or directory
Any one to help me?
import com.pi4j.wiringpi.Gpio;
import com.pi4j.wiringpi.GpioUtil;
public class DHT11 {
private static final int MAXTIMINGS = 85;
private final int[] dht11_dat = {0, 0, 0, ...
0
votes
0
answers
253
views
RuntimeError: Failed to add edge detection
I am using a Raspberry Pi 3 for vibration sensor with the following code:
#!/usr/bin/python
import RPi.GPIO as GPIO
import time
#GPIO SETUP
channel = 27
GPIO.setmode(GPIO.BCM)
GPIO.setup(channel, ...
0
votes
0
answers
80
views
Yolov5 Custom Model Deployment in Raspberry Pi 3
I want to deploy my pre-trained Yolov5 Custom object detection model where my datasets had used. But I did not know how to deploy this model and test it into raspberry pi 3. I did not find any ...
3
votes
3
answers
324
views
Raspberry pi GPIO pin not turning off
I bought RPi, flashed the OS. I also bought a 5V relay. I have connected the 2nd pin to VCC of the relay, 6th pin to GND of the relay, 40th pin to the 'IN' point of the relay. At present I have not ...
0
votes
0
answers
38
views
Raspaberry 3 model 3b+ / RuntimeError: Error waiting for edge
I would like to know how I can fix this error, the code in question Im using an TCS3200, the pinout is: TCS3200 Color Sensor has 8-pins. Connect Pins 1 and 2 i.e. S0 and S1 to +5V. Then connect ...
2
votes
1
answer
113
views
socket.gaierror: [Errno -2] Name or service not known | Firebase x Raspberry Pi
I am using a Python program to click a picture on my Raspberry Pi 3B+ when motion is detected and send this image to firebase storage.
import RPi.GPIO as GPIO
import gpiozero
import datetime
import ...