Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
1answer
34 views

Raspberry Pi not detecting MPU6050 with i2cdetect

I am trying to connect my GY-521 MPU6050 to my Raspberry Pi Zero W using I2C detect but I'm unable to find the MPU6050 on the table. The results using i2cdetect: pi@raspberrypi:~ $ sudo i2cdetect -...
0
votes
0answers
4 views

Sending Sensor readings from Raspberry pi 3 to Android App using wan/localhost connection

I'm a 5th year Computer Engineering student. We're creating an application that will monitor the position of the baby. We use Raspberry pi 3 because we will also use a Picam. But I already got the ...
1
vote
1answer
32 views

Really strange but with RTIMULib2, why does it not work in a class?

I'm doing a project with an accelerometer/gyrometer combo and I'm using the great RTIMULib2 library. I know installing it and getting it to even work at all is a common challenge, but I've gotten it ...
0
votes
1answer
26 views

How to dynamically determine objects based on some uniqueness?

As the title states I looking for a way to (detect and then) determine a object within some range. The object will be forklift or "train" in the factory. Main goal is to provide some GUI from which it'...
0
votes
0answers
25 views

Setting low-pass filter on MPU6050 sensor?

I'm trying to collect data from a MPU-6050 sensor using a Raspberry Pi 2 Model B+. I'm using this Python library to collect the accelerometer readings. From what I can tell from reading the source ...
0
votes
0answers
14 views

read data of water level sensor connected to USB port of Raspberry Pi3

How to I do communicate and get data of water level sensor using USB port of raspberry pi3? The sensor has RS232 port for communication. I have USB to RS232 Adapter connected to USB port of Raspberry ...
0
votes
3answers
31 views

Raspberry pi weather station dampness [duplicate]

I am setting up a rpi weather station with several rpi 0's (one for each sensor) and a main rpi 2 (for the data collection and storage). Does anyone have any ideas on how I can go about damp proofing ...
0
votes
0answers
23 views

HX711 load cell into the Raspberry

Does someone know whether its possible co connect multiple load cells to a Raspberry Pi and how can I find more info how to do this? In my research I have an object that weighs approximately 10Kg. ...
2
votes
2answers
38 views

Scaling of digital reading of pressure sensor

I have purchased one of these and I've connected it to a pressure sensor. I now need to convert the digital values to pressure. However, my maths is all forgotten. Can anyone help me out? The ...
0
votes
0answers
13 views

Raspberry Pi Reading Multiple RFID Frequencies

Does anyone have any knowledge of RFID attachments or sensors for the Raspberry Pi which are able to read or write multiple frequencies and protocols? Like a one-size-fits-most approach? I have a few ...
0
votes
0answers
19 views

control raspberry pi across wan using Android app

I want to monitor some dry contract sensors attached to gpio of a raspberry pi. For this I want to create an Android app in which i can setup gpio for eg(gpio-1=doorsensor). Once the gpio is setup I ...
0
votes
1answer
70 views

How to implement properly the iot garbage management using sensors and esp8266 to mobile application

My question: I don't know how to connect ULTRASONIC SENSOR(hc-sr04) which is for getting the fill level of garbage and DHT11 for temperature and humidity to connect both in a ESP8266 to mobile ...
0
votes
2answers
43 views

Arduino sensors without board directly on Raspberry Pi

I'm a beginner, just so you know. Okay, I've a Arduino IR Infrared sensor right next to me, some jumper cables and a Raspberry Pi. My question is: Do i need an Arduino board to hook the sensor up to ...
1
vote
2answers
47 views

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 ...
0
votes
1answer
36 views

Will Running Headless Improve Baud Rate?

I am trying to poll data from an I2C device on a Raspberry Pi. Currently it is hooked up to a 7" touch screen, and I am getting an error that seems to be due to a clock-stretching bug. (https://...
0
votes
0answers
18 views

Raspberry Pi 2 has started crashing

I have a Raspberry Pi 2 that has a temperature/pressure/humidity sensor. I've been following along with the build your own weather station project. I don't have the rain or wind sensors up yet, just ...
2
votes
3answers
57 views

Connecting multiple load cells Pi Zero W to read individual values

I have a project in mind where I want to measure the weight and position of an item on a shelf. The idea was to mount the shelf on a load cell in each end and then get the weight and ratio between ...
2
votes
2answers
215 views

