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
0answers
31 views

Simplest/cheapest way to measure furnace gas usage? [closed]

I have an IBC DC 33-160 boiler that burns propane. The boiler can ramp up or down between 33k and 160k BTUs depending on heating requirements of the house. Because of this ramp up/down I can't simply ...
0
votes
1answer
37 views

Voltage sensor Calibration

We had used a voltage sensor unit to measure the voltage of the odroid board using an Arduino Uno. wWhen I uploaded the sketch and got the output, the value which was being displayed was around 4.7 to ...
0
votes
0answers
21 views

Question about controlling servos with PWM while being able to accurately read the current from a sensor

Hi I am hoping to design a custom board ATMEGA32u4 with practically a Arduino leonardo bootloader. I plan to control up to 12 servos while being able to read back the current sensor voltage of an ...
0
votes
0answers
26 views

NodeMCU with digital sound sensor - Can't find examples or good documentation

I'm very new to this world, and trying to hack one of my first projects have proven hard without solid documentation or examples to copy like I usually do. I've got a https://www.gearbest.com/...
0
votes
1answer
29 views

Digispark Attiny85 ultrasonic sensor input problem

I was trying to use ultrasonic with digispark Attiny85 board and used separate pins for trigger and echo, and used MM5451 led controller as a display, I uploaded the code successfully the problem is ...
1
vote
1answer
33 views

Arduino based fully controlled aquaculture

I am doing a project on aquaculture,so I am using temperature sensor, water level sensor, dissolved oxygen sensor, pH sensor and also 4 motor's and water heater is it possible for a single Arduino to ...
0
votes
1answer
93 views

Nan values in Egg Incubator

I've recently built my Arduino Incubator, which consists of a DHT22 sensor, an LCD Keypad Shield, some fans, resistors, e.t.c. I uploaded the sketch, and everything seemed fine. However, when I try ...
0
votes
2answers
36 views

What is the typical form for a finished Arduino project?

I just started with Arduino. I am an experienced software developer so the programming side was already mostly known to me, and I am surprised at just how easy Arduino have made the hardware side of ...
0
votes
0answers
9 views

Capturing SBAS GPS packets

I have an Adafruit Ultimate GPS using a PA6H module (datasheet) with PTMK command packets (command set sheet). I have it connected to my PC via Arduino and want to be able to read the SBAS data (...
0
votes
0answers
36 views

Sensors are not function with ESP8266 WeMos-D1R2

I attached all sensor into the Wemos-D1 for uploading the sensor data to the server. but when I upload the data to the server, it connects to the server but cannot save the data into the database and ...
0
votes
0answers
4 views

HB100 microwave sensor impedence question [migrated]

The patch antenna on these are minimal. I would like to cut the feed point and tap it with a short length of UT141 ?? to feed two 10ghz horns. Does anyone have a guess as to the feed point impedence ? ...
0
votes
0answers
24 views

Sharp IR sensor

I want to measure an inner diameter with a distance sensor . First i used ultrasonic sensor . But always i gives wrong answers . When actual distance is 295mm the sensor gives me 210mm. This gap is ...
-1
votes
0answers
28 views

Why tcs3200 color sensor , sd card reader and speaker aren't working at the same time?

I'm trying to create a project which is going to useful for some blind people who needs to choose colors and i have TCS3200 color sensor , sd card reader and a speaker. I can see the colors name on ...
0
votes
1answer
42 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, ...
0
votes
1answer
30 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 ...
3
votes
1answer
27 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
31 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
36 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
51 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
28 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
1answer
37 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
1answer
32 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
73 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
40 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
67 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 ...
-1
votes
0answers
30 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
27 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
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
61 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
48 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
108 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
67 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
37 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
26 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
83 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
48 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
38 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
59 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
93 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
65 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
64 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
46 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
1answer
30 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
93 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
32 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> #...