Questions tagged [sensors]

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

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

Why doesn't LCD 16x2 work with fingerprint sensor code?

When I separate fingerprint code and LCD code it works fine. sensor read 6 templates which I already stored 6 fingers ID. When I combine the code it read 0 templates. #include <Adafruit_Fingerprint....
2
votes
2answers
42 views

compensate weight due to acceleration (loadcells)

I'm trying to make a weighing scale that works in a lift. I'm using load cells to measure the weight, let's say it's F. Then I use that weight F and g which i know is 9,81 m/s^2 to calculate the mass ...
2
votes
1answer
54 views

TFMini Sensors with Arduino

I have three TFMini sensors I need all of them to detect. I only got one to work , pins 4,5 . My info in coding is basic . I really appreciate your help . Thanks in advance. I think the problem is ...
0
votes
1answer
65 views

Change/declare a constant in setup and use it in loop

I want to change or declare a constant in the setup() and then, I want to access it in the loop(). I have searched a lot, but the only questions I found could be solved by declaring the constant in ...
0
votes
1answer
49 views

Estimate soc battery and discharge time using Arduino Uno

I am currently learning to do a project for estimating the soc of LiPo batteries with coulomb counting and calculating discharge time using Arduino Uno to display a warning when the battery runs out. ...
1
vote
1answer
40 views

How can I program 2 ultrasonic sensor, one on the servo motor and one attached on the front side of the car?

I want to attach two ultrasonic sensors to an obstacle to avoiding the car. One on the front of the car Second on the servo motor on the car It is an obstacle avoidance Project. I am getting the ...
2
votes
1answer
50 views

How can I use both ultrasonic and IR sensor and ultrasonic sensor at ones with Arduino

I want to use both the ultrasonic sensor and IR sensor with Arduino + motors for a car project. Will I have to do any kind of multithreading on Arduino, or is it something else
2
votes
1answer
106 views

Detect 2 wire thermostat output

I have a 2 wire thermostat. R is +24VAC, W is Heater. I have no Ground wire (C), and I cannot open the thermostat. When the heater goes on, the thermostat internal relay gets powered and connects R ...
1
vote
3answers
340 views

Sensor that detects when metal sieve is clogged with debris

I'm a newbie here and would really appreciate all kinds of suggestions and answers from the experts here. I am trying to make a small grey water recycling system project, and for the my primary ...
1
vote
2answers
319 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 ...
0
votes
1answer
25 views

Whatever components we connect to the Arduino, their grounds and 5v pin connection must be the same?

I am trying to connect different types of sensors & motors to the Arduino should I make their grounds and 5v pins on the same connection.
1
vote
1answer
64 views

4WD Robot keeps freezing

I have been working on a 4WD robot for a while now. The parts I'm using are Arduino v4 shield, l298N driver motor, Hc 05 ultrasonic sensor, DHT 11, mq2, Bluetooth module, servo motor, ir transmitter ...
1
vote
1answer
33 views

Sequencing air pistons proble - Help please?

I am a beginner trying to activate 2 sets of 3 air pistons sequentially by going through the YouTube Tutorials... Help, please, pretty please?? :-) There are 3 sets of 2 pistons, each set working in ...
0
votes
0answers
78 views

Need PPM out of MQ4 sensor

I'm using this working library to extract H2 & Alcohol in PPM from sensors. UPDATE I read the readme file and used the example shown. But this gives me an error. This is the code: //Include the ...
0
votes
0answers
45 views

I can't see any readings from my pulsesensor what can I do?

I have been using NodeMcu board for my project with a pulse sensor, DH11 sensor, and temperature sensor. Everything has worked well in spite of the pulse sensor. It doesn't show any readings that ...
1
vote
0answers
81 views

Use Arduino Uno as 5V Power Source for Sensors Connected to ESP32 Microcontrollers

