Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
15 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
33 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
26 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
36 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
60 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 ...
0
votes
0answers
29 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
35 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
53 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
43 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
34 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
111 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
34 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
59 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
45 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
54 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 ...
1
vote
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
38 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
51 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
50 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 ...
3
votes
1answer
45 views

Getting Accurate Velocity Readings From IMU

Hi I am currently using a BNO055 for a design project. This sensor outputs a linear acceleration vector corresponding to three (xyz) directions. I am trying to "integrate" the acceleration ...
2
votes
0answers
49 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
41 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
45 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
64 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
36 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
37 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
49 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
86 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
336 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
0answers
156 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
63 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
55 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
44 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
54 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
76 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
39 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 ...
1
vote
1answer
660 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
34 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
59 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
53 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
31 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
127 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
42 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
2 3 4 5
23