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

massive sensor and switch array? [on hold]

is there any of-the-shelf product that can read the values of a large number of binary sensors (e.g. 100) and set the state of a large number of switches (e.g. 100), or is a custom pi project the only ...
3
votes
1answer
56 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
24 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
43 views

Python code for SW-420 vibration sensor [on hold]

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
21 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
57 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
20 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
13 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 ...
0
votes
1answer
45 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
46 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
32 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
182 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
31 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
24 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
16 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
92 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
37 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
33 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
26 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
28 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
61 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
23 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
60 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
55 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
45 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
26 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
47 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
38 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
54 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
40 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
29 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
74 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
36 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 ...
0
votes
1answer
50 views

HC-SR04 ultrasonic sensor reading becomes highly unusable when PWM is active

Good day I am trying to sample distance using a sonar/ultrasonic sensor for altitude measurement. When the PWM is not active, the sensor gives accurate measurements in centimeters, however with the ...
0
votes
3answers
234 views

Read value from IR break beam

I've been looking at the IR break beam here. and using this Python program: import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(17, GPIO.IN) #I've tried with and without pull up, i.e., ...
0
votes
1answer
23 views

remove Pi hut / adafruit adjustable PIR plastic cover [closed]

I have a PIR but there is this massive plastic cover around the sensor, it's also not verry well connected so it keeps falling off... is it safe to just not use the plastic over? Will be used in a ...
1
vote
0answers
36 views

Ultrasonic Sensor HC-SR04 Lag Problem (20Hz only) in PID control loop

Good day, I am currently working on an autonomous quadcopter project. I am using the HC-SR04 sensor for altitude hold, however in testing the sensor, the maximum data throughput of the sensor is only ...
0
votes
1answer
45 views

How fast can I read two analogue sensors using MCP3008 ADC?

I need to get measurements of voltage and current using two sensors connected through an MCP3008 ADC to the Raspberry Pi. I need to get the voltage and current waveforms simultaneously and compare ...
1
vote
2answers
39 views

MMA845X accelerometer mapped at 1C

I have a MMA845X accelerometer mapped at 1C: 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- 1c -- -- ...
0
votes
2answers
51 views

Ultrasonic sensor code disambiguisation

I took a piece of code from the internet in order to use my ultrasonic sensor. But I don't fully understand it. I understand that the lines: GPIO.output(TRIG, True) time.sleep(0.00001) ...
0
votes
1answer
40 views

Difference between …/thermal_zone0/temp and …/thermal_zone0/subsystem/thermal_zone0/temp?

To read the temperature in Raspbian (and most other systems) you can read the file /sys/class/thermal/thermal_zone0/temp, which will output the temperature in millicelsius, like this: pi@raspberrypi0 ...
0
votes
0answers
32 views

minimal delay on waking monitor via GPIO/HDMI-CEC

I'm planning on creating a "Magic Mirror". I have already got the UI running to my likings and my Pi-zero is on its way. My concern is that having the mirror powered on 24/7, is not really ...
2
votes
5answers
90 views

Which sensor should I use to detect a table tennis ball bounce in a table?

I am trying to create a table tennis statistics controller and I need to detect when a ball bounces on the table. My first idea was to use one piezo sensor in each side of the table, but the setup was ...
0
votes
2answers
78 views

Raspberry Pi - TSL2561 Lightsensor

I have a Raspberry Pi 2+ . Now I want control a light sensor ( TSL2561 ) . I connected it to the following schedule : Where I connect the 3V to the 3V0 (not in the picture) and now to the VIN . ...
1
vote
1answer
70 views

cansend to a CANBus device doesnt work

I am trying to control an Elcon battery charger (http://www.elconchargers.com/catalog/item/7344653/7638003.htm ) which outputs a DC voltage and current and can be set through a CANBus adapter. I ...
2
votes
1answer
82 views

Secugen Hamster Plus Fingerprint Sensor Raspberry Pi Integration

I have a Raspberry Pi and SecuGen Hamster Plus fingerprint sensor. I am trying to get fingerprint inputs from the sensor to Raspberry Pi using the following code. import sys import usb.core import ...
1
vote
0answers
115 views

long distance measuring modules - experiences: ME007-ULS V1

I am searching for a cheap non contact long distance (1 to more than 10 metres) measurement sensor with an accuracy <= 1cm. I'm already using the hc-sr04 ultrasonic in combination with the dht22 ...
2
votes
1answer
289 views

Using SignalR Client in UWP running on Windows IoT

I'm running Windows IoT on a Raspberry Pi. After I turn on my Raspberry Pi and Windows IoT starts up, I want to automatically begin reading sensor data from a serial port continuously, and also send ...
0
votes
1answer
31 views

How to use the Display - O - Tron 3000 with the hc-sr04?

I've got a Pimoroni Display-O-Tron 3000 and a HC - SR04 ultrasonic sensor. I want to use the Display to output the distance that the ultrasonic sensor reads, however, the DOT 3000 uses all the 5v ...
2
votes
0answers
43 views

what is required for automation in plantation? [closed]

What i want to do is when the moisture of the soil gets decreased i just want to give water to the plants or if i can just get a notification about the moisture would be fine. I have very little ...