Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
205 views

Print when echo is read by HR-S04 sensor

I'm trying to see when an echo is received by my HR-S04 sensor. I have a Serial.println within my while loop to read the signal and see once a change happens to break the loop. The issue is my serial ...
1
vote
0answers
29 views

HELP! I need this for my project [closed]

This is for my project and I hope I can get the answer here. Can I have RFID module as my attendance and at the same time Fingerprint Scanner connected to solenoid lock for security using only one ...
0
votes
1answer
2k views

How do we connect 2 FSR sensors to an Arduino Mega?

One can connect an FSR sensor (a force-sensitive resistor) to an Arduino via 5V, Gnd, and A0 port (as below, according to an adafruit.com page), but how will it work for two of them instead of one?
1
vote
2answers
332 views

sro4m-2 waterproof ultrasonic sensor

I bought this waterproof ultrasonic sensor about 5 of them with the part number SR04M-2 Written on the PCB silkscreen Which is different from the usual SR04t-0.2, they are just not working, I don't ...
1
vote
0answers
33 views

Trouble with laser sensor

I have trouble with my laser sensor it doesn't work properly. When I connect all pins its doesn't work, when I remove GND and connect just the signal pin and VCC it works but the laser light is dim(I ...
0
votes
1answer
133 views

ATMega1284 and Relative Humidity libraries

I am trying to use some Relative Humidity sensors (DHT11 and DHT22) with the ATMega1284 processor on a breadboard. I use libraries from Arduino playground (dht.h), Adafruit (DHT.h) and others. Even ...
0
votes
1answer
38 views

Convert fuel level sender resistance ranges - good Arduino project?

I've noodled around with Arduino a bit, worked some tutorials. I have an engineering & programming background, but electronics isn't my first language. So apologies if this is a dumb question. ...
0
votes
1answer
45 views

MAX31865 and PT100 problem

I have a strange problem with the MAX31865 and the PT100. Every time when I start the system it shows that the temperature is -242 and the RTD value is 0 and so on. But When the system is in the loop()...
1
vote
1answer
28 views

Sense person connected to TENS unit

So let's say I use a store-bought TENS unit for liability. I want to make a challenge where you need to hold on to the TENS unit for 10 seconds before it activates a solenoid. How can I have an ...
1
vote
1answer
27 views

Having trouble with MPU6050 and AFE4404 printing together, potential conflict?

I am having trouble getting the two sensors to work together. There are a total of four sensors connected to the Arduino, and while the MPU and AFE individually work fine with the other two sensors, ...
0
votes
1answer
44 views

Built-in LED lighs up spontaneously

I'm trying to connect my ESP32 to this CO2 measurement device. I admit I am clueless about connecting devices with independent power sources to one another. I connected ground to ground and CLK to ...
1
vote
0answers
26 views

Arduino Ultrasonic Sensor AnalogRead

i have an ultrasonic sensor. The sensor normally works stably. But I have to carry the data cables of this sensor for 50 meters and take reading. When i do this, when I extend the cable, the values I ...
1
vote
0answers
45 views

Weight based Servo Trigger

I have a 20KG Load cell with an HX711 and I am looking to trigger servo movement if the load cell detects a predetermined weight reading. Is anyone able to please help with the coding for this or ...
0
votes
2answers
31 views

Switching time of a multiple input switch

I basically have two switches Both switches will be pressed simultaneously in different order I want to know which switch was pressed first
0
votes
1answer
23 views

Arduino with bmp280 sensor not entering void loop

I've been working on a project in which I need to know my altitude. For this purpose I've been using the BMP280 sensor. But I have an issue. I've been trying to test if the sensor works with the ...
2
votes
2answers
320 views

Is it bad practice to multitask without timing constraints

Going through resources such as several things at the same time and with some greatly appreciated assistance on here I'm finally getting a grasp on how to multitask a microcontroller. Most examples ...
1
vote
1answer
27 views

Multiple IR Sensors with Arduino

I am fairly new to working with sensors and Arduino. I am working on a project using Max MPS to control the volume of three audio files. There will be three framed photos, each having its own IR ...
0
votes
2answers
59 views

Can a 12V sensor connected to a 5V output signal of an Arduino Uno

I am doing a project for object detection. But my problem is I'm using a 12V photoelectric OMRON sensor to connect with 5V Digital PWM port 3 on Arduino using normal coding. Do I need an extra circuit ...
2
votes
1answer
1k 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
38 views

Vernier to Arduino not working

I want to connect this analog Vernier temperature probe to my Arduino with this British Telecom Connector (BTA). According to datasheet, when sensor is in the connector, the PIN 6 of the connector ...
1
vote
0answers
50 views

R307 Fingerprint Sensor working with more then 1000 fingerprints

I want to integrate fingerprint sensor in my project. For the instance I have shortlisted R307, which has capacity of 1000 fingerprints.But as project requirement is more then 1000 prints,so I will ...
1
vote
0answers
39 views

IR receiver receives only 0

I am trying to decode IR codes of my Samsung tv remote But the receiver always receiving "0" Schematics: Code: #include <IRremote.h> int RECV_PIN = 11; IRrecv irrecv(...
1
vote
1answer
73 views

Can I use TCS34725 Color Sensor with Lilypad?

I have been trying to get TCS34725 color sensor working with LilyPad Arduino USB - ATmega32U4 Board but with no success. I am wondering if it possible? I have been using the following Sketch to try ...
1
vote
2answers
118 views

Detecting different objects closeness

iam currently working on a new project, where i would like to detect the existence/closeness of several objects around the arduino up to like 1 meter. I was thinking about an rfid setup, but as the ...
0
votes
1answer
25 views

Can I run 3 motion sensors with a voltage regulator?

I want to power 3 hc-sr501 PIR motion sensors with a voltage regulator that can output 5v-1A. If I make such a system, will there be a noise?
0
votes
1answer
98 views

Error compiling code for Arduino/Genuino Uno. “multiple definition of `__vector_7”

#include <PulseSensorPlayground.h> int pulsePin = A0; // Pulse Sensor purple wire connected to analog pin A0 int Redled = 7; // The pin for the Red LED which notifies you if ...
1
vote
1answer
40 views

How many sensors can an ARDUINO UNO support? [closed]

I'm doing a project that requires me to use 4 different sensors, namely a load sensor, RFID tag sensor, 2 IR sensors and a Hall effect sensor on one Arduino Uno board, along with a L293D motor ...
1
vote
0answers
47 views

LCD display interfaced with Arduino Uno not displaying values

I am a beginner on Arduino. I have a project that I will only be using: a heart rate sensor whose values I am displaying on an LCD display. The code compiles and uploads once I set my project up, but ...
1
vote
1answer
103 views

Arduino Mega prototype analog timer interrupts: newbie question

I am currently using an Arduino Mega with a fast vibration sensor to trigger the components operation (force sensor, temperature sensor) and also toggle sleep mode. I am very new at this and I have ...
1
vote
0answers
43 views

How to get sound from analog pin of arduino play it through other pin using speaker [closed]

I am working on a small project on sound detection of lungs. I want to get the sound using a sound sensor and play it on a speaker in real-time using Arduino. Please suggest to me a good sound sensor ...
0
votes
0answers
41 views

Arduino sound sensor problem

Hello everyone can someone help me? I tried my Arduino sound sensor but it has a problem. When I connect VCC and GND sound detect led always working but it should work only when it detects noise. Does ...
1
vote
0answers
20 views

Help- Optical Sensor interfacing with Arduino

I am a newbie and I wanted to know if it is safe to connect this NPN output sensor directly to one of the GPIO pins of the Sparkfun redboard. Do I need some extra circuitry or components? Thanks
1
vote
0answers
30 views

MAX30102 showing Heart rate: 0.00bpm / SpO2: 0%

I am using a MAX30102 to monitor SpO2 and heart rate using the https://github.com/oxullo/Arduino-MAX30100 library and the minimal example, but it is not showing any value change. It only shows zero ...
2
votes
2answers
1k views

MAX30100 not working

I am unable to get the MAX30100 sensor to work It keeps throwing the following error: 16:06:32.936 -> Initializing... 16:06:32.936 -> MAX30105 was not found. Please check wiring/power. I am ...
1
vote
1answer
70 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 ...
1
vote
1answer
48 views

Using Capacitance-to-Digital converters AD7150 or AD7747 to measure fluid levels

I'm looking to measure the fluid inside a polyethylene waste holding tank with walls 10 mm thick. This is typical of a boat or RV. I'd like to measure using proximity sensing capabilities of ...
1
vote
0answers
17 views

Problem with sending sound sensor data to app using ESP32 over BLE_UART

I was working on Adafruit Electret Microphone Amplifier - MAX4466 with Adjustable Gain and ESP32. I want to send data to an app using BLE UART I have printed data to the serial monitor or serial ...
1
vote
0answers
24 views

error ph meter cant show the data [duplicate]

im using ph meter DFROBOT v1.0 at i compiled the code from the DFROBOT web this is the code * # This sample code is used to test the pH meter V1.0. # Editor : YouYou # Ver : 1.0 # Product: ...
1
vote
0answers
25 views

Hall Sensor (Fluid Flow) “Noise”

Kind of a fringe question here, but could not find anything concrete so figured I would throw it to this great community. I have 2 DS80 flow meters (Hall Effect Sensor type flow meters - nothing ...
-1
votes
1answer
33 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 ...
1
vote
1answer
1k views

How do I use a photodiode for arduino?

I am doing a project that requires me to program an arduino to sense changes of a steady stream of light due to the scattering of that light. If the phootodiode does change its resistance to the ...
1
vote
0answers
21 views

Strain Gauge with HX711 Load Cell Amp

I am trying to get a strain gauge working with the HX711 load cell amp. I posted about this a few months ago and got told to get some high precision resistors for the wheatstone bridge. I have now ...
1
vote
2answers
103 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
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
3answers
1k views

How to sense snow and ice?

We are building an outdoor snow melting system for the pavement. It would be nice if it could turn on itself only when it is needed: if there is snow, ice in the surface or the pavement is wet and the ...
0
votes
2answers
35 views

Which Arduino-Board do I need?

I want to use a single Arduino board and link it to both the ANALOG CO2 GAS SENSOR (MG-811 SENSOR) and ANALOG PH SENSOR - METER KIT. I was wondering if the Uno Rev 3 had enough pins or do I have to go ...
0
votes
2answers
1k 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 ...
1
vote
0answers
33 views

Changing the servo motor operating direction using arduino

I want to turn the servo motor 90 degrees with the first double high inputs, then I want to turn the motor 180 degrees with double high inputs, but the motor turns 180 degrees with one high input. ...
0
votes
0answers
51 views

Problem in interfacing esp8266 with Arduino ide for simple blink program

Arduino: 1.8.13 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory,...
0
votes
2answers
201 views

Why do we use HX711 with load cell (Why do we need A to D conversion)?

We generally amplify the signal from load cell but why there is need for A to D (analog to digital) conversion?

1
2 3 4 5
24