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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

0
votes
0answers
16 views

connecting multiple sensors [on hold]

i want to connect a humidity,moisture and temperature sensor to a micro controller which controller shall i use and how?
-2
votes
0answers
35 views

The best humidity sensor available?

I am working on a project requiring very precise humidity control, preferably in 40 to 90 percent RH, for that I have been looking for a reliable andaccurate humidity sensor. I am using an Arduino ...
-1
votes
0answers
5 views

Ads1292r - printing filtered ecg data [on hold]

I am using one of the libraries from Protocentral and their ads1292r shield. I am trying to print filtered ecg data to serial monitor, but I am not sure I am getting the right values. This is the ...
0
votes
1answer
63 views

Run piece of code based on a feature

I am an engineering student completely new at using Arduino so my following question might be silly but still. I do not think you'll need to get the entire code so I am only going to expose the idea. ...
0
votes
0answers
36 views

Seemingly free floating and too high voltages

I have connected a moisture sensor, a usual LDR, a BH1750 and 4 DS18B20 sensors to my Adruino MKR GSM 1400. A few days ago everything worked fine when mounting it to a breadboard. But now for some ...
-2
votes
1answer
16 views

Can 1xArduino handles input from rotation sensor and output to stepper motor? [closed]

Complete Arduino rookie here. My little project requires the measurement of the speed of rotation of a disc using a sensor (possibly rotary encoder), and based on the speed the stepper motor position ...
1
vote
1answer
64 views

Interrupts Problem with Flow sensor

#include <Wire.h> //I2C lib #include <LCD.h> #include <LiquidCrystal_I2C.h> // LCD lib LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); const int pot_pin = A0; const ...
0
votes
0answers
10 views

Send quaternion values over BLE instead of fusionData.x()

I'm using a 9 axis sensor to determine the angle of rotation (ST LSM9DS1 9-Axis DOF) In the main script the following function is called to get one of the angles, in this example it is the angle with ...
0
votes
0answers
17 views

Controlling servo motors with Takktile sensors

I'm currently working on a project, and I was wondering if I can control two servo motors with the feedback from Takktile sensors(by only the pressure feedback). Since I'm quite a newbie in this area, ...
0
votes
0answers
20 views

Why pulse sensor give high bpm?

I make project to detect bpm with pulse sensor, I try use sample code from Pulse Sensor Playground Getting Bpm to Monitor. this is the code : #define USE_ARDUINO_INTERRUPTS true #include <...
1
vote
1answer
36 views

Arduino sensing its 'Motion'

I am working on a project where I need the Arduino to 'sense' at what direction its moving. For example, I want the Arduino to 'sense' that it is moving towards 'forward' direction, 'backwards' ...
0
votes
1answer
23 views

Caluclate lux value from LDR

I am using an LDR (Iduino SE012) to measure light. It returns a 10-bit value of the incoming voltage and I don't know how to convert this into lux, lumen candela or any other light-intensity unit. I ...
1
vote
1answer
47 views

How to detect water presence with only 2 wires

I don't know if this question belong here or on electronics SE. A manufacturer just sent me a personalize device which include an ESP-32 and a Water Sensor. My problem is that I don't know how to ...
-1
votes
1answer
36 views

I can't manage to upload multiple sketches [closed]

I'm doing a gardening project. It involves multiple sensors and even having the sketches for them, I don't know how to make them run together and get a reading on them at the same time. I'm really new ...
1
vote
1answer
49 views

DHT11 Sensor : Stand-by or Shut down?

I have an ATmega328P monitoring room temperature and humidity. It is enough for me to monitor every 8 seconds. In these 8 seconds, I am putting my Atmega to sleep. Now , I want to know : Does ...
0
votes
0answers
17 views

TM1637 is showing error [duplicate]

When I try to use the 4-digit display TM1637 with the relevant library on an arduino UNO board this error message keeps popping up.Please help me trouble shoot what is wrong with this device ? the ...
0
votes
1answer
26 views

How to properly link an Arduino and its sensors [closed]

