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

learn more… | top users | synonyms

1
vote
3answers
41 views

Raspberry Pi sensor

Hey I am reading the temperature of a sensor called 'DS18b20' and in the path /sys/bus/devices/[hardwareIDofTheSensor]/w1_slave, I can read the sensor. Now I have following question, what does this ...
0
votes
0answers
36 views

No dhtreader in java.library.path [on hold]

EDIT: Because it's off-topic in this StackExchange i have asked the same question in Stackoverflow here. Complete solution at the bottom! I try to get this projekt to run but the DHT11 sensor ...
-3
votes
0answers
16 views

Which sensor do I need to detect a human being on a forrest? [on hold]

question is simple: I am building a drone that should be able to detect a lost kid on the forrest, I guess I cant use a single motion detector because out there everything is moving with the wind. So ...
1
vote
1answer
22 views

Detect water level

I am currently tracking water level in a container that will start a pump when it gets high. To do this I use 3 wires one tapes to the bottom as a power wire and the other two taped to the wall at ...
0
votes
1answer
23 views

Do you know a way to record vibration with a Raspberry?

I study mechanical vibration, for my Ph.D. And in few months, I have the possibility the present an installation, which show my work. I would like to create something interactive which record the ...
0
votes
1answer
26 views

Interfacing PIR motion sensor with Raspberry Pi

I was trying to write a simple Python to detect the motion sensor output and print a message on the screen. My connection was like below: Raspberry Pi model B+ VCC of sensor: 5V (Pin 2) of Pi GND ...
1
vote
1answer
34 views

TypeError: not all arguments converted during string formatting Raspberry Pi

This program is pretty simple. Whenever a user waves both hands across 2 PIR sensors, it should print out a message in console that displays which GPIO ports has being activated. The raspberry pi uses ...
0
votes
1answer
18 views

SyntaxError: can't assign to operator

I'm having trouble programming the logic of 2 PIR sensors to print a message in console whenever a user place both hands on the PIR sensors.I have managed to successfully attach the PIR sensors to the ...
0
votes
1answer
23 views

Configure 2 PIR sensors to activate

I'm having trouble programming the logic of 2 PIR sensors to print a message in console whenever a user wave their hands on the PIR sensors. I have been able to make 1 of the PIR sensors work which is ...
0
votes
1answer
17 views

Using RPI2 model B to read multiple IMU units

I have 3 IMU units "mpu-6050" and I want to read all three in real time. The IMU's communication protocol is I2C. As I noticed the model b has two I2C options : I2C0, I2C1. Does RPI2 can read ...
0
votes
0answers
18 views

Pull-up Resistor location on long wire

The DHT22/AM2302 sensors require a pull-up resistor on the data line. Does it make any difference if the resistor is at the end of the wire (for instance on a 6 meter cable) at the sensor vs. at the ...
0
votes
1answer
29 views

Python Raspberry Pi Adding Functions

I have the below code for when motion is detected i call the camera and email functions. I tried adding the functions after printing Motion Detected but didnt work. Can someone help me where to add ...
0
votes
0answers
16 views

Facing issue while initializing Finger Print Sensor

I'm using bastianraschke/pyfingerprint package for Fingerprint Scanner (R305) with Pi 2. But when I try to enroll a new finger, it gives me this error: The fingerprint sensor could not be ...
0
votes
0answers
7 views

How to adjust sensitivity of Grove PIR module?

I am planning to implement a Motion detection system with PIR sensor of GrovePi+. However I do not know how to adjust the range and sensitivity. Can anyone please elaborate how it's done?
0
votes
1answer
47 views

Unable to receive anything with 433 mhz receiver connected to Pi 2 or Pi 3

I'm trying to remote control some power outlets with my Raspberry Pi and I'm following the tutorial from this page. However, I have been unable to get any output from RF sniffer, I have 3 RF ...
0
votes
1answer
34 views

How to get the accurate temperature readings from DHT11 sensor on GrovePi+?

I am using DHT11 and GrovePi+ shield with Pi 2 running Raspbian Jessie. The following is the function call for the sensor to fetch current humidity and temperature [ temp,hum ] = ...
0
votes
1answer
30 views

Problem with MQ2 Smoke Sensor