Powering a sensor using an external power supply board

In my Raspberry Pi project, I need to measure a distance. To do that, I have an ultrasound sensor called "AJ-SR04M" (it is basically a waterproof HC-SR04 I believe). Characteristics of the AJ-SR04M: ...
0
votes
0answers
26 views

DHT11 problem in kernel module

I think that is not a faulty device but, instead, kernel problem. If my CPU is too busy the frequency of messages below come up. I'm using the dht11 dtoverlay with Debian Stretch. dmesg output (...
0
votes
1answer
19 views

Multiple TTL sensors on serial RX GPIO 10

Is it possible to read more than one TTL sensor on serial RX GPIO 10? I know you can add multiple serial sensors on /dev/ttyUSBx Does the same apply to /dev/ttyAMAx ?
1
vote
2answers
89 views

Interfacing Arduino with Raspberry Pi [closed]

Can we interface Arduino with Raspberry Pi? I need to interface 16 pressure sensors with Arduino. And get the reading through to Raspberry Pi using serial port communication. Is that possible?
0
votes
2answers
116 views

Small wireless temperature sensor recommendation [closed]

I am working on a human-care project using RPi. The second phase of project is in progress, and I need small wireless temperature sensor to be able to place on a human body. I've searched the internet,...
0
votes
0answers
16 views

Rpi stops giving encoder data

I am again reposting my question. I am working on a hobby project and I have written the code to take encoder data and calculate the motor RPM which works fine. But sometimes it is very strange that ...
0
votes
1answer
30 views

Node.js packages reading moisture sensor: State never changes

I've written similar code in python that works as expected. Using one of these moisture sensors: https://www.amazon.com/dp/B00ZR3B60I The following code always prints "true" const rpio = require('...
0
votes
1answer
43 views

Cannot enable I2C

I am following this tutorial here to connect my CCS811 sensor with my Raspberry Pi 3 Model B+. They ask you to enable I2C after running sudo raspi-config and going into the Advanced Options. However, ...
0
votes
1answer
85 views

Raspberry Pi GPIO & Analog Sensors

I am fairly new to Raspberry and Coding/electro-engineering in general but wanna get it done anyways. I've some questions regarding reading data from analog sensors. Background: I got an AD/DA-high-...
0
votes
1answer
54 views

Using Serial to Read Ultrasonic Sensor?

I have an HRLV-EZ4 ultrasonic sensor hooked up to my RPi 3 B+ like so: Serial output --> pi RX (pin 10) V+ --> pi 5V GND --> pi GND I've already gotten it to work with an analog voltage output and ...
0
votes
0answers
31 views

LIS3DSH Accelerometer attached to Raspberry - Problem to read registers SPI

I have an LIS3DSH Accelerometer (Accel 2 click from Mikroe) attached via SPI pins to my Raspberry Pi. I use the following Python script to collect data: import spidev import wiringpi as pi from time ...
0
votes
1answer
13 views

At what instances do we use the Board mode and BCN mode in Raspberry Pi?

I know about the two modes of working in Pi using python, Board and BCN. However, I am really confused as to the instances or situations where I should use them. An example demonstrating their use ...
0
votes
0answers
95 views

Issue with FC-51 IR sensor

I am developing a robot with raspberry pi. To detect obstacles I am using FC-51 IR sensor. This is my current code. import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BOARD) ObstaclePin = 18 ...
0
votes
2answers
125 views

Incorrect Encoder tick counts using Raspberry Pi

Hi I have a DC motor with encoder which has a PPR count of 990 (No load RPM = 107). However, I tried to read the number of ticks (on a Raspberry Pi 3B) by rotating the wheel 1 turn and I get a PPR ...
0
votes
1answer
73 views

How to connect more I2C sensors on top of a RPI shield

I'm struggling with a problem, how to connect more sensors on top of this raspberry shield => https://sixfab.com/product/raspberry-pi-nb-iot-shield/ The shields schematic can be found here and it ...
0
votes
1answer
20 views

Passing data from output of a function to be used in a function python

I have a few parts of a weather station together and am running into an issue with functions. the humair fuction returns two values hum and airtemp. The problem is when the sendpost function runs it ...
1
vote
2answers
236 views

Cannot Detect LIDAR Lite v3 Raspberry Pi 3B+

