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

Pi getting data from XinoRF

I'm trying to get the data from a DHT11 sensor connected to the XinoRF board. But it seems I get nothing from the wireless port ttyAMA0, but when I use the USB port ttyACM0, the python program seems ...
0
votes
1answer
34 views

Understanding the library from MCP3002 ADC chip

can somebody explain to me about this mcp3002 library used in analog to digital conversion?? It has some connection to my first question here. # botbook_mcp3002.py - read analog values from mcp3002 # ...
1
vote
1answer
98 views

Problems Regarding Raspberry Pi Project with MQ-2 Gas Sensor

Recently I have been learning Python implementations on Raspberry Pi's GPIO system. I'm interested in wireless sensor network examples and decided to make a fire alarm system using MQ-2 sensor as the ...
0
votes
2answers
40 views

Soil hygrometer without adc

I want to measure soil moisture using THIS sensor. I do not want to use ADC. In the sensor there is a digital output port and an analogue output port. I can use the digital output of the sensor ...
0
votes
1answer
34 views

dt11 is not detected on raspberry pi 2

I am trying to setup dt11 sensor using T-cobbler but its not getting detected. For reference attaching the screen shots. Any help really appreciated :) Thanks, sushanth
0
votes
2answers
62 views

Python taking pictures with raspberry pi camera

I have written this code to take a picture when it detects motion however when I run the code it prints 'picture taken' but does not save the picture. I know my camera works as I tested it in LX ...
1
vote
1answer
36 views

Wirelessly transmit sensors status

I am currently working on a home automation system and one of the challenges is big distances between my sensors and the the Raspberry Pi. For instance, I would like to monitor two rooms with PIR ...
0
votes
0answers
9 views

How to best connect a temperature sensor to an aluminum block? [migrated]

2 questions: How would you connect a temperature sensor to an aluminum block? Could I use a thermal adhesive, basically just gluing the sensor to the block? Which sensor would you buy? I like the ...
0
votes
1answer
23 views

Detect stall current from motor and send gpio signal

I have a project which has a 12 V DC motor controlled by a raspberry pi through a l293d. The motor draws about 600-800mA from the power source while it is running, and > 1A (much greater) when it ...
0
votes
0answers
18 views

How to hook multiple SR04 Ultrasonics without soldering or using resistors / parts

What hat would be appropriate for attaching 3-5 Ultrasonic sensors like the SR04? For this question, assume I have to use a prebuilt 4-pin F-F dupont style connector.
2
votes
2answers
82 views

Resetting I2C? Or did I break my chip?

I'm connecting a TS45315 light sensor on an Adafruit breakoutboard to the I2C bus of my Raspberry. I access the data through the following simple Python script: ...
2
votes
1answer
85 views

Do I need a current limiting resistor in series with a magnetic door sensor?

I'm building an alarm system and I'm using a magnetic door sensor, conected to ground and a pin of the gpio set up with an internal pull-up resistor. As far as I know, this means that the pin will be ...
0
votes
1answer
40 views

433 Mhz transmitter on RPI always sending 00000000

I've bought a Realtek RTL2832 DBV for my RPI to read 433 mhz data and a transmitter HM-T433. I can successfully receive messages from two 433mhz remotes with the rtl_433 utility, but when I try to ...
2
votes
1answer
82 views

DS18b20 temperature sensor not found [duplicate]

Trying to install DS18b20 temperature sensor but it looks like the RPi cannot find it. From console: sudo modprobe w1-gpio sudo modprobe w1-therm cd /sys/bus/w1/devices/ ls But there is nothing ...
0
votes
0answers
30 views

Ultrasonic Sensor isn't consistent

I setup ultrasonic sensor on B+, following instructions given in this video. But each time I test I get a different distance for the same object which hasn't moved, seems like it decreases every time ...
2
votes
1answer
60 views

Accessing ADXL345

I'm trying to access an ADXL345 Accelerometer mounted on a Sparkfun breakoutboard via Python and I2C from a Raspberry B+. I'm following this tutorial However when trying to check for the sensor with ...
4
votes
2answers
193 views

Building a Raspberry Pi network monitor. My code is not working

Long story short. I moved, put my home server is a closet and started worrying about temp and humidity, saw a guide online to make a network temperature and humidity monitor from a rasberry pi and an ...
2
votes
1answer
64 views

