Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
65 views

Plant irrigation system

I'm very new to the Arduino game I wanted to make a small auto watering system for my plants. I bought these items 5V 1 CHANNEL RELAY MODULE FOR ARDUINO PIC AVR DSP ARMB 9 VOLT BATTERY SNAP ...
0
votes
0answers
18 views

Output of mlx90614 to mcufriend tft/lcd, not getting displayed

Newbie here !! Im trying to display the output of my MLX90614 sensor on mcufriend tft display (with arduino UNO). But unable to do so. I can only see the TFT being lit to white color, text -> "Target" ...
0
votes
1answer
126 views

Trying to read different gas levels with MQ2 Gas Sensor

I found a link on how to connect MQ-2 Gas Sensor to Arduino Uno. http://electronicsprojectshub.com/how-to-connect-mq2-gas-sensor-to-arduino/ After I bought all the parts and tried it out, the sensor ...
0
votes
1answer
80 views

Communication with sensor KMX63 in I2C

I trying to use a new sensor the KMX63 with a Arduino Uno board, my sensor is on a evaluation board made by kionix. For the connexion il linked as follows: | Pin Uno | Pin evaluation board | | A5 | ...
-1
votes
2answers
144 views

Arduino analogRead fluctuates from sensor unless USB connected

I have an Arduino connected to a 4-20 mA sensor through a current to voltage converter. When connected to the power supply the sensor reading fluctuates, as soon as I also connect it to a USB port it ...
0
votes
1answer
24 views

How to find the time of any point on the graph on an Arduino serial plotter or Processing software?

I am plotting the graph of some sensor values on my Arduino serial plotter which looks something like this - But what I want to do is hover over any point on the graph and display the time at that ...
0
votes
1answer
293 views

How to detect the direction of rotation with a sensor encoder timing disk (photoelectric speed sensor)?

I am making a DIY gaming steering wheel and am stuck. For measuring the rotation of the wheel, I'm using a sensor encoder timing disk, which is usually found in printers. - https://robu.in/product/...
0
votes
0answers
27 views

Detecting a finger snap(basically trying to replicate infinity gauntlet)

I am trying to make an infinity gauntlet. So it's obvious it should have a snap feature(which will switch of a light,motor or whatever). But I don't know how to go about sense this snap. I thought of ...
1
vote
2answers
244 views

Spikes in CO2 and TVOC measurements with CJMCU-811 sensor

Firstly, I'm not sure if this is the right SE to ask this question. Please feel free to direct me somewhere else if needed. I am observing large spikes in CO2 and TVOC measurements using the CJMCU-...
0
votes
1answer
864 views

How to: soil moisture measurement with WaterMark? [closed]

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....
0
votes
2answers
658 views

Managing 2 ultrasonic sensors without blocking the other

I have an ultrasonic distance sensor. When this sensor is measuring a distance below 25 cm, a second sensor has to be measuring a distance below 5 cm. If not, there should be a one minute timespan, ...
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, ...
1
vote
1answer
44 views

Why does the LEDs affect Analog Input?

So I'm working for a project to control RGB Led Strip using microphone or sound sensor with Arduino Nano. I'm using 5050 RGB Led Strip around 120 LEDs, and I control them using simple transistor ...
-1
votes
2answers
60 views

LSM303 unable to compensate tilt

I am working on a tilt compensated compass with the LSM303DLHC. I manage to calibrate the magnetic and accelero part. I managed to calculate pitch and roll. But when it comes to calculate tilt ...
0
votes
2answers
50 views

Arduino sends bad data ONLY when not connected at the launch my application

I'm trying to write a little sensor reading application with a light sensor attached to an Arduino, which writes the information from the sensor over serial. I have written a python program to read ...
0
votes
1answer
22 views

Need help with using pulseInLong to time a sensor

I have a setup consisting of a magnet suspended above a sensor coil. It acts as a pendulum and creates a ~ 4 mV signal when it swings over the coil - this goes through two stages of an LM358 to ...
0
votes
1answer
27 views

How to use DO pin on ldr module?

I have ldr module with 4 pins 1. Vin 2. Gnd 3. AO 4. DO I want to know how can i take advantage of DO suppose i want to turn on lcd display when light falls on the ldr sensor! I have noticed ...
0
votes
2answers
928 views

