Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sensors]

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

0
votes
1answer
22 views

Will this sensor work with arduino?

I'm building an electronic gate. I'm needing a photoelectric sensor to detect cars. This one in the link looks decent. it runs on 12v so I will need to power it separately from the arduino. But does ...
0
votes
0answers
19 views

FSR Sensor to keep pressure in 7 seconds?

I have a FSR sensor, where I need to ensure that it has a pressing value of at least 250 in 7 seconds. The values are not important, but needs to be above 250 in 7 seconds in order to run an other ...
2
votes
1answer
9 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-...
0
votes
0answers
25 views

Human body height sensor

I am making a Weight-Height measurement device. Brief looking of a product has the same principle : So in height measurement, I've tested HC-SR04, For normal height it measured a 191 cm as an ...
0
votes
0answers
25 views

How to transmit Float sensor values via NRF24L01 module?

I'm trying to figure out a way to transmit four sensor values: Voltage, Current, Power and consumption but I'm unable to do that. Yet, my syntax is correct... what am I missing? #include <SPI.h&...
1
vote
1answer
46 views

Arduino Power Consumption

I am pairing an Arduino Uno along with both a HC-05 bluetooth module and a sensor circuit. Show below is the circuit conditions as well as the circuit. As far as powering up the system, I am ...
0
votes
0answers
17 views

MHZ19 + Debug via Putty: Network error: Connection timed out "

I am combining this library to read my mhz19 with RemoteDebug over Putty but I am not getting any output in Putty. I don't know if the problems comes from the way I upload the file or from my sketch....
0
votes
0answers
28 views

How to connect 12V proximity sensor to Wemos D1mini with 3.3V logic? [closed]

I'm trying to find a way to connect 12V proximity sensor to Wemos D1 mini (GPIO input should be 3.3v). The sensor gives low state when obstacle is detected and high state (12V) otherwise. Do you have ...
0
votes
1answer
30 views

Ultrasonic sensor showing weird reading

When i run a test code in Newping library for ultrasonic sensor SR04 then in works properly but when i run the actual code for obstacle avoiding robot then it shows 0 cm everytime. This means that ...
0
votes
0answers
24 views

Measuring small forces

I need to measure a really small pressure. I tried using a FSR sensor but its not triggering because my weight is too light. Is there a way to increase the sernsitivity of a FSR resistor? Using this ...
0
votes
1answer
28 views

I can't make more than one arduino gas sensor work at the same time

I'm doing a school project in which I need to track different kinds of gases, the problem is I can't read more than one sensor at the same time, I'm using four sensors (mq5, mq7, mq8 and mq135) and ...
0
votes
1answer
34 views

How to read the raw data from GY-85 module?

This module has 3 sensors. Gyroscope, Accelerometer and Magnetometer. I think I'm reading the raw data in the wrong way. For example, for the magnetometer HMC5883L, I'm using this code which I ...
0
votes
1answer
11 views

Connecting Winsen ZE11-C2H4 Sensor to Arduino

How should I connect the ZE11 Ethylene Sensor to an Arduino Uno? I want to know how to attach the pins of the sensor to the Arduino and which resistor I should use. I'm very unprofessional at working ...
-2
votes
2answers
63 views

Turn on Indicator LED if Moisture Sensor Value >= MaxDryness for longer than 20 min

Hi so I am making a self watering flower pot with a moisture sensor and a peristaltic pump, the code is as follows: I want to add an indicator LED which turns on if the sensor value has been equal to ...
0
votes
0answers
28 views

Arduino “real time” noise level detection?

I live in a noisy area and want to build a device which just streams the noise level (decibel for example) to Google or AWS IoT. There I then want to show the noise during the night and from where it ...
0
votes
1answer
16 views

The Capacitive Sensor library on a D1 Mini

I want to set up a hand-made capacitive sensor on a D1 Mini, as in this tutorial, so that I can get specific capacitive readings. But I couldn't get the CapacitiveSensor library to work with the D1 ...
-1
votes
1answer
42 views

esp8266 WiFi Cannot Connect to a PHP Server

I am using a magnetic float switch sensor to monitor water level in a tank. I am trying to send the data collected by it to a php page in a host called "weris.link". I've checked the WiFi ssid and ...
0
votes
0answers
33 views