To finalize a prototype, I would like to have a proper structure containing the arduino (uno here), its shields and its sensors. I would like the sensors to be soldered to the arduino+shields block, ...
1
vote
1answer
19 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 ...
-2
votes
1answer
51 views

hx711 and load cell read out 0 for calibration

I'm using this tutorial from Sparkfun https://learn.sparkfun.com/tutorials/load-cell-amplifier-hx711-breakout-hookup-guide And using THEIR code. The only difference is I added a delay so it wouldn't ...
1
vote
3answers
44 views

How to filter or eliminate earths magnetic field readings around 3D Magnetic sensor?

Im using the SparkFun MAG3110 3D sensor: https://www.sparkfun.com/products/12670 My application is essentially to make a contactless "magnetic joystick" using a local magnet for accurate and constant ...
0
votes
1answer
35 views

State machine waiting for input state isn't getting input states for unknown reason

I have a state machine program used to monitor sensors and activate relays that has been used and adapted on multiple machines and it typically performs exactly as needed. I am attempting to adapt the ...
1
vote
2answers
33 views

Powering Atmega328P-Pu externally [closed]

Please I'm new to Arduino and I need assistance. I'm working on a project which makes use of the ultrasonic sensor to make a certain pin high if a certain distance is attained. When I used the USB ...
1
vote
3answers
44 views

Touch Sensor - Determining Pressing/Hold Length and Modifying Program Flow Accordingly

The code below is used for controlling a relay with an Arduino. Pressing the touch sensor connects and disconnects the relay. If the user presses/touches/holds their finger on the touch sensor for ...
0
votes
1answer
11 views

Trying to connect FT sensor to Arduino Mega using RX TX

I am trying to interface this sensor, https://www.robotous.com/forcetorquesensor (RTF60-HA01-C), with the Arduino Mega. The sensor has an input voltage of 5Vs and communicates using CAN/RS232/RS422. I ...
0
votes
0answers
24 views

Main loop not executing after calling other void function

I am using Teensy 3.2/ Arduino micro to develop an air quality monitoring system. The principle is quite easy. Get the data from the sensors, (PM 2.5 ,CO2) , Send it back to Teensy to calculate one ...
0
votes
1answer
27 views

Make system with ultrasonic sensor and servo

I want to create a system where the servo will make the ultrasonic sensor move and detect the area in front of it. I have made the program but when run the ultrasonic sensor can not detect as usual. ...
0
votes
0answers
27 views

MAX6675 gives a climbing reading

I am using a MAX6675 board and a k-type thermal couple to measure temp. The problem is even when running the example the temp value keeps climbing. MAX6675 test 27.25 C = 27.25 F = 130.10 109.00 C = ...
-2
votes
1answer
31 views

a code problem for arduino GSM 1400 to send a SMS when tilt movment is detected using accelerometer [duplicate]

There is a mistake in the design implementation of the code probably in if statment - when using the serial monitor it repeatedly shows printf() statements from the code instead of "Sending SMS ...
0
votes
1answer
28 views

Using a DFRobot Voltage Divider

I'm reading on the DFRobot website to implement this Voltage divider: Analog Voltage Divider SKU: DFR0051 void setup() { Serial.begin(9600); } void loop() { float val; float temp; ...
2
votes
1answer
73 views

Communicating with magnetic sensor - TLV493D-A1B6 over I2C

I'm using the TLV493D-A1B6 sensor connected to an Arduino Uno: I've attached all necessary documentation at the bottom. This is a 3D magnetic field position sensor that detects the magnetic field ...
0
votes
0answers
44 views

Reading data from Adafruit SGP30 Air Quality Sensor

I am trying to conect Adafruit SGP30 Air Quality Sensor to arduino nano and get values from it, but it seems that my code is not working properly. I followed instruction on the adafruit webpage, ...
0
votes
0answers
19 views

Grounding analogue signals through ads1115

