We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [sensors]

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

159 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
68 views

Problem in integrating speed sensor LM393 with L298N

I am currently working on a project that has an automatic support wheel for bicycle. The mechanism of this project is when the speed sensor is detecting the RPM of the rear bicycle wheel it will ...
2
votes
2answers
315 views

Maze solving robot turning failure due to sensor distance to the corner increasing during the turn

At my school we have a project where we have to make a robot that can solve a 3D-maze using an arduino controlled robot that uses ultrasonic sensors to determine how to turn. The robot may not be pre-...
2
votes
0answers
212 views

DHT22 reading weird values

I just hooked up a DHT22 I had laying around in a parts drawer to test something and it is giving out some crazy wrong values, I am running the adafruit library's unified example and this is the ...
2
votes
0answers
393 views

Problem in using COZIR W-100 with arduino

I was using the COZIR W-100 carbon dioxide sensor with an Arduino Mega 2560 with the example code from this site. But the measured value of carbon dioxide by sensor was 90 ppm in fresh air and that ...
2
votes
1answer
1k views

PIR sensor and sleep (interrupt) on Mega2560

So I was starting to gain some knowledge on the PIR sensor and how to let the Arduino 'sleep' while there is no movement detected by the PIR. I found the following code somewhere and looked fairly ...
2
votes
0answers
2k views

How to save data to SD card using Memory Shield Module SPI

I am trying to save some data to the SD card using the memory shield module that I read from HC-SR04 Ultrasonic Module. The data that gets printed indicates error. This is how my SD card module is ...
1
vote
0answers
28 views

ESP32: Share I2C bus among multiple freeRTOS tasks - do I have to expect synchronization issues?

I recently inherited some firmware with weird problems in regards to the duration of reading sensor values. The board is based on the ESP32 Wrover MCU and has multiple sensors connected via the I2C ...
1
vote
0answers
154 views

What sensor do I use to measure the intensity of direct sunlight?

I'm trying to measure how bright the day is on a particular day to see how it affects plant growth. The brightest sun can be 120,000 lux. It possible to measure such a large brightness? What sensor do ...
1
vote
1answer
959 views

How to get PPM value from MQ-3?

I tried to build project to detect alcohol with Arduino Uno and an MQ-3 Alcohol sensor. I already have the R0 value, but I faced problem here: I don't know how to convert it to PPM or BAC. I already ...
1
vote
0answers
49 views

Can I track 70 pressure sensors from Arduino Mega?

I am a beginner at Arduino which I just received in the mail. My understanding is my Arduino Mega has 54 digital inputs and 16 analog inputs making for 70 inputs all together. I would like to track ...
1
vote
0answers
185 views

ESP8266 exception if sending TLS-POST-request for a couple of iterations

Problem I send sensor measurements from an Arduino to -> AWS APIGateway -> Lambda -> CloudWatch, which works but only for a couple of minutes, then a stack-trace is shown and the program stops. ...
1
vote
1answer
613 views

rf522 version 0x12

I bought a bunch of the common RC522 boards from some Aliexpress vendor. They (I tried multiple) seem to work at the register read-write level, but they don't seem to execute commands, much less ...
1
vote
0answers
400 views

Soil moisture sensor problem

I'm having a problem trying to run a bunch of code, using an "if" state which uses a variable which should get a value from a soil moisture sensor. I'm using the sensor digitally, so it should just ...
1
vote
0answers
337 views

This is a flood sensor. Moisture sensor and servo working together but it shows different errors

Sometimes the servo moves unnecessarily without moisture sensor giving out any readings. Another problem is that the servo moves very slowly. Is there a way to counter this problem? const int ...
1
vote
0answers
70 views

ADC pin shutting off on its own under certain condition

A0 pin not working when full PV system in use I am using the DFRobot Leonardo with Xbee R3. I am using the A0 pin to read a 0-5V voltage from my voltage sensor, which samples and steps down 130VDC ...
1
vote
0answers
53 views

Different behavior when Arduino Micro powered by laptop USB vs portable charger USB

