Questions tagged [sensors]

Use this tag for questions about selecting, connecting, using, and debugging sensors.

Filter by
Sorted by
Tagged with
48
votes
17answers
13k views

How to trigger an alarm when toilet paper is low?

Anyone with kids knows they never help with the toilet paper. Anyone know how to track when it's low or out and sound an audible alarm? I just don't know what sensor to use that may help. Some that ...
15
votes
1answer
9k views

How can I sense when someone is sleeping with my Arduino?

Ignore the stalker-like title. I am thinking about creating a project with Arduino that can sense you sleep habits, when you're asleep, and how much you sleep. It would be convenient to not have to ...
13
votes
10answers
16k views

Sensor for underground water tank level

In a similar way to the question "best way to determine if a 5 gallon water jug is getting empty", I'm looking for a way to measure water in a container. This is so it can be connected to an Arduino ...
13
votes
4answers
19k views

How to get weight data from glass electronic bathroom scale sensors?

I am doing a small project with a bathroom scale but I run into some problems. I am using an Arduino Uno V3, HX711 module amp and a scale. Scale: HX711 amplifier: I disassembled the scale to get ...
12
votes
11answers
12k views

What type of connector does the GROVE system use?

What type of connector does GROVE use? I'm interested in wiring some old sensors so they're compatible with GROVE, so I first need to identify the connector so I can buy the housing and pins to crimp....
11
votes
4answers
255 views

How do I know if a board fits my requirements?

I'm new to Arduino and I saw on their website that there are many different kinds of boards. What are the differences, or to be more specific, how would I know which board meets my requirements? I ...
10
votes
5answers
20k views

My DS18B20 is reading high. How can I get it to return the correct temperature?

I am working on a heating control system for my home, but having problems with the temperature sensor reading higher than I expect. I have a 5V Arduino Mini Pro clone hooked up to a relay module, an ...
10
votes
1answer
8k views

Emulating 1-wire device(s)

What I want to do is make a ATTiny IC become a slave on the 1-wire bus, with its own S/N and command list for its specific functions. What I want to know is if I can use the one wire library from ...
9
votes
8answers
6k views

Best way to determine if a 5 gallon water jug is getting empty

I have an espresso machine that gets its water from one of those 5 gallon blue water bottles (I would plumb it, but our water here is WAAAAY too hard). If I ever accidentally let the bottle run out ...
9
votes
4answers
3k views

How to move from arduino to physical prototype

I've been reading a bit about moving from Arduino to PCB and it seems a bit daunting. For now, all I really want to do is take something I've built, and make a few changes so that I can actually ...
9
votes
2answers
23k views

The use of 4.7kOhm resistor with DS18B20 temperature sensor [closed]

I was using a temperature sensor DS18B20 with Arduino. I've read that you should connect the digital input line and the 5V line with a 4.7kOhm resistor - like in the picture. Can someone explain ...
9
votes
2answers
13k views

How can I sense very high temperatures with Arduino?

I've seen many temperature sensors, but the highest temperature they go up to is 125 degrees C (257 degrees F). I want to reach higher temperatures than that. I'm thinking about rigging up a closed ...
9
votes
3answers
3k views

How to measure total energy usage of an arduino board

I have a project that I'm currently working on. We have built a green wall, wich consists of plants on a wall Now, we have a pump situated at the bottom that waters all the plants. There is an ...
8
votes
2answers
2k views

Why analogue pins affect each other?

I have a sensor and it generates an analogue signal. I am reading all analogue data and sending it to my computer. uint8_t sensors[] = { A0,A1,A2,A3,A4,A5,A6 }; const int len = sizeof(sensors) / ...
8
votes
4answers
33k views

What is the work of pulseIn?

I have code for an ultrasonic sensor which I found from a site. Here is the code: #define trigPin 12 #define echoPin 13 void setup() { Serial.begin (9600); pinMode(trigPin, OUTPUT); pinMode(...
8
votes
3answers
12k views

Grove sensors without a Grove shield

There exists a large variety of sensors in the Grove System. Usually these are accessed via a special shield (Grove base shield). Can I access these sensor directly without a shield. In particular I ...
8
votes
2answers
7k views

Reading a varying voltage into Arduino

