Questions tagged [sensor]

For questions dealing with devices that measure the physical world around us and translate it into signals for the Raspberry Pi.

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

USB GPS dongle doesn't return consecutive GSP traces

I used this USB GPS dongle to retrieve GPS traces of user's trip. Device configuration is successful. pi@raspberrypi:~ $ cgps -s ┌───────────────────────────────────────────┐┌──────────────────Seen 17/...
0
votes
0answers
20 views

Using Temp Sensor to Control Mains Water Valve

I have a complicated use case that I'm hoping to solve work a RaspberPi. I need to control a valve that turns on mains water from city service when a temperature sensor reaches the max allowable limit ...
1
vote
0answers
23 views

Errno 121 Remote I/O error happening too often on Raspberry Pi 4 [closed]

I'm using a Raspberry Pi 4 - Rev1.4 together with a tc9548 multiplexer and 2 additional I2C sensors behind each multiplexer channel. OS version: AME="Raspbian GNU/Linux" VERSION_ID="11&...
2
votes
2answers
47 views

Connecting to a u-blox7 USB GPS sensor

I am trying to connect to a U-Blox7 USB GPS sensor, following the steps outlined here. The device is detected, but not receiving GPS data. I am not not in a shielded area. Checking that the device is ...
1
vote
0answers
31 views

Wireless 3 sensor 1 pi home project

I have little to no experience with setting up a wireless "network" for my raspberry pi and need help. I want to set up 3 hygrometers in separate rooms which connect to the same one pi. I ...
0
votes
1answer
38 views

What sensor can I use for detecting a metal type without the use of magnets? [closed]

I am searching for a method to detect the type of metal of something solid and small and thin. The test surface is approx 4x2 cm with a thickness of maybe a few millimeter. I cannot use magnets in ...
0
votes
0answers
37 views

Power requirements for water flow controller project [closed]

I am planning a project to start a pump when level in a tank goes low and measure the flow as the pump fills the tank. Conversely, when the level in the tank goes high, the pump is to be stopped. This ...
0
votes
1answer
41 views

How to use multiple HC-SR04 distance sensors

For a project I need to use many distance sensors HC-SR04 using less pins possible of a Pi Zero W. I was able to do a test program in python3 with one sensor connected using gpiozero library and it ...
1
vote
1answer
42 views

Air pressure transducer to be connected with RPI4

-I just want a recommendation for an analog air pressure transducer with a range from 0-10 bar (to be used in an electro-pneumatic system) to be connected easily with RPI4 (compatible with RPI4) and ...
0
votes
0answers
29 views

Problem with sequencing 2 proximity sensors using Raspberry PI and Python

I am trying my first (self-written) attempt at using a Raspberry pi for an electronics project and I thought it would be simple with all the great help that people generously put on-line. I am ...
0
votes
1answer
20 views

Power Monitoring Physics Experiment

Hi i am just planning a Physics experiment where i accelerate Ionized Gases onto a target sample. For this Experiment i need to monitor the power constantly over a week or longer. For my later data ...
1
vote
1answer
214 views

How can Rpi4B use python to talk to the I2C DHT20 / SHT20 temperature and humidity sensor?

I'm trying to use a Raspberry Pi 4 to read an I2C temperature and humidity sensor. The part I'm using is a module from Grove based on the DHT20 sensor. Here's a link to a page about the module: https:/...
-1
votes
1answer
38 views

UART Rx TX pins not reading sensor output RPI3

This is my first pi project so I'm a bit new at this. I'm trying to connect a senseair K-30 CO2 sensor to the pi via the UART gpio pins. This is the sensor I am using: https://www.co2meter.com/...
0
votes
1answer
38 views

My desktop shortcut won´t execute

I created a GUI that tells me the temperature based on the temperature sensor I connected to the raspberry pi, that works fine, but then, I tried to do a desktop shortcut, and when I click on it, the ...
0
votes
0answers
35 views

i2cdetect shows random addresses for VL53L0 device

I plugged the VL53L0 distance sensor to RPi 3B+ onto the I2C pins. Specifically, red to 3v3 Power, white to SDA, blue to SDC, and black to the ground (I left yellow and green unplugged). Now, ...
1
vote
0answers
88 views

Trying to plot the ADC values from the PICO similar to what an oscilloscope displays. Just scrolls to the left right now. Total Python newbie

#!/usr/bin/python #Python 3.7.3 # Attempting to plot the ADC values coming from the PICO # Program contains only necessary lines of code for testing plot routine # The Raspberry PI Pico is connected ...
0
votes
2answers
90 views

Sensor gives different results using GPIO and USB

