Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
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 ...
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
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. ...
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
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
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, ...
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
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 ...
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
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 ...
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(...
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?
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
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
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 ...
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()...
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
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
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 ...
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 ...
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,...
1
vote
1answer
71 views

How do I resolve error message “assignment of function 'void digitalWrite (uint8_t, uint_8)”?

I am a beginner in using Arduino and programming in c/c++. I am trying to connect a 10-segment LED and a moisture sensor to my Arduino Uno, and when the moisture level is very low, the first 2 red ...
-1
votes
0answers
35 views

Using a Kalman Filter on changing state

I've been studying up on the Kalman Filter (Michel van Biezen has a great series on youtube) and understand the 1D case pretty well. I want to apply a filter to data coming from a hyper-sensitive ...
1
vote
0answers
32 views

Arduino Project - Social distance detector

I am trying to make a social distance detector for a project of mine. There are many projects online about this, but none of them are the right ones. I'm trying to make a thing that attaches to a ...
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 ...
2
votes
2answers
54 views

Rasberry Pi Controlling Arduino - Reads “Ghost” Input - Doesn't Complete Logic Loop

I am using an Arduino Atmega2560 clone, I have used it many times before with satisfactory results - although I haven't used it with my Rpi before. My Raspberry Pi is model 4 (B I think?). #define ...
0
votes
0answers
46 views

How do I interface this Ozone sensor with my Arduino Uno?

I am currently trying to set up the SM50 Ozone Sensor by Aeroqual for a project. I am trying to get the data digitally through the RS232 and RS485 port on the board. So far the Serial connection ...
0
votes
0answers
40 views

using a digital pin on node mcu as an analog

i want to use volte and current sensors (ZMPT101B and ACS712) on node MCU these sensors are analog but node mcu has on analog pin can i use digital D0 pin for voltage sensor?
1
vote
3answers
115 views

Ignoring the first high output from the sensor

If the vibration sensor with Arduino detects two high inputs within 1 minute, I want the led to flash in one second. My ability to write Arduino code is very low; I tried with millis() but I couldn't. ...
2
votes
1answer
39 views

Which sensor bus best to use?

I am working on a project which requires a dozen VL53l0X I2C-TOF sensors to be polled by one master MCU over a few meters of cable. Thus, I decided to accompany each TOF by an Atmega8 acting as a ...
2
votes
2answers
79 views

Most precise way to measure Linear distance travelled by a wheel

Suppose a bot with wheels is traveling in a a straight line,and we want to measure this linear distance traversed by it as accurately as possible. One of the ways is to use an optical encoder to ...
0
votes
1answer
47 views

arduino parking lot

I want to make a project where there is a parking lot and a ir sensor which senses when a car comes and displays a message on lcd saying to insert a rfid card and then it opens a gate and there are ...
1
vote
2answers
73 views

Finding Relatively Accurate Velocity Using an IMU

I am currently working on a project where I am trying to accurately find velocity in a handheld device using an IMU for about 30 seconds. I have been having major issues doing this because of large ...
0
votes
1answer
35 views

Question: how to join two different codes

I’m dabbling in Arduino and having trouble running two sketches on my Arduino UNO simultaneously. The first is about a program that reads temperature and relative humidity and the second is a program ...
2
votes
2answers
63 views

How do I know when filter coffee machine is finished by using any sensor? [closed]

I have a filter coffee machine that seems like the following link ; https://www.electrolux.com.tr/kitchen/small-kitchen-appliances/coffee-makers/coffee-maker/ekf5300/ and I would like to send a ...
0
votes
0answers
29 views

Does anybodyknow how to program Muscle Sensors v3?

#include <Servo.h> const int x = 200 //Naming the servosServo Servo servo1; Servo servo2; Servo servo3; Servo servo4; Servo servo5; Servo servo6; void setup() { Serial.begin(9600); ...
1
vote
1answer
60 views

Current Sensor ACS712 not changing its value even when connected bulb is lit

My task is to find the amount of current a light bulb uses, with that motive I used ACS712 current sensor of 30A connected all the connections properly as shown in the circuit diagram below I tried ...
0
votes
0answers
33 views

Code not working with DHT11; the sensor returns 0 values now and before that the LED wasnt turning on

I know my code will not be great and this is very basic code, however this is my first (and last) time ever coding for a project, I have very little knowledge of code. The aim of my code is to make a ...
1
vote
1answer
55 views

My DHT22 module doesn`t work at all

I had bought this DHT22 module on AliExpress. The module looks fine, but it does not work at all. I had tried lots of sketches, I tried to change the pin, I tried to change the cables, but I always ...
0
votes
2answers
52 views

Arduino TFMini Lidar sensors and speaker

I have this code for the TFMini Lidar sensors and Speaker. I Need help figuring why I'm using this calculation in my code and why if I removed it the lidar will not give me any measurement? (see below ...

1
2 3 4 5
24