LDR with Arduino

I wish to know if it was somehow possible to stimulate a servo based on the count of times the LDR sensed a value below 500 within a time period of some seconds and the count resets after each ...
0
votes
1answer
39 views

Multiple sensors connected to Arduino MEGA 2560 Serial ports

I am using Arduino MEGA 2560 to read values from two sensors. Sensor 1 is providing us two values separated by a comma and a space followed by a newline character. e.g.: 2.277, 7.942 2.269, 7.897 2....
0
votes
1answer
44 views

Can't make ultrasonic sensor work with motor controller

I just started using Arduino Uno, I can't get the ultrasonic to work ,with motor controller board, the output value is always zero. Just to make sure I'm talking about the correct stuff: I used this ...
0
votes
1answer
83 views

Combining two code of two sensor in one program

I'm using two sensors, which is Galvanic Skin Response sensor and Heartrate sensor. The problem is that when I combined both of the codes, the only output that is showing up is from Heartrate only ...
0
votes
1answer
55 views

How to write a script if water sensor comes into contact with water for more than 2 mins and LED lights up

I am a newbie to arduino and programming. I would like to come out with a code for water sensor to detect the presence of water for more than 2mins before lighting up the LED lightbulb. Currently ...
0
votes
2answers
33 views

How to read sound sensor readings and light up sensor with water sensor if the readings is above threshold & when water is detected for 2 mins?

I am student that is new to Arduino and working on a project to trigger an alert if the sound level detected exceeds the threshold for a period of 2 mins. But I am stuck, would like to check how do I ...
0
votes
1answer
38 views

Why my light meter's values are blank on Arduino Serial Monitor?

I tried to represent the values of TSL 2591 Adafruit light sensor on my Arduino Serial Monitor, but for some reason, I could not do that. The Arduino Serial Monitor just enters some blank values and ...
0
votes
1answer
22 views

Hot Swap Sensor

Is there a way to have a sensor be hot swappable, as in it can be disconnected and reconnected without locking up the Arduino? I have an I2C sensor that I want to be able to disconnect and reconnect ...
0
votes
1answer
74 views

Unstable analog sensor readout