Quick question - I have some pretty expensive gas flow sensors outputting a 0-5V signal, which need at least 2.5 KOhms minimum load. Can I connect them to the Adafruit ADS1115 breakout (ADS1115 chip, ...
1
vote
1answer
72 views

What is this? Looks like a sensor

I got an Arduino kit from my dad. But inside this box is a thing, maybe a sensor. But I can't find what it is. Anyone recognize this 'thing' on the picture?
0
votes
1answer
50 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 ...
0
votes
1answer
47 views

Waterlevel sensor disrupts PH reading

I have a water level sensor and a PH sensor connected to my nodemcu via an ADS1115 . When I insert only the PH sensor into the water then everything works fine. But when I insert the waterlevel sensor ...
3
votes
2answers
498 views

What is a simple way to measure the ambient light?

I want to install some LED stripes on my motorcycle, i.e. as brake light and indicators. I use WS2812 LED stripes which can be very bright - especially with many LEDs on at the same time. I want to ...
-1
votes
1answer
39 views

How to track a pressure sensor from analog inputs? [closed]

I am a beginner with arduino. I have been researching pressure sensors composed of 2 conductors that sandwich a layer of velostat. My understanding is the velostat when compressed creates resistance ...
1
vote
0answers
38 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
votes
1answer
58 views

How to make my servo slow down in it´s movement

I want to make my servo react on the data that my light sensor tells him by the amount of light that it is catching. I want the servo to go fast to the left when there is shadow/darkness and then I ...
2
votes
2answers
57 views

How to measure room light without LEDs interfering?

I'm trying to measure the light in a room with a simple circuit: a phototransistor connected in series with a resistor. An LED strip changes brightness according to the brightness level in the room. ...
-1
votes
1answer
49 views

I want a code for 6 LDR/LED pair

Each LDR is connected to one LED because I am doing a parking lot model. I have tried but with no luck. Help! int ledPin = 11; int sensorInput = A0; boolean ledIsOn = false; void setup() { ...
0
votes
1answer
41 views

Arduino or Raspberry? Self Balancing robot

Here's another one, as you probably have seen before. I'm finishing college, and I'd like, base of my subscription to be a self balancing robot that can send data to a screen. What kind of data? I am ...
0
votes
2answers
38 views

Sensor to measure distance on inverted pyramid filled with maize

I'm struggling with the following problem: I have an inverted pyramid, supported in four points, filled with maize up to 600KG. I want to keep track of the level of maize inside the inverted ...
0
votes
2answers
124 views

3 sensors and wemos d1 r1 and web

I need to build an app that will display on browser data from 3 sensors. My 3 sensors are : Humidity and temperature( DHT22), vibration sensor () and distance sensor ( HC-SR04). I want to connect ...
0
votes
1answer
37 views

DLHR differential pressure sensor SPI

I am new to using SPI with an Arduino. But I'm trying to wrap my head around the "coding protocols"/syntax of the Arduino IDE code. I understand the basics of how SPI works conceptually, just not how ...
1
vote
1answer
40 views

Connecting two sensors with bluetooth

I am new with Arduino. Im working in a school project, and I decided to create a glove with shock sensor for goalkeepers and need a ultrasonic sensor next to the ball, so i can know when the ball was ...
0
votes
1answer
33 views

Best method of detecting peg in hole [closed]

I’ve got a large wall with 1” holes scattered about. I’ve got some wooden pegs that fit perfectly into these holes. Now I’m thinking of creating a light installation based on the pegs, but i’m ...
0
votes
0answers
30 views

Issue in transferring the serial communication data over radio using NRF24L01 and Arduino Uno

I am trying to transfer data recorded by one of my Arduino UNO boards (which is recording temperature data using DHT11) to another board that could be UNO or WeMos D1. The problem is that the UNO ...
0
votes
0answers
54 views

Waterproof ultrasonic sensor probe and arduino

I want to build myself a parking sensor using Arduino and I found on Ebay multiple solutions, but I was wondering, is it possible to make only the probe work with Arduino? Does anybody has an idea ...
0
votes
0answers
48 views

ESP8266 and DHT22 frequent hangs

I have DHT22 sensor attached to an ESP8266. When running a sketch that read the sensor values, it suffer from frequent hangs (something like each 1 second). All outputs are stopped (Sound from ...