Skip to main content

All Questions

Tagged with
0votes
1answer
46views

Is this the right approach for my project?

This is my first Raspberry PI project. I'm trying it for fun and personal use for my home. I want to mount a device that detects a face from a short distance (maybe 1m and less) and initialize an API ...
2votes
1answer
1kviews

Not getting a response from a connected PIR sensor

I have a PIR sensor which I'm using connected to a Raspberry Pi 3 Model B as part of a Magic Mirror project. I'm running this module for the sensor. I've had the Motion Sensor working before, but now ...
1vote
1answer
70views

I2C Interfacing with HIH6130

I'm trying to read data from sparkfun's HIH6130 Breakout for measuring humidity and temp data. Following this instructable (though without the i2c shield for the pi), the provided python code just ...
0votes
0answers
60views

Rotary encoder issues

I currently have a 600 p/r encoder hooked up to a pi 4. Seems to work ok, but due to the pi OS (bookworm) it usually misses some counts. From what I read, it seems that there are 2 possible ways to ...
0votes
1answer
835views

Lego EV3 infrared sensor to raspberry pi 3 direct connection via UART?

I connected this sensor with raspberry via UART( I have found that this IR sensor is one of few Lego sensors that connects via UART), and make serial_read and serial_write python scripts, just to test ...
2votes
4answers
2kviews

PIR Triggering for no reason

I have a setup with a Raspberry PI model 3 a PIR sensor and a OEM HDTV Pi IR-Camera with two LED modules (pictures below). I'm running a little Python script triggering a camera recording whenever ...
0votes
1answer
196views

AS5600 encoder is not reading on Raspberry Pi 4

I'm trying to read the stepper motor angle using the AS5600 magnetic position encoder. I'm using Raspberry Pi 4 and the pinout is the following: VCC to 3.3V , GND to Ground ,SDA to GPIO2 (Pin 3) , SCL ...
0votes
1answer
87views

Troubleshooting Temp/RH Sensor with RPi

I am working off of a Raspberry Pi 4B. I have recently connected this temperature/RH sensor, but I am having trouble to with the python code. This is the datasheet for the sensor (Pg. 11-18 are most ...
1vote
1answer
3kviews

Piezo sensor to pick up acoustic instrument signal using Rpi and ADC

I want to read analog inputs from piezo sensors like these on Raspberry using python, which ADC do you advise me with 8 or more channels and how to wire and program it to get digital values?
0votes
2answers
793views

mq5 gas sensor not alerting of leakages

I'm currently using an mq5 gas sensor in my kitchen with the MCP3208 ADC. my code shows a continuous loop of the voltage charge. in the mq5 as it detects gases in the air. It is supposed to print ("...
0votes
3answers
1kviews

Multithreading/infinite loops affecting sensor values

I run a Python script on my RPi that manages all the sensors on the board and communicates with another machine using TCP sockets. The project gained in complexity and my script now has 5 threads ...
-1votes
1answer
195views

Multiprocessing to speed up data acquisition for I2C devices

Here's my situation: I have four FDC1004 devices that I want to have connected to an array of 64 electrodes through four ADG1206 16:1 multiplexers. Each device is slaved to a pi4 using separate I2C ...
0votes
2answers
573views

BME280 sensor: OSError [Errno 5]

I recently bought a Raspberry Pi 4B along with a BME280 T/P/humidity sensor. I use the bme280 and smbus2 Python libraries to interface with the sensor. For a while it worked pretty well, but yesterday ...
1vote
2answers
476views

hc-sr501 goes high every minute

So I bought three HC-SR501 PIR and all of them keep trigging (high) every single 60 second on the dot. I don't know what I am doing wrong. The PIR does detect motion when a person is moving but it ...
2votes
2answers
740views

HC-SR04 sensor's ECHO pin stuck on HIGH

I have a raspberry pi 4 and a HC-SR04 ultrasonic distance sensor. I want to use it in a raspberry-pi based robot. The other features look fine, the robot can move, et cetera. But my code for the ...

153050per page
close