Using an Arduino Nano and a current transformer (CT), I'm trying to sense the current flowing through a 120 V 60 Hz line. Circuit CT outputs 0-1 V according to its specifications....
7
votes
1answer
2k views

What good designs are available for Geiger counters using an Arduino?

Are there any good circuit designs for Geiger-counter projects using an Arduino? If so, what Geiger-Muller tubes should I choose to detect different types of radiation?
7
votes
1answer
3k views

Why does increasing resistance make a capacitive sensor more sensitive?

From the Capacitive Sensor Page on the Arduino website, it states the following: The capacitiveSensor method toggles a microcontroller send pin to a new state and then waits for the receive pin to ...
7
votes
3answers
2k views

Using more than one Ping Ultrasonic Range Finder

I have done various applications with the Ultrasonic example project but it is always using one pinger. I'd like to make a scanner resting on a servo sweep but to reduce sweep time use more than one ...
6
votes
2answers
519 views

Why is that any sensor signal need to be hooked up to the interrupt pins on Andruino boards?

I have come across some Andruino Sensors like Motion, Light and all recommend to be connected to pin 2 or 3 on Andruino Uno board which are interrupt pins. This is especially true if you are looking ...
6
votes
1answer
942 views

A good water flow meter to monitor home usage with Arduino

I'm searching for a good water flow meter to add to my home controller project with Arduino. I have been searching in several pages and I only found some devices that work for low flow. I need to ...
6
votes
1answer
3k views

Level tracking using optical or capacitance sensors

I am looking to devise a level tracking system using arduino and some sensors. My particular situation is I have solute that is coming out of solution and I want to track the formation rate of the ...
5
votes
4answers
607 views

Briefly “wake up” Arduino in response to an event

I want to connect a device to a door handle, so whenever someone opens the door I'll be able to send a message via my arduino that is connected to a WIFI shield. I have a simple orientation sensor, ...
5
votes
2answers
11k views

Multiple I2C sensors with the same address

I am trying to find the simplest way to connect multiple (preferably around 10-20) IMU sensors to one controller. There are two constraints: sampling at 60Hz and reasonably simple wiring as I want to ...
5
votes
4answers
19k views

How to connect more than 10 sensors to Arduino uno r3

How I can connect more than 10 sensors to Arduino Uno R3? I calculated it and I can connect just 4 fire flame sensors (sensors which can find a fire (a candle, for example)) and maybe 1 ultrasonic ...
5
votes
2answers
15k views

What is the difference between Accelerometer, Gyro, and Magnetometer Sensor?

I'm starting in the arduino world and I'm building an autonomous smart vehicle. So, after some weeks building and adjusting the vehicle, I got to a point in this project that I want to log it's ...
5
votes
2answers
9k views

How to choose between AM230x and DHT22 temperature and humidity sensors?

I'm looking forward to getting an accurate humidity and temperature sensor. Right when I decided to go with a DHT22 module, I saw AM230x (AM2301, for example). How do I choose between DHT22 and ...
5
votes
3answers
4k views

Return value of 0 if value is less than zero

Background: I am using an analog pressure sensor with a range from 0-100PSI returning voltage values .44v to 4.44v. It's open air (or 0 PSI) voltage on the signal pin is .47 volts. I have a function ...
5
votes
8answers
9k views

Two sensors on one input

I got this question from my teacher the other day and I can't figure it out: If you have two sensors from two different outputs but want them to go into one input, what do you need, and how can you ...
5
votes
5answers
5k views

How can I make a garage door laser sensor?

I would like to make a sensor that detects when my car is clear of a certain point. So, when backing in my car to my garage, I would have a beam and sensor. When the beam is broken, an LED light would ...
5
votes
3answers
6k views

Binary serial transmission order of data

I'm implementing a filter for my IMU Sensor and thus I want close to real time data visualized on the computer. I use binary serial communication to facilitate the sending part for the arduino (as far ...
5
votes
6answers
8k views

Using / calibrating pH sensor module

I've bought this sensor module board to link to an Arduino nano: http://www.ebay.com/itm/For-Arduino-Liquid-PH-Value-Detection-detect-Sensor-Module-Monitoring-Controller/321764233326 I assumed the ...
5
votes
3answers
5k views

Humidity values returned by DHT22 sensors failing after some time

I've built a weather station using Arduino that measures temperature/humidity and pressure using an Adafruit 8266 HUZZAH. Temperature and Humidity are measured using a DHT22 sensor a ordered from ...
5
votes
4answers
3k views