I have a RPi4B, MH-Z19C CO2 sensor and a UART to USB adapter. When I connect to the sensor using USB I get stable readings: {'co2': 1001, 'temp': 19, 'S': 0, 'U': 0} {'co2': 1006, 'temp': 19, 'S': 0, '...
0
votes
1answer
46 views

PWM input to raspberry pi 4B

I want to read PWM output signal which I got from a sensor. Is there any way to give PWM signals as input to Raspberry pi 4B?
2
votes
1answer
61 views

Misreadings from hall sensor after using a motor controller

I am measuring a hall sensor included in a motor. A Raspberry Pi 3b+ controls a Sabertooth 2x32 motor controller through radio Signal (ppm) and the Sabertooth output is connected to the motor. I get ...
0
votes
0answers
38 views

Measuring GPIO current with INA219

I'd like to build a simple circuit that does the following: controls a RGB LED (RPi 4 has 4 PWM outputs, so I could use 3 of them to control the LED) measures the current draw of each PWM output, ...
0
votes
1answer
92 views

How to print temperature on nextion screen

I am new to the topic of raspberry and sensors, I am doing a project with a raspberry pi 4 and a temperature sensor DS18B20, I created a small project in python to display the temperature in real time....
1
vote
1answer
46 views

Multiple Temp/Humidity Sensors 40 Feet Apart

I’m looking for an IoT setup that will monitor temperature and humidity both inside and outside of a remote building, around 40 feet apart. It looks like a Pi with the Grove Base Hat and the DHT20 ...
-1
votes
1answer
59 views

Magnetometer interference when using sense hat connected via GPIO pins

I am trying to use the magnetometer on the sense hat to act as a compass however I also want to utilise the GPIO pins for other components. I've successfully wired up the sense hat to the GPIO pins on ...
0
votes
0answers
63 views

Unable to detect Capacitive Soil Moisture Sensor on my RPi 4 through ADS1115

My RPi 4 does not read any values in from my capacitive soil moisture sensor. I have a breadboard for the wiring that I will attach a photo of, and I am running a test program (simpletest.py from the ...
2
votes
1answer
609 views

How to connect multiple sensors to an rpi with the I2C?

I'm very new into rpi & sensors. I'd like to connect an BME280 I2C Temperature and Pressure Sensor and a Adafruit STEMMA Soil Sensor - I2C Capacitive Moisture Sensor to my rpi. In the tutorials I ...
0
votes
0answers
56 views

How do I send data from sensors using a Raspberry Pi over WiFi to a webpage?

So far I have the code that reads the distance using the razbery pi sensor, but how can I do the rest? if anyone can help me with a tutorial so I can understand, I'm new and I don't really understand ...
0
votes
1answer
76 views

AS3935 lightning sensor [closed]

. I am trying to get an AS3935 i2c sensor working on Raspberry Pi Zero. I am using code I downloaded from web. #!/usr/bin/env python _AS3935 import RPi_AS3935 import RPi.GPIO as GPIO import time ...
0
votes
1answer
50 views

Incorrect Values from counting rising edges from the B5W-LD0101 particle counter sensor

For a couple of days I've been trying to make this B5W-LD0101 particle sensor work (https://www.digikey.it/it/datasheets/omron-electronics-inc-emc-div/omron-electronics-inc-emc-div-en_b5w-ld0101-1_2). ...
0
votes
2answers
235 views

How to detect low amp AC current with GPIO

There is switch inside a commercial gate operator that I need to monitor with my RasPi. The switch has two ~18 AWG wires, when the switch it closed, it's 50V AC connection. When the switch is open, ...
1
vote
2answers
165 views

SenseAir S8 LP not transmitting data

I bought a SenseAir S8 LP to connect to a Raspberry Pi 2. The specification[1] shows the pins and how I should connect them. I have verified that the pins are connected properly (see image below). As ...
1
vote
0answers
48 views

RFID to Raspberry pins

I am working on a school project and need to connect Rfid RC522 and tuchscreen to raspberry, problem is that tuchscreen is using same GPIO pins as Rfid, I Got suggested connect RFID using I2c And use ...
-2
votes
1answer
64 views

Is there a way to connect a serial cable to my pi while it is connected to my breadboard?

Currently I have my pi connected to my breadboard using a cobbler and breakout cable so I can connect some sensors (DHT22 and BMP280). Is there are way I can also connect my serial cable to it so I ...
1
vote
2answers
207 views

Trying to debug why the magnetic sensor of my MPU9250/6500 Gyroscope Acceleration Magnetic Sensor won't connect via I2C but all the other sensors will

I am trying to debug why the magnetic sensor of my MPU9250/6500 9-Axis 9 DOF 16 Bit Gyroscope Acceleration Magnetic Sensor IIC/SPI won't connect to my Raspberry Pi 4+, but all the other sensors will. ...
0
votes
1answer
26 views

Raspberry Pi camera - multi tasking possible?

I have set up 2 individual tasks using the NOIR Pi camera and a motion sensor which work successfully in their own right. Using motion to stream a live video to an external ip address a python ...
2
votes
2answers
130 views

PIR Motion sensor detecting without touching

I have setup my raspberry pi and have inserted the correct wires to the motion sensor, i am currently running a a simple script that detects motion however it constantly outputs that it motion is ...
1
vote
1answer
79 views

How to connect multiple sensors to TXD and RXD pins of Raspberry Pi?

I want to connect multiple lidar distance sensors to my Raspberry Pi. (Like the picture below) The lidar distance measurement sensor has 5v, TXD, RXD and GND pins. When I looked, it seemed that the ...
0
votes
0answers
14 views

Read sensor data in node red

I need some help in building a salt water station that will measure temperature, electrical conductivity and dissolved oxygen. These three sensors will be hooked up on a tentacle t3 and on a raspberry ...
0
votes
2answers
310 views

raspberry pi and ultrasonic distance sensor HC-SR04

So I have my raspberry pi, I watched a YouTube tutorial on what to do. I copied absolutely everything but still, it's not working. The wiring is surely correct as it is copied from the video and the ...
0
votes
1answer
25 views

Send data to mosquitto installed on raspberry

I'm really new here and I have a question about the raspberry pi 3b+. I developed a little IoT application. Basically I read values from a sensor and then send them on my broker topic via mosquitto. ...
0
votes
1answer
41 views

Wireless transmission multiple arduinos to raspberry

I am fairly new to this, having worked only a bit with arduinos. I would like to know if it would be possible to connect multiple arduinos to a raspberry, just to transmit a signal. Description: A ...
0
votes
2answers
108 views

How should I interface a solenoid to a RPi GPIO input?

I want to use a Raspberry Pi 4 to turn my existing dumb doorbell into a smart one that can trigger alerts and other home automations. The doorbell is a simple chime, consisting of an electromagnet in ...
0
votes
1answer
27 views

Is the photoresistor, the MCP3008 or something else wrong/damaged? [closed]

I connected a photoresistor to an MCP3008 as described here by replacing the potentiometer by a photoresistor (wiring should be correct). The LED-s work, I tested them separately and also on the board ...
2
votes
0answers
178 views

Raspberry pi 4 doesn't detect i2c devices

I am working on a gas flow sensor SFM4100. It's communcation protocol is i2c. And according to gasses bus adresses are changing. For o2 gas, address is 2. When I connected the all pins according to ...
0
votes
2answers
98 views

Modbus to USB stops working after a few days

I monitor 10 Modbus devices with a Raspberry Pi 3B. Each modbus device sits about 20-30cm from the Pi and sends signal to the Pi through a Modbus RS485 to USB converter, which is shown here: https://...
1
vote
2answers
105 views

Capacitive Sensing on the Raspberry PI without hats

I saw a project on Instructables which made a Arduino Tinfoil Piano. I wish to recreate that using the Raspberry Pi 3b+. The project involves in using the Capacitive Sensor Library in the Arduino, ...
1
vote
1answer
191 views

Using Rpi python and MCP3008 ADC to read flame (RGB) sensor data for FFT analysis

I have an IR pyroelectic flame sensor which detects flames within the 8-10hz of flame flicker. I am new to the ADC world so any help is very appreciated. Documentation: https://pyreos.com/wp-content/...
0
votes
1answer
40 views

Connect Infrared sensor with GPIO

I'm following a tutorial on how to connect an infrared sensor to the raspberry pi to control it with remote control. So far so good, the infrared sensor is working, but now I have to read its output ...
0
votes
2answers
713 views

Raspberry Pi DHT 11 sensor not working.I get None None

Have integrated Raspberry pi4 with a DHT sensor. The data pin is connected to pin GPIO 26 Have tried connecting the VCC to both 3.3V and 5V Have tried with both Adafruit_DHT.DHT11 and Adafruit_DHT....
1
vote
1answer
944 views

Raspberry pi interfacing with AD8232 using python

I have already seen the other post but I want a python code through with I can connect my raspberry pi and ECG sensor ad8232 I am totally new to raspberry pi interfacing so I don't completely ...
0
votes
1answer
378 views

PIR motion sensor HW-416-B does not behave properly. No motion but input is triggered regardless

So, this motion sensor works when it is taped to my desktop computer...but when I move it to the wall, specifically a higher spot on the wall, it just keeps giving back an input signal. So here is a ...

1
2 3 4 5
13