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

0
votes
0answers
18 views

HELP - Python full body detection and license plate detection with night vision

Dear Sirs, This program is coded within Python. I wanted to get my raspberry to be aware of the current time(night or day) and being able to upload a video that is using night vision from the normal ...
2
votes
2answers
45 views

Rasberry PI for a tractor

forgive me as I am only starting out with what Raspberry PI can and can not do, and I am far from a guru in electronics. I want to know- is Raspberry PI shock proof? Can it handle vibrations and ...
1
vote
1answer
14 views

Python picamera exposure_mode night not working

This program is coded within Python. As I wanted to get my raspberry to be aware of the current time(night or day) and being able to upload a video that is using night vision from the normal cam....
1
vote
1answer
41 views

I2C - I need a 1 second delay between sending byte and reading reading data from sensor

I am using an Atlas Scientific I2C sensor and trying to connect it to the Pi. http://www.atlas-scientific.com/_files/_datasheets/_circuit/EC_EZO_Datasheet.pdf Here's the code that I'm running: ...
1
vote
1answer
16 views

GPIO input voltage from sensors - need clarification

I apologize if this has been answered, I couldn't find any definitive answer. I wanted to connect ultrasonic range sensor (based on this tutorial http://www.modmypi.com/blog/hc-sr04-ultrasonic-range-...
0
votes
0answers
10 views

Python scrip for omxplayer with a sensor [closed]

I was wondering if anyone has a python script for linking omxplayer together with a sensor ?
0
votes
0answers
22 views

Consistent False Positives from PIR Sensor

I had a nice setup of a PIR sensor on my Raspbrerry Pi working for about 3 months controlling a light. Recently I had trouble with the light always being on. Checking the logs I noticed that there is ...
2
votes
1answer
30 views

Getting a CO2 sensor for Arduino to talk to Pi

I'm trying to get this CO2 sensor to work with a Pi 3B: http://www.dfrobot.com/index.php?route=product/product&path=36_85&product_id=1023#.V1efIFUrLb0 This seems like it should be simple, ...
-1
votes
0answers
12 views

Raspberry pi 3 location in a set field, no gps [migrated]

I'm developing a project which involves a raspberry pi 3 remote control rover and I need to know the exact location of the raspberry pi rover in a set field. Let's say I have four logs, one in each ...
0
votes
2answers
89 views

Connecting DS18B20 temperature sensor with RJ45 connector?

I have bought DS18B20 with RJ45 port on its end. It is dumb idea to connect it directly to the Ethernet port on the Pi? I did so, tried reading the temperature (http://www.reuk.co.uk/DS18B20-...
1
vote
1answer
28 views

i2c problem - can't talk to i2c Sensor

I have a gas sensor connected to my Raspberry Pi 2 (5V,GND, SDA, SCL) I use the Raspbian OS. I try to communicate with the sensor according to this manual: http://co2meters.com/Documentation/AppNotes/...
1
vote
3answers
60 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 ...
1
vote
2answers
37 views

Detect water level [closed]

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
26 views

Do you know a way to record vibration with a Raspberry? [closed]

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
42 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
43 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
22 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
32 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
23 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
21 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
33 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
47 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 initialized!...
0
votes
0answers
15 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
57 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 receiver/...
0
votes
1answer
50 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 ] = dht(...
0
votes
1answer
45 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
46 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 ...
6
votes
1answer
110 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
51 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
173 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
43 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
164 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
30 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 /home/pi/domoticz/scripts/...
0
votes
1answer
20 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
64 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
115 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
200 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
241 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
40 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
30 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
290 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
69 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 http:/...
0
votes
0answers
40 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
45 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 lexu:~...
0
votes
1answer
40 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
73 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
25 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
79 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 ...