Get accelerometer values from BNO055 using adafruit's Unified Sensor Library

If I understand correctly using the Adafruit_Sensor one can extract information from the sensor specific information. These sensors are currently mentioned in the README. I am using the BNO055 for two ...
0
votes
1answer
174 views

Arduino ultrasonic sensor project

I'm a newbie at Arduino, and I'm trying to make a project with ultrasonic sensor, I'm using the grove ultrasonic ranger, not the HC-SR04, and I already did test with distance and it worked very well, ...
-1
votes
1answer
27 views

Ultrasonic Sensor as Unlock Sensor

Is it possible to use ultrasonic sensors maybe HC SR04 type as unlock sensors? I'm figuring out if it can replace matrix keypad? For example 6 HC SR04 are used to be an input sensor waiting for a ...
0
votes
1answer
37 views

What are the units of output of soil moisture sensor?

I want to use a soil moisture sensor using arduino uno R3. I am using the analog output. The values are in the range of 100 to 1300 as in the readings mention in this question. May I know what ...
0
votes
0answers
14 views

ESP8266 & 2x VL53L0X Sensors cause WDT resets

I have a system that utilises 2 VL53L0X sensors. This works fine for the majority of time, but after around 20 hours till 2 days (varying), the ESP resets due to Software a WDT, I've managed to do a ...
0
votes
1answer
52 views

I need some help getting data from a rangefinder

I have wired up my range finder (CJVL53L0XV2) to a breadboard for testing and have run the arduino example code for the rangefinder. The rangefinder works, but I do not know how to take the distance ...
0
votes
0answers
15 views

Arduino multiple sensor lib combine [duplicate]

I'm new to arduino. How can i combine these codes? Thx. (I'm using Uno) #include "DFRobot_BNO055.h" #include "Wire.h" typedef DFRobot_BNO055_IIC BNO; // ******** use abbreviations instead of ...
0
votes
2answers
2k views

Determining state of charge using current sensor (ACS758) with arduino uno

I am working on a university project and I am struggling with estimating the state of charge of our batteries, by using coulomb counting. Background: We are supposed to build a power supply for a ...
0
votes
0answers
22 views

Read the respiration data to Arduino serial console

Currently working with ADS1292rShield library. Is there any way to read the value of the respiration and heart rate without using the Protocentral GUI. Printing DataPacketHeader to the console just ...
0
votes
1answer
23 views

Tilt Compensated Compass Using HMC5983 gives inconsistent output

I've been trying to build a tilt compensated compass for an autonomous Arduino car I'm building. I'm having issues with the consistency of my data. This is the code I'm using. #include <Wire.h>...
0
votes
1answer
38 views

DHT11 Humidity/Temp Sensor showing incorrect values [duplicate]

So I am trying to use a humidity sensor with an LCD, but have run into this problem I have yet to fix. My problem is that when it is turned on, it returns the values Humidity: 255% and Temp: 255C. I ...
0
votes
1answer
36 views

Problem with if condition

So my project is including detecting the temperature in the room by using dth11 sensor. my idea is to add 3 LED lights were each light represent the temperature if its cold or hot or perfect. the ...
0
votes
1answer
22 views

NodeMCU V2 ESP8266 - Use 5VIN as power for heater of a MQ-9 Sensor

Right now I'm trying to understand how I could (easily) power the heater of my MQ-9 carbon monoxid and gas sensor. Here is the datasheet: http://www.haoyuelectronics.com/Attachment/MQ-9/MQ9.pdf It ...
0
votes
5answers
5k views

HC-SR505 PIR Sensor only outputting HIGH

I recently bought an HC-SR505 Mini PIR sensor. I connected its positive to my Arduino UNO's 5v, output to digital pin 2, and ground to ground. I used Adafruit's code to test it, but all the serial ...
0
votes
1answer
379 views

Two flow sensors, one ESP32, LCD and/or Arduino

I want to build a flow meter but the Gal/Min rating of something like this flow meter is too low. I am thinking of strapping two side by side with suitable plenums for In and Out. I have found some ...
1
vote
0answers
38 views

Can ultrasonic distance sensor get good readings for a passing object?

I am working on a project where I laid 5 Ultrasonic distance sensors in a string on a rigid wood plank that lays on the ground and points all the sensors upward behind the guy with the bat. When the ...
0
votes
1answer
1k views