I have the Arduino Uno (non-original replica) board, general SPI lcd, and GUVA-S12SD analog UV sensor module. The board (powered via USB) reads the data from the analog pin 0, converts it to voltage (...
0
votes
2answers
22 views

What is the best serial communication method between an Arduino and a spectral sensor?

I have an Adafruit AS7262 visible spectral sensor. I want to receive the data of the sensor with an Arduino. The sensor has two serial communication options: UART(asynchronous) or I2C(synchronous). I ...
0
votes
1answer
47 views

I have the code printing the data I need but don't know how to connect the data on ESP8266 IP web server

#include "DHT.h" #include "NewPing.h" #include <SoftwareSerial.h> #define DEBUG true SoftwareSerial esp8266(11,10); #define DHTPIN 2 // DHT-11 Output Pin connection #...
0
votes
1answer
32 views

ADC noise when sharing ground from external supplies

i have resistor based sensor, when i test it using arduino connect to PC using serial monitor without sharing ground to other circuit it has a nice value between 300-650 in adc range and the error/ ...
0
votes
1answer
33 views

NODEMCU 1.0 HX711 Load cell reading weird text

Hi Guys! i have a problem with the reading with my NODEMCU where i tried this code on an arduino UNO it is working perfectly fine but until i tried to switch it to NODEMCU 1.0 which have a wifi ...
0
votes
1answer
31 views

Can an ultrasonic sensor differentiate b/w objects?

Can we potentially use an ultrasonic sensor to differentiate between objects based on the reflective capacity of the object? For example to differentiate between metals and biodegradable wastes.
0
votes
1answer
58 views

Problem with Pulse Sensor signal

I'm making alarm with input from pulse sensor. When it detect high heart rate then it send a text message. Everything works fine when i am using potentiometer (as input) for simulating triggering SMS. ...
0
votes
2answers
55 views

My Ultrasonic sensor is only showing 4cm range?

I am using an ultrasonic sensor SR04 with Arduino Uno and a sample program which I got from the library. However, my output reading is only 4 cm even when there is no object in front of it. I even ...
0
votes
2answers
50 views

Can a 150 PSI Pressure Transducer accurately measure up to 30 - 40 PSI? [closed]

I have an Arduino project which requires reading pressure data from a pipe. The best pressure transducer I have been able to find is this one. Seeing as though its max pressure is 150/200 PSI, will ...
1
vote
2answers
45 views

How to convert this sketch to keep only one if-else statement? [closed]

int ldrPin = A0; int rainPin = A1; int smokePin = A2; int greenLED = 6; int redLED = 7; // you can adjust the threshold value int thresholdValue = 500; int LightSensorThreshold = 500; int ...
0
votes
1answer
30 views

Can you help me combining these sensor sketches as one in Arduino [closed]

I want to combine these three sketches into one. RAIN SENSOR: int rainPin = A0; int greenLED = 6; int redLED = 7; // you can adjust the threshold value int thresholdValue = 500; void setup(){ ...
0
votes
0answers
26 views

Kinect-Arduino integration tutorial?

I have found many projects utilising kinect and Arduino to do move servo motors and I intend to do the same but I couldn't find any tutorial telling step by step how to program the kinect and ...
0
votes
1answer
28 views

Does a normal Ultra-Sonic sensor (HC SR04) sense through a Football Net like obstacle? [closed]

I am planning to to use ultrasonic sensors mounted on a drone for obstacle avoidance. I am not sure if the sensors would be capable of detecting a Net Like obstacle in its path.
0
votes
1answer
33 views

Unfamiliar error on code about port(s) [closed]

here is the code: #include "DHT.h" #include "NewPing.h" #define DHTPIN 7 #define DHTTYPE DHT22 #define TRIGGER_PIN 10 #define ECHO_PIN 10 #define MAX_DISTANCE 400 NewPing sonar(...
0
votes
1answer
59 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
24 views

Quaternion values from BNO055 not available

I am trying to obtain Quaternion values from a BNO055 connected to ESP32-PoE board by Olimex. Code #include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_BNO055.h> #...
0
votes
2answers
78 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
2answers
35 views

Arduino Force sensitive Resistor with an lcd

So we were asked to do something with a force sensitive resistor so naturally i thought of a project which takes the name of the main component which is force and applies it ,mine works by as you ...
1
vote
0answers
42 views

What are the specific pins to connect the following : DHT 11, ULTRASONIC SENSOR, ESP8266 and arduino uno? [closed]

I researched a lot on how to connect this devices to each other to get the data from ultrasonic sensor and DHT11. But it wasn't clear on how I will connect the devices on their pins. I found one ...
0
votes
1answer
37 views

Reproducing a Fiber Optic Shape Sensor with Arduino?

I want to be able to track the curvature of a human arm as it straightens out and retracts (ex: like live tracking a bicep curl). I don't want to use resistive flex sensors. I've been trying to find ...
-1
votes
1answer
85 views

How to create a weather station with only GY-BME280-3.3 chip and w5100 Ethernet shield mounted over arduino mega 2560 r3

Want to create a weather station with only GY-BME280-3.3 chip and w5100 Ethernet shield mounted over Arduino mega 2560 r3 but I have no previous experience with Arduino. And The Arduino will be hooked ...
0
votes
2answers
83 views

How to Connect ESP8266 with ultrasonic sensor and dht11 without breadboard? [duplicate]

I want to connect the sensors in Esp8266 after I code those using arduino uno r3. The problem is that I don't have the idea on connecting those sensors without breadboard. Thank you
0
votes
3answers
148 views

(ultrasonic sensor code : No such file or directory)

I'm beginning in Arduino I do not understand what the error means. Please tell me where I can find the resources to understand it and allow the code to compile. #include <RCSwitch.h> #include &...
0
votes
0answers
28 views

How to make arduino as a client and send the data collected by the arduino to a web server via ESP8266 [duplicate]

I am working on an IOT project where Arduino as a client and send the data collected by the Arduino using Current Sensor ACS712 to a server which is hosted over the internet. Where I can store and ...
0
votes
2answers
103 views

Connecting two Arduinos via I2C while I2C Pins A4/A5 are already in use

I have the following problem: Since the BH1750 Sensor only supports two different I2C adresses, but i need to use 6 of those sensors, i wanna use 3 arduinos, 2 nanos, 1 uno and send the data from the ...