I am currently doing a Smoke Alarm System project using Python 3 and a Raspberry Pi. At the moment I am testing the MQ2 Smoke Sensor Code but when running it the smoke level always remains 0. With ...
0
votes
0answers
42 views

Basketball sensor. avoid using time.sleep()

I am sorry for my bad English and i hope you guys understand what I'm saying. I am new to RPi and python and i would like some help to fix my code. I am creating a program that count basketball goals ...
5
votes
1answer
101 views

How does RPi “know” when it hasn't got enough power

When running X and when it's not content that it can draw enough power from the adapter, my RPi displays an RGB colour square on the screen. (At least, I THINK that's what the RGB colour square ...
0
votes
0answers
42 views

How to use JSN-SR04

Is anyone using this sensor with a raspberry pi that can help me with mine.. I received this sensor 2 days ago but can not put it to work. When I connect 5 volts even without trigger and Eco it stars ...
0
votes
3answers
109 views

Python code for SW-420 vibration sensor [closed]

I bought an SW-420 vibration sensor. So, I want to make a sensor for touch and vibration detection. This is my first Raspberry Pi project. I was googling for open source Python code but couldn't ...
0
votes
1answer
38 views

How to connect 4 PIR Sensors to a Raspberry Pi?

I'm having trouble connecting 4 PIR sensors to a Raspberry Pi B+. I have managed to connect 2 PIR sensors to the Raspberry Pi but can't figure out how to connect 4 of them because there isn't enough ...
0
votes
4answers
105 views

How to send temperature and humidity sensor data from a raspberry pi to a pc wirelessly?

I am a total newbie in this Raspberry Pi thing. I am also not familiar with python. I have an academic project requires me to record temperature and humidity from a sensor and send the data through ...
0
votes
1answer
25 views

can't work xx.py using crontab

I can send the value to domoticz but the problem is that it just changed when I use the command sudo python distance.py I have added * * * * * /usr/bin/python ...
0
votes
1answer
17 views

Can I use a SMPS for powering pi and sensors connected to it [duplicate]

BME280, BMA180 and BMP180 are the sensors that I am going to connect with pi via I2C. Can I use SMPS for powering both pi and sensors (as a common power source). If yes, how can it be done? voltage ...
1
vote
1answer
59 views

Is there a breathing sensor for the Pi?

I'm searching for a small breath sensor that can be plugged in on Raspberry. Just detecting inhaling and exhaling, how many times you inhale per minute. Is there such thing? I searched and searched ...
1
vote
1answer
81 views

PIR Sensor Consistent False Positives

So, I'm trying to set up my raspberry pi to take input from a PIR sensor in order to automatically turn on a monitor when it detects motion. If no motion has been detected in 60 seconds, the monitor ...
1
vote
0answers
120 views

Why does the Sense Hat / Astro Pi show the wrong temperature and humidity?

I recently bought the sense-hat, previously called astro-pi. Unfortunately the temperature shows 28 to 31 degrees Celsius from both temperature sensors on the board. They often show around 30 degrees ...
3
votes
3answers
221 views

I want to use a common power supply to pi and sensors BME280 and BMA180 (sensor modules). Is it possible?

How can I accommodate between the difference in voltage and current levels with a single power source?
0
votes
1answer
37 views

Finding /dev Mount Point for Sensor

I am trying to connect to an Airmar 200WX and not having much luck finding the /dev mount point of the sensor. I have the sensor plugged in on boot and dmesg displays the following: [ 1.150836] ...
0
votes
0answers
31 views

wireless sensor network formation using different wireless technologies

I am working on setting up a wsn network using different wireless technologies i.e wifi,bluetooth,zigbee etc.Now the normal way to communicate with each of these is to use a coordinator node as with a ...
0
votes
0answers
27 views

PiTFT and One-Wire for temperature measuring not working together

as the title says it already: I'm trying to use a Capacitive PiTFT Touchscreen with a DS18B20 temperature sensor. I have tested both separately and they are working. But not together. My config.txt ...
0
votes
0answers
227 views

Raspberry Pi 2 B HX711 Load Cell Amp Issue

