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
-1
votes
0answers
23 views

How accurate is a MPU9250 IMU for direction and velocity measurement?

I'm currently experimenting with a MPU9250 Inertial Measurement Unit (gyroscope, magnetometer & accelerometer) mounted on a three wheeled car chassis, with two motors. I have mounted the MPU on a ...
2
votes
1answer
28 views

Reading Frequencies with Python

hello ladies and gents. your knowledge helped me a lot until now but now i have a question. i want to read out the frequency of a 3.3V squarewave. (The unit i want to readout is a capacitive ...
0
votes
0answers
16 views

Is the SenseHat IMU a valid ground truth measurement?

I have had a SparkFun MPU-9250 IMU featuring the latest 9-axis MEMS sensor from InvenSense with the intention to use it on an autonomous robotic car. However, I'm getting unusual readings from it. I'...
1
vote
2answers
44 views

Rpi Controlling MPU9250 Accelerometer 20 Metres Away

I am doing a project which require an mpu9250 accelerometer to be connected to a Raspberry pi. Both are kept at a distance of 20m apart. What is the easiest way of data transfer without losses?
2
votes
0answers
18 views

Using GPIO on the Bitwizard DMX hat board

I have a rpi 4, with a relays board on top of it, and a Bitwizard DMX hat board on top of that. The Bitwzard board doesn't have a male header on the top, so I am unable to connect my sensors. It was ...
1
vote
0answers
32 views

Grove - IMU 9DOF v2.0 with Raspberry Pi for calculating position, compass values

I am using Grove - IMU 9DOF v2.0 with Raspberry Pi to calculate the linear displacement, compass values. I followed the code given in this GitHub URL. While running the read9Axis.py code (which is ...
3
votes
1answer
40 views

ds18b20 + USB serial adapter

I have this "QinHeng Electronics HL-340 USB-Serial adapter" and a couple of DS18B20 temperature/humidity sensor but I can't get to read data using digitemp. Also tried with this #include <stdio.h&...
1
vote
0answers
37 views

Rpi AdaFruit python library controlling SPI MCP3008 of eTape Liquid Level Sensor problem

I have a rpi4 and have successfully replicated the project listed here using the eTape sensor (etape tutorial) I am satisfied with the performance using long breadboard and T-cobbler. In order to make ...
5
votes
2answers
519 views

ESP 8266 and Raspberry Pi communication without an Internet connection

I am currently working on a project which uses an ESP8266, accelerometer sensor and Raspberry Pi 4. The ESP module has to send the accelerometer data to the Raspberry Pi and the data has to be stored ...
2
votes
0answers
30 views

Measuring temperature at a distance with an infrared sensor - Missing lens?

Not sure if this is the ideal stackexchange for this question but I didn't know which other one it should be. I am trying to measure temperature at a distance via an infrared sensor with a Raspberry ...
1
vote
1answer
114 views

I try to read analog signal with “AD8232” but it suddenly stopped working

My setup is: "Raspberry Pi Zero W" + "MCP3008" + "AD8232" (https://learn.sparkfun.com/tutorials/ad8232-heart-rate-monitor-hookup-guide/all). A few days ago I was able to read ECG signal and print ...
0
votes
1answer
28 views

Does HC-SR501 detect motion of objects (non-living things)

I've 20 years of programming experience but not hardware involved and planning to start with raspberry pi just for fun. Willing to do some testings with motion sensors and stepper motors. I've ...
1
vote
2answers
76 views

Use HC-SR04 Distance Sensor and Relay to trigger the Water Pump - Need help with triggering the pump

I am trying to trigger/stop a water pump with the use of a 4-channel relay and a UC-SR04 distance sensor. I tried with some codes but I think I am missing something because although there was no error ...
2
votes
1answer
48 views

How to manually control a shake activated lamp using raspberry pi?

I got this cool potion lamp for Christmas though it’s only shake activated (more like you have to tap on it really hard) and I was wondering if there was any possible way I could connect my raspberry ...
0
votes
0answers
30 views

TFMini Plus frame rate

I'm trying to make a python script to read a TFMini Lidar module, and I would like to make the readings less frequent. For that I would need to decrease the frequency. I've been reading the TFMini ...
1
vote
0answers
19 views

Infrared Camera Project: Is the following possible?

first post here/new raspberry pi user. I'd like to use the raspberry pi with the FLIR infrared camera in order to create a display-less security camera that will set a wireless alarm if a temperature ...
2
votes
1answer
86 views

5v/12v power source/submersible water pump/RPI/relay. What kind of combination is suitable?

I am using a 12v DC water pump with a 20 l/min flow rate, a raspberry pi 3B and a distance sensor. I would like to use a relay and an external power supply to control turning on/off the water pump. so ...
1
vote
0answers
33 views

“Attribute Error”- How to display data from distance sensor on lcd display?

I am trying to incorporate LCD display features with the codes that are already written for the sensor. "lcddriver.py" is in "lcd". "distance.py" contains codes for my distance sensor. This is the ...
-1
votes
1answer
49 views

Distance sensor with 16x2 lcd display- ImportError: cannot import name lcddriver

Happy new year. I am working on a personal project which involves a distance sensor and a LCD display. The distance sensor's data should ideally be displayed on the 16x2 LCD display. The codes for the ...
2
votes
0answers
79 views

Interpreting voltage output on ADC with rated AC current sensor

I know I have asked similar questions before, but I have switched sensors and encountered interesting results that I do not understand. Purpose: I intend to use an AC current sensor to measure ...
3
votes
2answers
106 views

Adjust display brightness to ambient light

Warning: I'm completely new to Raspberry Pi, and not even sure if it's the right solution here. I'm trying to make a better digital picture frame. Got almost all the way there by just buying a nice ...
0
votes
1answer
114 views

Is it possible to use the Playstation 4 camera on Raspberry Pi?

I want to use a stereo/depth camera with my RPi 4. The Playstation 4 camera appears to be a stereo camera, and is significantly cheaper at $40 (on amazon) than any others like Intel RealSense, Mynt ...
0
votes
0answers
32 views

Does Raspberry Pi 3 B+ support the RGB-D Sensor?

Currently I am using Pi Camera which capture the image. But my objective is : To find the nearest object from the camera image. But Image Contains multiple objects shown below RGB-D can capture ...
2
votes
0answers
45 views

Unable to intercept the code of my remote control at 433 MHz with RaspberryPi

I'm trying to reproduce the code generated by my universal 4-channel radio control with RaspberryPI. I cloned my remote with a universal remote like this: I used the libraries included in 433Utils ...
0
votes
0answers
37 views

MMA845X Accelerometer outputs the same values constantly

This is my code: import time import Adafruit_GPIO.I2C as Adafruit_I2C import struct from math import * # Registers OUT_X_MSB = 0x01 CTRL_REG1 = 0x2A XYZ_DATA_CFG = 0x0E i2c = Adafruit_I2C.Device(...
1
vote
1answer
260 views

Is there an easy way to share the power and I2C GPIO pins between multiple sensors without soldering?

I'm trying to connect multiple sensors to the Power and I2C pins of the GPIO header of a Pi 3B, but I can't find an easy way to do it using the standard plug-in jumper cables that are often used for ...
2
votes
0answers
33 views

Confused hooking up PIR sensor and programming [closed]

I'm brand new to coding and new to Raspberry Pi. Appreciate any help, I've tried to look up various ways on doing this. I was able to put
0
votes
0answers
33 views

monitor air quality

I would like to build a device to monitor few chemicals (CO, NH3, H2S) and particulate (PM2.5 and 10) in the air. I have been looking online for related sensors and I found that the MQ-X series (CO=...
0
votes
2answers
259 views

I2C MPU9250 Gyro/Accelero/Magneto 9-DOF Sensor MicroPython Programming Problem

so I've recently set up my raspberry pi. Am following a tutorial for the MPU9250, from https://github.com/tuupola/micropython-mpu9250. I have did a install of the micropython-mpu9250, and tried the ...
1
vote
1answer
42 views

Print the amount of vibration on the screen in C

I am able to detect a vibration when I am using 801s vibration sensor module sensor How to measure and print the amount of vibration level on the screen in C? I am checking now only state: HIGH and ...
0
votes
2answers
145 views

How can Rpi3B+ read the output of the 801s vibration sensor module?

Currently I'm trying to do a project using rpi 3b+ with 801s vibration sensor using this tutorial https://github.com/Shmoopty/rpi-appliance-monitor#notification-settings I'm beginner with rpi and ...
0
votes
1answer
294 views

Connecting multiple sensors to Raspberry Pi 4 B

I have a Raspberry Pi Project in mind but I'm completely new to this matter and have literally no idea. My plan is to create a transportable Weather Station (which includes a temperature sensor, air ...
1
vote
1answer
89 views

DHT11 Temprature sensor makes raspberry pi go crazy!

I am trying to use the DHT11 sensor temprature and humidity sensor with my Raspberry Pi 4B. When I connect the sensor with my Raspberry Pi and turn it on, the red LED on it starts blinking and it can'...
-1
votes
1answer
299 views

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?
3
votes
1answer
79 views

Pi locking up trying to use rising/falling edge detection

I have a B+ v1.2, with a motor controller and 2 quadrature encoders setup. It's running Arch: 4.19.69-2-ARCH armv6l. It's completely locking up, requiring a plug-pull when either of the encoders ...
0
votes
2answers
202 views

MCP3008 with photoresistor, analog to digital, noisy readings

I am trying to read values from a photoresistor. I would like to be able to read the 'level' of light, not just a binary signal. So I bought an MCP 3008 analog to digital converter, but I am running ...
0
votes
0answers
32 views

How can we acquire an analog signal having both positive and negative parts , i.e. a bipolar signal, using Raspberry pi3 B+ module?

I am using raspberry pi 3 B+ board. I have to acquire analog voltage signal having both positive and negative parts, i.e. a bipolar signal How can i acquire this signal with the R-pi? I have tried ...
1
vote
1answer
105 views

DS18B20 Temperature Sensor RJ-x

I am looking to create a complete temperature humidity sensor system with 72 DS18B20 sensors. I am aware that each sensor receives it's own unique identifier and you are able to daisy chain them ...
0
votes
1answer
258 views

Reading analog value Raspberry Pi

I am a newbie with the Raspberry Pi. I want to measure Temperature Reading in 12/16 bit resolution. can someone guide me how CKT should be designed and How can read value using software. usually ...
0
votes
0answers
44 views

HC-SR04 Ultrasonic Rangefinder readings are off by a large margin

I'm making a robot that should avoid obstacles and im using a HC-SR04 to measure distances. My problem is that my readings are off by a large margin. when there is no obstacle in the way I get a ...
1
vote
1answer
36 views

What is the hottest part, under light load?

For a hobbyist weather station project I am going to use a Raspberry Pi and a Si7021 temperature/humidity sensor. If possible, I want to use one of the available casings, and enclose my Pi and the ...
2
votes
1answer
68 views

Reading more than 8 bits from an SI7021 sensor

I am using the Si7021-A20 sensor on a Raspberry Pi Zero WH (headless, controlled via ssh and VNC). I want to get readings using Python (version 3). However, I have a very hard time to actually get ...
2
votes
1answer
120 views

1-wire device not detected

I'm having trouble getting a 1-wire sensor to be detected on my Raspberry Pi Model 3 B+. The sensor is this temperature and humidity sensor. I have wired the red wire to 3.3V, the black wire to ...
2
votes
0answers
28 views

Pin Crosstalk Issue [closed]

I'm working on a quick project with my dad for his condo. He wanted to setup a bunch of moisture sensors around the condo near sources of water (sinks, bathtubs, toilets, etc), which, if triggered, ...
1
vote
1answer
42 views

Connect 2 SHT25 to measure 2 sets of temperature and humidity at 2 different sites

I want to connect 2 SHT25 to measure 2 sets of temperature and humidity at 2 different sites . How should I connect it to Raspberry Pi 3. Thanks for your help
0
votes
1answer
255 views

Multiples i2c devices with the same address

I am trying to find the simplest way to connect multiple 15 IMU sensors (ICM-20948) to a wearable suit.The thing is that they all have fixed addresses. The solutions I found so far are: Using a ...
1
vote
0answers
181 views

raspberry pi3 + fingerprint

I'm looking for a way to connect fingerprint scanner with raspberry pi3 using python. I'd like to use only gpio or hat (not usb) interface. I'm searching for a while without figured out, so I've ...
1
vote
2answers
50 views

Setup requirements for multiple i2c sensors

I'm building a project that requires a pi to query multiple 9-DoF IMUs through I2C ( ideally up to 100, but 16 should be enough for the start). I'm wondering if this is even possible and what kind of ...
1
vote
1answer
76 views

Reading Bytestream from GPIO / External Interrupt and CLK

So I have an external master device which bangs out a byte stream (DOUT), it indicates the upcoming stream on an DRDY. The timings are given from the master on an DCLK line. These three lines (DRDY, ...
1
vote
1answer
51 views

Why Raspberry Pi Zero W is missing to log data constantly every second?

I'm doing a project where I want to record IMU (Inertial Measurement Unit) readings. I want to use pretty high sampling frequency and I'm using Raspberry Pi Zero W to send PWM signal of 800Hz to ...

1 2 3 4 5 11