Emulation of the Raspberry Pi with sensors

I am trying to emulate NOOBS or some other Raspberry Pi distro. I have tried QEMU but unfortunately this does not simulate peripheral devices (eg. Sensors) I was wondering if it was possible that a ...
1
vote
2answers
605 views

How to hook up an AM2302 temperature & humidity sensor several feet away from the Raspberry pi?

I have a raspberry pi running pipgio and am using the provided code under the python section to get the temperature and humidity reading from the AM2302 (http://www.adafruit.com/products/393). If I ...
0
votes
2answers
59 views

Ant and termite detection using PIR [closed]

I would like to detect ant and termite using either one of the following sensor. PIR or infrared object detection sensor. Is it possible to detect insects with them or it can detect only larger sized ...
1
vote
2answers
120 views

Soil moisture sensor compatibility

Can this sensor for ardunino can be used with raspberry pi b+ model? The specs of the sensor is Operating voltage: 3.3V~5V Dual output mode,analog output more accurate A fixed bolt ...
0
votes
1answer
51 views

external power supply to sensors

I will be using all of the following sensors at the same time on raspberry pi b+ model with 2Amp power supply. 1) DHT-11 Digital Temperature & Humidity Sensor for temperature and humidity ...
0
votes
0answers
128 views

Why my Raspberry Pi cannot find Si7021 (temperature and humidity sensor)?

I use this temperature and humidity sensor: Si7021, like below link http://www.dfrobot.com/wiki/index.php/SI7021_Temperature_and_humidity_sensor_SKU:TOY0054 I can get the sensor data by Arduino ...
2
votes
1answer
189 views

GPIO Temperature Sensor not Recognized