I am trying to connect my Garmin LIDAR Lite v3 sensor to my Raspberry Pi 3B+ via i2c interface. However i2cdetect on the command line returns dashes for every address. I'll try my best to clearly ...
0
votes
4answers
135 views

Weather proofing a Pi

I'm looking to deploy several copies of the Enviro hat around my garden to monitor temperature and light levels to study the optimal spots to plant new plants. How might I weatherproof the Pis without ...
-1
votes
2answers
46 views

How to use sensors which are not at close distance with the Raspberry Pi using line wires? [closed]

If my sensor is outside my house and I want to keep my Raspberry Pi inside the house, how do I connect them? If it is near the sensor I can connect them using jumper wires, but how to connect them ...
0
votes
1answer
87 views

Need assistance hooking up Sharp GP2Y0A41SK0F IR sensor

So I have this... Infrared Proximity Sensor Short Range - Sharp GP2Y0A41SK0F & 1 MCP3002. I have been scouring the web for hours, trying all code examples and I still get 0 as a reading no matter ...
1
vote
1answer
98 views

Correct wiring for multiple analogue sensors?

I’ve recently embarked upon a project that I’ve wanted to do for a while. My overall plan is to have 3 planting shelves; each will have its own soil moisture sensor, water pipe and LED lighting. The ...
0
votes
0answers
25 views

HC-SR501 Not working as expected

No matter what I do, I get tons of 'false positives'. Occasionally the thing settles down, but it seems the majority of time it's: registering some kind of movement for about 3 seconds waiting ...
0
votes
0answers
7 views

How many DS18B20 sensors can RaspberryPi3 GPIO4 can handle? [duplicate]

Are there any limits for handling sensors over GPIO4 ? If yes, how many DS18B20 sensors can RaspberryPi3 GPIO4 handle?
-1
votes
1answer
89 views

Force Sensing Resistor with Raspberry Pi

I have a school project where I have to make a car park with a fully functional parking lot checking system. The FSRs job is to detect any weight and send a signal to the raspberry pi that the ...
0
votes
1answer
72 views

How to Send Data From Pulse Sensor Wirelessly to GPIO Pins?

I am following this tutorial: https://tutorials-raspberrypi.com/raspberry-pi-heartbeat-pulse-measuring/. But I would like to implement the sensor in a watch. Is there an accessory that can fit in my ...
1
vote
0answers
37 views

GPIO commands for contact sensor circuit

I have a simple circuit that goes to a garage door contact sensor then to a resistor then to an LED to show if the circuit is open or closed. I've confirmed that my wiring works with a power source - ...
0
votes
0answers
16 views

Turn on WittyPi via ligth

I want to use my Pi outdoors for measurement. I measure the temperature and some other things periodically via the wittyPi. But I also want to make the wittyPi turn on when light hits a solar panel ...
0
votes
1answer
65 views

How can I receive sensor data from my raspberry pi when it is far away from any wifi?

Let's say I want to use a raspberry pi for a research project. The raspberry pi would be placed in a secure case(power has been taken care of and is not an issue). However, it will be in the middle of ...
1
vote
0answers
56 views

Raspberry Pi external power supply for sensors

I am working on a project that involves a Raspberry Pi 3B+ and multiple sensors (temp/humid DHT22, pH probe and EC probe from atlas scientific, cameras....). I am trying to figure out how to power my ...
0
votes
1answer
27 views

Raspberry Pi3 using different ground pins for multi ldr toy car

I am working on a toy car which is following the "light" and I am totally new at raspberry pi and circuits. In this video, he is using 1 ldr. I need 3-4 ldr to turn the car to left or right. (I am ...
0
votes
0answers
14 views

Motion Sensor + Smart Phone App (cost and skill level needed)

I've no experience with RaspPi, minor experience with electronics, moderately good at coding (web designer) and I'd like to build a hand-eye coordination training device. My basic question is what ...
0
votes
1answer
335 views

Accurate water level

I am creating a self watering indoor garden with a Raspberry Pi 3 B+, but for the way I'm building it, I need an accurate level detection. The water will be fed into this container, and then this pump ...
3
votes
1answer
69 views

My PIR sensor seems alittle keen to sense things

Before you tell me answers for my issue already exist I'd like to mention that I have checked previous answers and where similar issues have occurred I have tried to use their approved answer. So far ...