Controlling a servo motor with a touch sensor

I want to modify my code to move a servo motor only for the duration of time that the sensor is touched and stop moving immediately when the sensor is no longer touched. The code I have moves the ...
0
votes
1answer
92 views

Shock sensor is not running in the file

I have faced an issue where the shock sensor is not running in the file. My idea is that when the ultrasonic sensor sense that when it is 4cm, the garage door will open. When the car reverses, the ...
1
vote
4answers
4k views

ToF Laser Sensor (VL53L0X) not working

I have this time of flight laser distance sensor: http://www.dx.com/de/p/cjmcu-vl53l0x-tof-laser-distance-measuring-sensor-module-purple-449081#.WSbn52jyi70 The example code of the VL53L0X-arduino ...
0
votes
1answer
2k views

How do I get a nonzero output from my HX711 and load cell?

I am trying to set up a load cell using the HX711 amplifier. Whenever I upload my sketch, my serial monitor only will read zeros regardless of load applied to the sensor (no signal appears to be ...
0
votes
1answer
1k 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 ...
0
votes
1answer
598 views

Writing data from multiple sensors in burst mode to an Arduino Due

I need help developing a simple sketch that can read data simultaneously from 3 analog accelerometers and send it in 'burst mode' to be stored on an SD card, to reduce the effect of latency. I used ...
0
votes
1answer
33 views

end measure process of HX711 with Door Lock magnetic sensor

I'm doing a program that starts the measuring process, using an HX711 when the door lock magnetic sensor spits and, when ends the measuring process when the door lock magnetic sensor joins. if (...
0
votes
2answers
19 views

Connecting two sensors to one analog pin

I am completely new to programming with Arduino so please bear with me if this seems stupid. I am using an Arduino Uno R3. I have two sensors, a Soil Moisture sensor and an LDR Light Sensor. Both ...
0
votes
1answer
213 views

Trying to use Tap Detection solution using ADXL345 with Arduino

I am using ADXL345 sensor connecting with Arduino via I2C interface, I am able to test the data at tri-axial axis but as there are some other features also, which I am going to try with Tap detection ...
0
votes
0answers
69 views

Unable to find/connect I2C devices (SHT31 & SGP30)

I have recently purchased an Arduino Nano 33 IOT together with two sensors: Adafruit SHT31-D (https://learn.adafruit.com/adafruit-sht31-d-temperature-and-humidity-sensor-breakout) Adafruit SGP30 (...
0
votes
1answer
50 views

Sound sensor signals with time bracket

I've tried many codes for this to work but anything isn't helping at all, so my code should work like this: If a sound sensor (3 pins, A2) sends 5 signals into the Arduino within 10 seconds (the time ...
0
votes
0answers
50 views

Whats wrong with my SPI code using uno?

I am stuck reading A1335 sensor through SPI. I have asked on the Aduino forum under the "Networking.." topic but no one is helping. Link to other forum post I have changed the code so many times now ...
0
votes
1answer
45 views

Reading sensor with current ouput with Arduino

I am having diffuclt times with this sensor, so I kndliy ask for your help! The sensor is named "SPUVA-CS-C3535-A", datasheet here. The sensor I use (cs3535) has just two pins (+ and -). From my ...
1
vote
1answer
74 views

How to connect naked camera from mobile phone to Arduino Uno

Okay, guys. I have this 3 cameras(middle from the iPhone 6s, 2 at the side I found, and I think there are from modern phone). I need some information how to connect Arduino Uno to them. I know c/c++, ...
0
votes
1answer
32 views

Soil moisture sensor, weird readings

I'm having a small problem with my soil moisture sensor it gives me weird readings, in the second the smallest connection is made between the legs it just gives me 4096 (which is max possible value),...
0
votes
0answers
91 views

Not able to interface BME280 with Nodemcu v3

I am not able to read bme280 sensor values and have tried many codes online. Please have a look below- code:- #include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_BME280....
0
votes
1answer
66 views

How do I put timers by using millis on 3 PIR sensors?

I want to make the PIRs to stay on for about 1 minute. I've found the code that can do so for 1 PIR, but I dont know how to apply the code for 3 PIRs. Here is the code for 1 PIR with timer using ...

1
2 3 4 5
22