I'm working on a project that uses an LM35 temperature sensor to control a few LEDs. Above 97 degrees, one LED should switch on. Below 95 degrees, it should switch off and the other should switch on. ...
1
vote
0answers
217 views

How can I configure the RFM95 LoRa module to emit packets at only 'one' particular frequency?

I have created a LoRa gateway using a Pi3; I have used a RFM95 module for it. So, it is a single channel gateway, and I'm operating it at 868.1Mhz. But my LoRa node(also a RFM95, on an Arduino Uno), ...
1
vote
0answers
241 views

How can I connect a force sensitive resistor to a vibration motor via Arduino?

Please forgive me if my knowledge is limited--still very new to this! I'm currently working on my senior thesis for my Industrial Design program and I'm struggling to figure out the components and ...
1
vote
0answers
66 views

Issue with PIR sensor

I have been using a HC-SR501 PIR module with my Arduino Mega and it was tracking presence pretty well. Because of cost constraints, I decided to go with the low cost HC-SR505 sensor - bought a bunch ...
1
vote
0answers
66 views

IR sensor not detecting light or dark sufaces

I wrote code for the vibrating motors to vibrate when an IR sensor detects a darker surface. I have 4 vibration motors for corresponding 4 IR sensors. My program is not able to read the values from ...
1
vote
0answers
301 views

How to create a heart rate detection system that uses a chest strap?

I want to create a system that uses a chest strap from available Bluetooth-based heart rate monitoring systems. The straps seem very convenient compared to available Arduino pulse detection systems ...
1
vote
1answer
2k views

Using MMA8451 accelerometer to count steps

I'm trying to use an Adafruit MMA8451 accelerometer to create a pedometer-type device that counts steps. I'd like to initiate a counter that says "if the x-axis readout is > some threshold, add 1 to ...
1
vote
0answers
313 views

How to use Honeywell NBP Series Sensor with Arduino

I am trying to use a HONEYWELL NBPDANN100PAUNV Pressure Sensor. I found an example here http://www.circuitstoday.com/interfacing-pressure-sensor-arduino As this example says as instrumentation ...
1
vote
0answers
267 views

DHT22: Library and Data accuracy

I am using DHT22 temperature/humidity sensor and I noticed that there exist so many libraries. I wonder which one is the most accurate? It is giving me readings that does not seem to be logic. High ...
1
vote
1answer
1k views

MQ135 Air Quality Sensor Signal Amplifier needed? Higher Quality Sensor?

I am trying to strengthen the signal from my MQ135 air quality sensor so it can detect aerosols from 3 feet away, as, currently as it stands the resolution is pathetic, it only blips from 0.21 to 0.58 ...
1
vote
0answers
244 views

Problem with my Arduino project

I am making a smart bin which automatically sense (with the help of IR sensor ) and dispose the trash by moving with help of DC geared motor 12V 60 RPM and it also detects for obstacles with the help ...
1
vote
0answers
835 views

MQTT Broker on an Arduino

Has anyone here setup an MQTT Broker on an Arduino? I am looking to use pubsubclient to send sensor data from 12 individual wireless sensors to an Arduino every 250ms. I know this can be done using ...
1
vote
0answers
168 views

Declaring Variables in a For Loop

I am trying to use a for loop for getting readings on two parallax ping sensors and want to find the difference between both readings. But am having trouble doing so. Whenever I declare print ping(1)...
1
vote
0answers
183 views

How do I change the default number of parameters SDI 12?