Running multiple tasks at once

For a school project we're working on a wearable device to track people's movement and heart rate. We use an Arduino Pro Mini with a heartbeat sensor and an accelerometer. The wearable device uses ...
5
votes
1answer
2k views

Strange values from LSM303 Magnetometer

I am having problems with values i get from Pololu MinIMU-9 boards's magnetometer. I am using Arduino-micro and the arduino library from Pololu. The sensor on the board is 3 axis accelero- and ...
5
votes
3answers
2k views

Serial sensors and the Yun

I am involved in a project that is going to measure PH and chlorine in a swimming pool. The plan is to use a Arduino Yun. The sensors we are going to use are connected using serial. Since we may be ...
5
votes
3answers
3k views

Arduino Due and BNO055 address in i2c mode

I have a project where I need to have several IMUs, the BNO055 shuttle board (I explained my project here), I manage to get the Euler angles from one BNO055 sensor, which have the address 0x29, ...
5
votes
2answers
2k views

Stacking Arduino Shield (Motor Shield, LCD Keypad, LED Sensor)

I'm building a line follower with arduino, here some part that I'm going to use Arduino Uno Motor Shield 2A http://www.dfrobot.com/index.php?route=product/product&product_id=69 LCD Keypad 4 ...
5
votes
1answer
4k views

ArduinoMEGA: 64 digital inputs cause random digitalRead values

I have 64 hall effect sensors (magnetic field sensors) (DRV5023AJQLPG) connected to an Arduino MEGA 2560. For that, I use 48 digital pins and 16 analog pins as digital input pins. The program in the ...
5
votes
1answer
6k views

Compute yaw from magnetometer and accelerometer

I use an Arduino and a 9 DOF sensor (gyroscope, accelerometer and magnetometer) and I'm trying to use the pitch, roll and yaw that the sensor gives me to rotate an object in unity. I managed to ...
5
votes
2answers
1k views

Detect my position

I'm new to Arduino, but I have this idea for a game I would like to build. I need the Arduino to be able to determine my relative position on a straight line - 20 feet (6 meters) long. What would be ...
5
votes
2answers
6k views

Oil Pressure / Water Pressure / Boost Pressure ( Turbo Engine )

I'm an automotive enthusiast and I want to build some gauges by myself using Arduino. I was taking a look at this pressure transducer or sender, 100 psi, stainless steel, for oil, fuel, air, water ...
5
votes
1answer
2k views

Which reflectance sensor array for a line following robot?

I'm working on a line-following robot with my son. We've found a sensor array on Robot Shop that will help us but .. there's two and I'm not sure which will be the best for us. The difference between ...
5
votes
3answers
6k views

arduino resets or hangs after providing power to DHT22

I'm developing a low power project based on Atmega328p which among other things uses a DHT22 to measure air humidity. DHT22 spec says that it consumes 50uA when idle. This is too high for me (I'm ...
5
votes
2answers
2k views

Calibrating Accelerometer Sensor

I'm working with an Adafruit LSM303DLHC Accelerometer Sensor hooked up to an Arduino. I've downloaded the appropriate libraries to make it work and uploaded the example sketch "accelsensor.pde". I ...
5
votes
1answer
6k views

Pressure transducer / sensor (0.5 - 4.5V) innacurate analog pin readings

I have a relatively cheap 0-15psi pressure transducer. It has 3 pins - ground 5V and signal. The signal outputs a voltage of 0.5V to 4.5V based on pressure from 0psi to 15psi. I can verify it does ...
5
votes
2answers
575 views

Why is my TMP35 giving me weird values?

A TMP35/36/37 is giving very high voltage readings, which results in high temperature readings. The serial monitor looks like this: As you can see, the sensor value is in the 900s, voltage is almost ...
5
votes
1answer
14k views

How to connect 5V sensors to 3.3V digital input (Due)?

I'm completely new with Arduino and microcontrollers in general. I have several 5V sensors, and need 3.3V because that's the max for the Due. Is it possible to use a resistor to connect it to the ...
5
votes
4answers
3k views

CO2 sensor for arduino

I want to add CO2 measuring feature to my room weather station. Can someone please recommend a CO2 sensor easy to integrate with Arduino?