I recently tried to connect a temperature sensor (http://www.adafruit.com/product/381) to my RasPi via the GPIO, with a 4.7k (2Watt) resistor connecting the power and data (Source: ...
1
vote
0answers
83 views

BCM2835 Event Detection

I've got 2 motors, 2 encoders, a motor controller, and my B+ wired up. My B+ is running Arch with kernel: Linux drd 3.12.35-1-ARCH #1 PREEMPT Tue Dec 23 07:14:51 MST 2014 armv6l GNU/Linux. The 2 ...
1
vote
1answer
66 views

How to decide the amount of resistors for gpio

I will be using raspberry pi for connecting following sensors DHT-11 Digital Temperature & Humidity Sensor for temperature and humidity measurement HC-SR501 PYROELECTRIC INFRARED PIR MOTION ...
2
votes
1answer
435 views

Raspberry Pi as an captive portal with CoovaChilli

i'm looking to do something maybe not that common with my Rpi; I have a rowing machine and I want to connect it to my Pi to motivate me to do sport. To do this, I have an Arduino connected to a Pi ...
1
vote
0answers
67 views

pyvisa connection [closed]

I was hoping to use my RPi to read a sensor output, then (used as slave) to send the read values to a PC. I've been told that it could be done by using the pyVisa library in the master PC but I cannot ...
1
vote
1answer
56 views

Issues with multiple SDA sensors

I am facing some issues trying to connect two sensors which make use of the SDA GPIO. Ultra sound sensor HC-SR04 Gyroscope & Accelerometer MPU-6050 Separately, they work just fine, however ...
2
votes
1answer
53 views

Sensor minimum/maximum operating voltage

I've bought this sensor, and I'd like to connect it to Raspberry Pi (unless I manage i2c on dagu minidriver). The spec on the sensor say: Minimum operating voltage: 2.5 V Maximum operating ...
2
votes
1answer
349 views

How to connect a 12V fan sensor wire to the Pi

I have a 3-wire 12v DC fan (Sanyo Denki 9S1212M4011). It's actually getting 15V because my "12V" wall wart isn't accurate. When the fan is not running my multimeter tells me there is 14V on the ...
2
votes
3answers
116 views

Starting raspberry pi from button

I want to have a raspberry pi inside a hollowed out book with a contact switch that detects the book cover lifting, which will then send a signal to the pi to turn itself on/wake from a low power ...
0
votes
1answer
203 views

Maximum number of Sensors supported by raspberry pi [closed]

i would like to know how many sensors can be connected to raspberry pi at a time (i would like to connect sensors like temperature sensor,humidity sensor,pir motion sensor and 3 to 4 leds)
0
votes
1answer
25 views

Headers to connect xtrinsic sensor board

I have both (pi and board) as illustrated here. However, both boards have pins. Neither have the female ends for the connection. What kind of headers do i need? Are there female - female available? I ...
2
votes
2answers
989 views

Sensor to detect water/liquid level

I have a swamp cooler that does not turn off automatically when the water level evaporates below the safe level, and if I fail to turn it off even once I could damage it. The sensor simply needs to ...
1
vote
1answer
651 views

How many ultrasonic sensor can a Raspberry pi B+ can handle?

im planning to build a simple robot. having several ultrasonic sentor and 12 servo motor. How many ultrasonic sensor can a Raspberry pi B+ can handle? i need 8 ultrasonic working at the same time ...
0
votes
2answers
310 views

Control sensor: SainSmart TGS-2600

I've purchased a SainSmart TGS2600 Air Contaminants Sensor, but got no data sheet or the like. Does anybody know how to connect this breakout to the Pi?
0
votes
0answers
238 views

Camera doesn't work with GPIO PIR Sensor

I am using a 3 pin PIR Sensor to detect motion (https://www.modmypi.com/pir-motion-sensor). This is connected to the GPIO pins. I also have the RPI Camera module attached to the Camera CSI. I would ...
0
votes
0answers
132 views

Sensor DS18B20 - i2C - weird response

I'm using the raspberry pi (model B) with the DS18B20 to read temperature. I connected 9 sensors through the 1wire (port 4), however I'm having a few sensors with a weird problem. The sensors ...
0
votes
1answer
243 views

Does the kernel support a BMP180 BMP85 digital pressure sensor out of the box?

The kernel generates a virtual file with the values for the famous temperature sensor DS 18B20. Is there a plug and play kernel support for the I2C digital pressure sensors BMP180 and BMP85 too? ...
0
votes
0answers
56 views

tsl235 and the RPi

I'm trying to get the tsl235 (https://www.sparkfun.com/products/9768) working with the PI and the bcm2835 library (or without it, just using a simpler mmio) and while the operation of the tsl235 ...
0
votes
1answer
87 views

Can a 74LVC8T245 be used for 5v inputs all by itself?

I got this kit that came with a 74LVC8T245 (http://www.wvshare.com/product/74LVC8T245-Board.htm) that I have been able to get 5v output working just fine but as for a 5v input sensor I'm not 100% sure ...
3
votes
1answer
367 views

Multimeter functionality for raspberry pi

Are there any sensors that would allow me to measure voltage/current/resistance similar to using a multimeter but would allow me to interface with them through a library? (for example, measuring ...
0
votes
1answer
99 views

Cheapest presence sensor for a door

I have a big wardrobe in a dark room, I put leds inside and I want to light them up when the door (sliding door) opens. What's the cheapest and more robust way to detect door opening, with less damage ...
0
votes
1answer
321 views

One Wire Temperature auto setup while booting

I have temperature sensor (DS18B20), also known as a 'one-wire sensor'. I've connected it to pin 4. I am using this code that someone wrote (source). #!/usr/bin/env python import time ...
1
vote
2answers
630 views

IndexError DS18B20 Temperature sensor

I have this temperature sensor (DS18B20). I've followed the tutorial on Adafruit (here). First I had to setup some modules by doing: sudo modprobe w1-gpio sudo modprobe w1-therm Then I check the ...
-3
votes
1answer
39 views

How to set ID for multiple sensor like LED, Temperature Sensor and etc?

Sorry to disturb you guys, I would like know how to set a custom ID to sensor like LED, Temperature Sensor and etc. Example: Like 1 LED sensor, not smart LED. Only can display real time data and ...
0
votes
3answers
207 views

Connecting multiple light sensors to one port

Is it possible to connect multiple light sensors to one port and similiarly control multiple motors through one port only? (I've tried searching for answers on Google, couldn't find a convincing ...
1
vote
1answer
38 views

Mesure weight using force [closed]

Is it possible to use this force-sensitive resistor to measure weight between 10g-5kg(0,4oz-176oz)?
0
votes
1answer
2k views

Connecting a bluetooth module to GPIO?

I got a bluetooth sensor from this Chinese company. Model is BC417. The module has six pins: KEY RXD TXD 5.0 3.3 GND I'm totally newbie about GPIO and sensors, only got that module and a few ...