I am a nooby so this might be an obvious answer kind of a question, but how do I change how many parameters arduino-uno reads from a sensor using SDI communication? My code (which was in public domain,...
1
vote
0answers
177 views

Too many Bytes Using Ultrasonic Sensors

I need to send one transmission and record multiple distances with 4 receivers, but everytime I use more than 2 receivers, the serial data does not print. What can I do? P.S. I'm using 5 SRF-02 ...
1
vote
0answers
92 views

SRF-02 UART, transmitting from one address to another

So I just starting playing around with UART and SoftwareSerial while playing with these SRF-02 Sensors - http://www.robot-electronics.co.uk/htm/srf02techSer.htm I need help getting one to read to the ...
1
vote
0answers
101 views

Teensy and MS5803 sensor

I'm trying to use the MS5803 pressure sensor with a Teensy 3.2. Compiling the Sparkfun, or other, libraries, however, results in no output. Can you provide guidance on how to modify the libraries to ...
1
vote
0answers
69 views

Serial print and sensor readings halts

I'm trying to write a state machine for my robot. While the robot is moving around I would like to read the values of the sensors, but after some time the reading stops working. For the first half ...
1
vote
0answers
519 views

Arduino uno RF transmitter and receiver, MYSQL

i tried to connect my arduino uno and ethernet shield with Mysql and everything works fine. Then I tried to connect the RF transmitter and receiver. I use a similar code, but i have problem with ...
1
vote
0answers
140 views

Arduino-controlled current limiter for lathe

I'm building a lathe that will be powered by a 3-phase 750w AC motor (4 pole, max unloaded RPM of 1400 RPM). I want to be able to control the RPM using a potentiometer attached to an Arduino mega ...
1
vote
0answers
57 views

Sensors to use in Pets

I want to track my pets using some sensors (their location in space) but I could only find radio sensors. These radio sensors are big and cumbersome for my dogs to carry around. Is there some sensor ...
1
vote
0answers
385 views

Problem reading HMC5843 - Magnetometer in Simulink

I'm having a SparkFun 9 DoF sensor stick including the following components: ADLX345 - Accelerometer ITG3200 Gyroscope HMC5843 - Magnetometer Im currently working on a project in which I need to ...
1
vote
0answers
579 views

CO2 pressure regulator for keg

Is there anything like the link below that I can read/set with an arduino/raspberry pi? I'd like to be able to control this completely from a computer in my kegerator setup. Any search terms that ...
1
vote
0answers
824 views

How to: soil moisture measurement with WaterMark?

I am new with Arduino, and i cant find documentation about how to connect Arduino with Watermark successfully. I would like to connect my Arduino UNO with a watermark like this: http://guideimg....
1
vote
3answers
1k 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, ...
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, ...
1
vote
0answers
811 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 ...
1
vote
0answers
673 views

ICP Accelometer Arduino

I need to connect piezoelectric accelerometer to Arduino. Precisely, it's this one: http://www.pcb.com/Products.aspx?m=352C34 Specs show that it generates 100 mV/g, but when I connected it between ...
1
vote
0answers
295 views

Could a bluetooth, speaker and microphone equiped arduino be used to form a range sensing swarm?

I am trying to figure out how to build a system of devices that could, on command, notify similar devices that are within a configurable distance. Maximum ranges would need to be around 20' though up ...
1
vote
0answers
376 views

Flame Sensors Problems

I am making a fire fighting robot and I need a sensor. I want the sensor detection range to be about 6m or 7m (about 18ft to 20ft). The question is which sensor should I choose to get that detection ...
1
vote
1answer
59 views

Field Hockey Ball Tracker

I'm brand new to development and planning a project with my daughter to track speed and time in motion of a ball. Example, ball is at rest. It is then put into play, timer starts, and speed is ...
1
vote
1answer
1k views

Issues with PIR Sensor triggering by itself

I am currently working on my first Arduino project and I am having some issues that I am seeking help with. The robot I am building must have human following capabilities and to do so I am using 3 PIR ...
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 ...
0
votes
0answers
6 views

My GPS coordinate does not show. Only my ultrasonic output came out

#include <TinyGPS++.h> #include <SoftwareSerial.h> static const int RXPin = 4, TXPin = 3; static const uint32_t GPSBaud = 9600; // The TinyGPS++ object TinyGPSPlus gps; // The serial ...
0
votes
0answers
17 views

Bluetooth toggle between two master device (Using UART)

we are currently using a BLE Tiny Circuit broad with UART codes. Is it possible to allow two master to connect to the circuit board and the circuit board will be able to transmit data to both ...