I am using an ESP32 WROVER B based microcontroller, which has 3.3V and 5V outputs. Due to poor soldering of the header and attempted removal of the solder (permanently damaged PCB etching electrical ...
5
votes
4answers
78 views

What is the best and most reliable way to detect if a book is pulled out of a book case?

What is the best and most reliable way to detect if a book is pulled out of a book case? I have a book case which I want to mount sensors to so that I can detect when certain books are pulled out, I ...
2
votes
1answer
36 views

Hand position sensor

What is the simplest way to get an alarm sound when a human raise hands up. Assuming he is wearing a sensor or whatever as a watch or ring.
1
vote
0answers
41 views

Arduino EMF doesn’t work!

https://youtu.be/y1Bke3750WE I’ve been trying to make an Arduino emf because no brand makes a commercial one like a board/module. I’ve tried connecting ones that work (circuits from store bought ...
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 ...
3
votes
0answers
37 views

Two sensors on same ESP-32 board

Need some help on the project I'm currently developing. I have 3 YF-B2 sensors that I need to connect to the same ESP-32 board and read the data from the sensors and send it via MQTT. I had it working ...
2
votes
1answer
63 views

Noise in Analog Read Serial from an instrumentation amplifier(ina122p)

I am trying to read the values from a simple EMG circuit (with an INA122P) using the analogRead() and plotting in the plotter using an Arduino nano v3. I am powering the ina1222p from the 5v pin of ...
0
votes
1answer
55 views

how to ignore a sensor being tripped the first time and start recording millis on the 2nd time it is tripped

I am building a timing system that has a start, split and finish beams with this I am using a start gate that will drop when the race starts. when it drops it will trip the 1st sensor starting to ...
1
vote
0answers
32 views

Equipment wireless stopwatch

I am working in a project in order to measure spend time. My sitution is: There is a competitor that will start the game after he (or she) heard a sound (could be a sound like buzz or whistle). This ...
1
vote
1answer
168 views

How do I connect an MPU6050 sensor to an Arduino MKR WIFI 1010?

I've been trying to connect an MPU6050 to my MKR WIFI 1010 following these general instructions and using the I2CDev library, but I keep running into problems. For a while the Arduino just didn't show ...
1
vote
0answers
43 views

How could I combine sensor data with custom protocol und send it with Serial?

I am very new to Arduino. Now I am trying to send the sensor data to Computer. The sensor data will be stored as bytes into arrays. To build a robust transmission I'll pack the data with own defined ...
1
vote
0answers
14 views

How to combine this two sensor code [duplicate]

I have a problem. I don’t know how to combine this two codes & the diagram. My project is about automatic water storage door that using water sensor & rain sensor. The rain sensor will ...
1
vote
0answers
30 views

I have three load cells can I sum all the three into Arduino to be one output? If yes how?

I am doing stand thrust and I have three load cells to measure the force. I would like to know if I can sum them to gather into the Arduino or I should use a junction box.
1
vote
0answers
46 views

Serial Monitor Not Displaying

I am using BMP 280 for an altimeter to measure the altitude. Once all connected and uploaded the BMP280test code from Adafruit, the serial monitor says busy. But still, when I switch the port in tools,...
3
votes
2answers
59 views

Is an Ultrasonic Sensor or Infrared Sensor better for measuring distance (to/from a human body)?

I'm trying to make a sensor to detect that a person is within 50cm to trigger a function. But when I use the HR-SR04 sensor, it works accurately on flat surfaces (e.g. walls, books) with a margin of ...
1
vote
1answer
149 views

Measuring car speed between two points: What sensor to use and how to cover the distance?

PROBLEM Cars regularly exceed the speed limit in our street SOLUTION Measure each car's speed and clearly display the speed to the driver EXECUTION Measure the time the car takes to cover a set ...
1
vote
0answers
63 views

communication between two ultrasonic sensors on different arduino uno

I am making a project which requires two ultrasonic sensors(HCSR04) connected to different Arduino Unos to communicate with each other. By communication I mean, one sensor should just detect that ...
3
votes
1answer
525 views

Arduino nano 33 ble vs ble sense. Power consumption, etc

After working with an Arduino Uno at work, I am looking to buy myself a board for some projects/experiments at home. The nano size seems like a great option, especially the one without soldered ...
1
vote
0answers
33 views

Which sensors to use? [closed]

I am making smart highway project and its like there is two checkpoint and car must be register data on device and add timer on it and at checkpoint2 it should delete data My questions is which ...
1
vote
0answers
25 views

Arduino and ZMPT101B But Not Stable Sigma Output In 7segment Display(TM1637) using filter library

#include <Arduino.h> #include <math.h> //TRUE RMS START #include <Filters.h> //Easy library to do the calculations #include <TM1637Display.h> float testFrequency = 100; ...
1
vote
1answer
51 views

Heart Pulse sensor analog value doesn't change even if sensor pressed by finger

I have recently bought a Heart Pulse Sensor. Then, to check whether the sensor is working correctly or not, I uploaded this below code: void setup() { Serial.begin(9600); } void loop() { int ...
0
votes
3answers
152 views

Better way for connecting to Arduino pins to a sensor than jumper cable

Well I have an dht21 and arduino mega. Dht21 leads look like this If I use jumper cable and soldering dht21 leads with jumper cable than plug-in my arduino's socket. it looks like this below image. ...
0
votes
1answer
46 views

How can i develop a fish tank automation using arduino [closed]

As a part of my final year Engineering project I would like to develop a fish tank automation system. In my project I need to check the quality of water concurrently and also I need to check the ...
1
vote
2answers
117 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
0answers
418 views

Reading TCD1304 linear CCD Sensor

I want to read the TCD1304 linear CCD sensor with an ESP32 and I'm facing some problems. As a first "warm-up" and to get familiar with this sensor I tried to generate the sensors input ...
0
votes
1answer
39 views

Connecting BMP280 sensor to microcontroller

I am building my own board with integrated pressure sensor. (microcontroller is 3V3 logic) I want to know which parts do i need. In datasheet there are only 2 capacitors but on breakout board there ...
0
votes
0answers
27 views

Ultrasonic sensors not working

The target of this is for the system to print "Done" when distance, measured by 2 ultrasonic sensor, is between 6-17 cm. This is my python code: import serial arduinoSerialData = serial....
0
votes
1answer
45 views

What sensors do I need to detect magnetic “take off”?

I want to build a sensor using arduino (or any other esp) measuring the release of a leg on a floor panel. I've build a prototype using copper plates and a BBC Micro:bit, which works fairly well. But ...
0
votes
2answers
193 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?
0
votes
0answers
92 views

How to Adjust MQ131 Sensor?

The problem Hey. I'm trying to use the sensor Mq131 to measure some ozone data in a closed environment, but I'm having some bad time to adjust the trim in the sensor and get results in ppb. By ...
1
vote
2answers
116 views

Sea level pressure for BMP280

I have a BMP280 and BMP180 pressure sensor and I have both of them connected via I²C to a ESP8266. For the BMP180, I can get the sea level air pressure when I pass the pressure and altitude like so: //...
0
votes
0answers
16 views

Ultrasonic Sensor and Motor Driver Shield [duplicate]

im new to arduino and am making an arduino car. the motor driver shield covers the ports (am connecting an ultrasonic sensor) and i know that we can connect it to the 'holes' on the motor driver ...
0
votes
1answer
74 views

Why delay of more than 64 millisecond stops the servo motor from rotating? I am not using “Servo.h” instead i am just managing the length of pulse

The code I used was this int servo = 5; int angle; void setup() { pinMode(servo, OUTPUT); } void loop() { for (angle = 0;angle<180;angle++){ digitalWrite(servo, HIGH); ...
1
vote
0answers
34 views

Problem with interfacing Cirus OS1 oxygen sensor with Arduio Uno

I am trying to interface Arduino UNO with Cirus OS1 oxygen sensor but not able to get the expected output. The expected voltage output of OS1 sensor is 9-13mV and the oxygen % is expected to be in the ...
0
votes
1answer
69 views

How do I generate a graph from Arduino sensor data?

I used a DHT 11 sensor with an Arduino Uno to measure temperature and humidity. I used the following code to print the temperature and relative humidity in Serial Monitor. dht DHT; #define DHT11_PIN ...

1
2
3 4 5
24