Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
2
votes
3answers
1k views

Do Water sensors Rust?

I'm new to Arduino and still learning the basics. I tried reading water level by using this sensor I left it in the water for about 5 minutes then I noticed it changing color (some parts darker than ...
2
votes
2answers
1k views

SainSmart CO2 sensor module use?

I purchased this CO2 sensor a while back: SainSmart MG811 Gas CO2 Carbon Dioxide Sensor Module Sensor Module for Arduino UNO R3 Raspberry Pi The module has four pins, Vin, GND, Dout and Aout. I ...
0
votes
1answer
961 views

Is there a thermal sensor with a distance of 10 meters for Arduino

I am looking for a thermal sensor with a distance of 10 meters . In my plan , I would like to recognize objects based on the heat. for example car.
0
votes
1answer
1k views

How to access 315mhz signals from household devices, with an arduino 315mhz kit?

Background: I am looking into automation and I have realized that many of the devices I have around my house transmit 315mhz to their specific controllers. I know this from reading the labels on the ...
3
votes
1answer
6k views

How do I listen for a sound that matches a pre-recorded sound?

I'm working on a project that uses an Arduino Uno to listen for a bell ring and then uploads to a web server the exact time the bell was rung using a WiFi Shield. I want to know how I can listen for ...
2
votes
1answer
420 views

Understanding Digital IMU 6DOF sketch

I am looking at the following code and getting confused by a few elements in it: 1) Why is there a writeto function being performed to the memory locations x053,0x31,x09 for accelerometer and 0x68,...
1
vote
3answers
2k views

Wifi Data Logger without Delay