I am working with a Raspberry Pi 2 B. I am trying to get load readings from a load cell like (uxcell Electronic Balance Weighing Load Cell Sensor) through a HX711 load cell amplifier (following a ...
0
votes
0answers
59 views

How to Program for an Atlas Scientific Temperature and pH probe

I bought some part from Atlas Scientific for my thesis: http://www.atlas-scientific.com/product_pages/probes/ph_probe.html? http://www.atlas-scientific.com/product_pages/probes/env-tmp-d.html ...
0
votes
0answers
38 views

Does a USB reed switch exist?

Thinking on building something to warn me when we forgot to lift the baby's crib gate. But I'm not interested in building the electronics to hook the switch to the RasPi, so wondering if there's ...
0
votes
1answer
39 views

sense hat sample “snake” returns “event device not found” error

My "sense hat" sits ontop of a raspberry pi 3. I've completed the installation instructions found at https://www.raspberrypi.org/documentation/hardware/sense-hat/ lexu:~> sudo apt-get update ...
0
votes
1answer
37 views

Connecting Airmar 200WX to Raspberry Pi

My lab team and I recently purchased an Airmar 200WX and I have been struggling to get it working on the Raspberry Pi. The Airmar comes with its own proprietary software that runs on Windows. We ...
-1
votes
1answer
70 views

how to measure length [closed]

I want to measure the number of meters of running cloth off of a fabric roll. So that when I press a button a motor spins a roll of cloth and the fabric is rolled onto a separate roll. I want to be ...
0
votes
0answers
24 views

How can I remove a one wire temperature sensor [duplicate]

I've just connected several waterproof DS18B20 sensors to my Raspberry Pi B+ V1.2 running Jessie Lite. I get the list of sensors attached by ls /sys/bus/w1/devices and I can see all the devices. ...
1
vote
1answer
72 views

Why are one wire temperature sensor readings so slow?

I've just connected several waterproof DS18B20 sensors to my Raspberry Pi B+ V1.2 running Jessie Lite. Working on the command line, why does it take so long to display the contents of the sensor's ...
0
votes
0answers
74 views

How to Get Value From Sensor Displayed In WebPage.

I have a HC-SR04 Sensor . I got the python script from web and it worked. Now I want to execute the script in a php page , So that it reads the file , Catches the value and stores it in a PHP ...
2
votes
0answers
53 views

In-Car Distance Tracker [closed]

I was wondering if there is any way to build a device that I can plug into my car (similar to a car insurance tracker) using a Raspberry Pi. The only capabilities that I need to have is for the ...
0
votes
1answer
39 views

Does ultrasonic sensor HC-SR04 uses PCM or PWM? [closed]

I am working on a project where I am using raspberry pi. I need help on this topic.
0
votes
1answer
55 views

Can't access gpio with sudo, still have Make sure program is run as root with sudo

I want to connect my DHT11 sensor to my Raspberry pi 2 Model B. I am using the adafruit tutorial (https://github.com/adafruit/Adafruit_Python_DHT). I've copied the simpletest.pyand ran it with sudo ...
0
votes
1answer
66 views

java code help for temperature sensor(DHT11)

I've the raspberry pi model b and i am trying to connect a temperature sensor(DHT11). I am facing problem on how to fetch the data from the sensor. I am using JAVA. Which API should i use to get this ...
1
vote
1answer
57 views

What is the best method to convert analog to digital as well as level shift the signal?

Hypothetical Scenario: I want to connect a 5v analog sensor to the Pi. Of course, the Pi's signal processing operates at 3.3v digital. Please assume that both analog-to-digital conversion and ...
0
votes
1answer
55 views

How should I connect a pH electrode to my Raspberry Pi 2?

I am working on a project that involves Raspberry Pi and a pH sensor. I have this pH electrode (image below) and I need to know steps or procedure to make it work. P.S. RPi installed with ...
0
votes
1answer
42 views

NXP XTRINSIC-SENSE-BOARD using C

https://www.element14.com/community/thread/37836/l/reverse-engineered-sensorso-with-source https://github.com/larsch/rpi-mems-sensor Hello Everyone :) I have a raspberry V1 and a NXP senseboard, ...
0
votes
0answers
101 views

Run node.js app at startup

First of all, please, read until the end of the story and believe me that this is not a duplicate question - I've read all the possibilities and all the variations of this kind of issue but I didn't ...
0
votes
0answers
51 views

How to connect 2 TCS34725 sensors

Hi i m trying to build an small vehicle who is able to drive alone but i have a problem. I need mantain my vehicle between 2 white lines. I bought 2 TCS34725, but the problem i need to stop 1 senzor ...