I am really new to Arduino so please bear with me. I am running an Arduino Uno with several sensors to capture some data related to a fish tank. Here is basically what it does: Capture data (light, ...
0
votes
1answer
81 views

Choosing rangefinder for obstacle-avoiding

I am looking to buy a range finder module for an obstacle avoidance robot. Currently, two good options based on available libraries and compatibility with Arduino and rPI are HC-SR04 and parallax ...
1
vote
1answer
1k views

Pulse measurement

I am currently doing the project in pulse measurement using an Arduino Yún. I am using the pulse sensor SEN-11574. When I verify the code I get this error: Arduino: 1.5.8 (Linux), Board: "Arduino ...
-1
votes
1answer
20k views

arduino program got error expected //primary-expression before ')' token error: //expected ';' before '}' token E

#include "pulse-sensor-arduino.h" #include "Arduino.h" #define PulseSensorbegin int pulsePin = 0; int blinkPin = 13; int fadePin = 5; int fadeRate = 0;...
1
vote
2answers
2k views

Will a magnetometer give distorted values if there is a magnet near?

I am not entirely sure how a magnetometer works in IMU units, so I was wondering how a magnet near the sensor affects readings?
1
vote
1answer
2k views

How do I use this sound sensor?

I bought one of these: There are 3 pins on it: 5V GND OUT My guess is that OUT is an analogue signal that I can measure with my Arduino, am I right? I am using the "Analogue Output" example code ...
2
votes
2answers
1k views

What is the most accurate sensor for detecting ping pong ball?

What is the most accurate proximity sensor for a ping pong ball? I will be using this to calculate 3D positioning of a ping pong ball in flight. I only need to detect the ball within 0-5 feet (...
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 ...
2
votes
1answer
2k views

US-100 Ultrasound sensor doesn't work on Arduino mega 2560 [closed]

Im using a Arduino Mega 2560, and I tried to connect a us-100 ultrasonic sensor for distance measurement. I connected it as shown in the image The code I used was: const int trigger=6; const int ...
0
votes
1answer
3k views

Connecting multiple DHT 11 sensors

I want to collect data (both Humidity & Temperature) from 80 sensors. let's say I have 80 "DHT 11 Humidity & Temperature" sensors (for ex. in a warehouse) and one Arduino Uno R3 pack. It's ...
0
votes
1answer
114 views

Powering Infrared and Sonar sensors using BEC

I'm new to Arduino. I'm using Arduino Mega 2560 board & MATLAB Simulink-Arduino support package and trying to integrate Maxbotix Sonar and Sharp IR sensor for my class project. When I powered ...
1
vote
0answers
49 views

Buffer serial data till condition met? [closed]

I have an Arduino attached to an accelerometer sensor. I'm looking to detect the motion of a head shake sideways. While I am able to stream the readings from the sensor, I am unsure how to buffer ...
0
votes
2answers
206 views

Freeze with VCNL 4000 Proximity Sensor

I've the VCNL 4000 Proximity Sensor I use some sample code and at the very beginning the following code hangs (never finishes) readVCNLByte(0x81); is called Can this problem be caused because the ...
2
votes
3answers
5k views

Get the distance to non perpendicular surface

So I'm using the HC-SR04 modules to get the distance to objects, the problem is that if it's not a perpendicular surface I dont get any reading, and I assume that the reason is that the ultrasounds ...
1
vote
1answer
49 views

What is the best vehicle platform to begin with (e.g. tracked, four-wheel drive)

Despite many articles on the topic of vehicle platforms, none of them seem to recommend the best one to start with. Later on I am sure I will seek an exact kind of chassis for autonomous vehicle ...
1
vote
1answer
69 views

How to protect sensors used on atheletes?

I'm working on a project were we are trying to attach accelerometers to soccer players and capture various aspects of movement data. Breadboarded circuits are coming along nicely and I'm now looking ...
1
vote
2answers
3k views

How can I increase resolution for current sensor?

I purchased a ACS711 Hall effect-based linear current sensor (http://www.pololu.com/product/2197) and when i read the input it's basically always the same. After doing some research I think it's ...
1
vote
1answer
1k views

How to send Json to a webservice from pc/RPI with live data from Arduino(serial)

I'm making a project where my plan is to take sensor input from the Arduino, and then pass that info (by serial/usb connection) through either a laptop or a Raspberry Pi and convert it to Json and ...
1
vote
2answers
3k views

Uploading Temperature data (DHT22) to Thingspeak with an ENC28J60

So, I've gotten my module working pretty well. It logs data from the DHT22 and sends it to a 192 address on my LAN. However, I'd like to log and graph the data. I figured thingspeak is a decent ...
0
votes
1answer
726 views

Wiring VCNL 4000 Proximity Sensor

I was looking for wiring the VCNL 4000 Proximity Sensor. I found this one http://bildr.org/2012/11/vcnl4000-arduino/ but there is used a sensor on a red board, which has other pins like mine (which ...
1
vote
1answer
82 views

VCNL4000 Proximity/Light sensor

I want to use the VCNL4000 Proximity/Light sensor s. http://www.adafruit.com/products/466?&main_page=product_info&products_id=466 In the package i've this 6 pin connector but the VCNL has 5 ...
1
vote
1answer
5k views

Read temperature (DS18B20) with the ATTiny85

I'm trying to read the temperature of a DS18B20 with my ATTiny85 - but I'm getting rubbish data :D I should have gotten ~22 degrees, but I'm getting 129! I followed this tutorial i found here, but ...
2
votes
2answers
10k views

Photoresistor is not working, is there something wrong in the code?

I am trying to make the photoresistor work in a simple project. The project is as follows: The LED light should light up brighter and brighter as the photoresistor reads less light in the room. The ...
1
vote
1answer
106 views

Is there a radar - like sensor that can tell me the distances of multiple things around the sensor?

I'm trying to develop something that requires accurate distance measurement of objects around the center of the contraption. However, I cannot find any way to achieve this other than using a bunch of ...
9
votes
4answers
4k 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 ...
1
vote
1answer
460 views

Ultrasonic PING: multiple trig on single dig. pin

This may seem a little stupid, i apologize if so as i'm new to electronics/arduino. I have 4, 4-pin ping sensors. I'm running out of available pins on my UNO. I had a ponder & wondered if it ...
5
votes
2answers
10k 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 ...
2
votes
1answer
403 views

Homemade soil moisture analog value reading jumping from 0 to max

I made a soil moisture sensor out of two metal poles, adjustable resistor, for a project I am making. The first run with the project the sensor worked amazing and gave clear and concise readings, 0-...
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 ...
2
votes
1answer
306 views

Why can this color sensor not recognize green?

I got this color sensor last week, I've been able to get the sensor to recognize blue and red, but not green. still working on this. I use the code in the product page. so anybody have any idea about ...
0
votes
1answer
4k views

Record video with CMOS camera using Arduino

Is it possible to use this with Arduino to record and store videos on memory card? Additionally, if someone has already done it, a tutorial link would be appreciated.
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 ...
0
votes
1answer
784 views

How to continuously calibrate sensor

I have a problem in calibration an LDR sensor. I want to let the sensor goes all day long and I'm using the LDR sensor as a presence sensor. The calibration values (min and max) changes all the day, ...
1
vote
0answers
1k views

Grove temperature sensor with Arduino Yun

I try to test Grove - Infrared Temperature Sensor on Arduino Yun with the sample code but it does not work. In the console it shows that the object temperature is out of range all the time. However, ...
0
votes
2answers
890 views

Wiring 5V ultrasonic sensor to Arduino Due

Is it possible to use the 2760342 ultrasonic range sensor with an Arduino Due? The docs say it takes a 5V input, but doesn't specify the output, but I'm assuming it also outputs a 5V signal. Does this ...
0
votes
1answer
5k views

How to make MEMS IR Thermal Sensor - D6T-44-L06 work with Arduino?

I am working on project that my team need to detect the presence of the people. At first, we tried with motion sensor but it wasn't the way that we want it to work. We want to detect presence of the ...
0
votes
1answer
911 views

Dead reckoning with an accelerometer

Is it possible to use an Arduino, connected to a 3 axis accelerometer, to estimate a platform's continuous change in position and orientation? I have a small mobile robot, and given an initial ...
0
votes
1answer
476 views

Sense distance with Bare Conductive's Touch Board

How can I sense distance with Bare Conductive's Touch Board, like they suggest in their product video? I know how I can set the touch and release thresholds, so my Touch Board is more sensitive and ...
1
vote
0answers
832 views

Using an ultrasonic sensor to act as a potentiometer for a Servo?

I would just like to start off by saying that I am new to Arduino so my code and approach to the wanted outcome are probably not the best. Anyway, I had the idea of using an ultrasonic sensor and my ...
0
votes
2answers
3k views

Necessary sampling rate

I'm using an Arduino pro mini to receive the analog signals from three sensors. I was wondering what sampling rate I should sample at in order to properly represent these signals. I know it should be ...
0
votes
1answer
425 views

Arduino Nano and a 3.3v Ethernet shield

I plan on purchasing a Nano clone, an Ethernet shield (ENC28J60), an LCD and a DHT22 humidity + temperature sensor. This will be used in a wine cellar to monitor relative humidity and temperature. ...
1
vote
1answer
466 views

Reading a tachogenerator

I'm trying to read a tachogenerator from a washing machine. It outputs an alternating current, with multiple periods per revolution. The voltage for my test case (constant rpm) reads 5.5V. I attached ...
0
votes
1answer
6k views

TCS3200 color sensor not reading with delay lower then 4000 ms using TimerOne.h

I'm trying to get the color sensor TCS3200 to give color values with a delay lower than 4000 ms. I've found a library to interface the TCS3200 from this link. I've modified the code to serve my ...
1
vote
2answers
98 views

What does the datasheet information for a switch mean?

I'm clueless when it comes to the information on datasheets for switches. When I see a datasheet for LEDs or servos, I'm used to seeing a fairly straightforward call out for the required volts and ...