Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
49 views

What is the best way I can detect if a ping pong ball has hit the ping pong table?

The ultimate goal is to track points, which in the case ping pong, is how many times the ball has touched the table. My concerns are with how light the ball and therefore the impact on the table will ...
0
votes
1answer
20 views

Best way to obtain angular velocity from a 9 DoF sensor

I have been using a BNO055 sensor (9° dof IMU) for a project which will use angular velocity to the mouse cursor on screen. So far, I have gotten quaternion output from the sensor and been able to ...
0
votes
1answer
18 views

Load cell weight distribution on rectangular shape instead of square

I have built a simple scale using 4 so called 50kg load cells. They are connected in a bridge and mounted on wooden feet of a square shaped box. All as a proof of concept which worked quite ok. The ...
1
vote
0answers
27 views

AJ-SR04M Screw Purpose

I've got 3 AJ-SR04M sensors working on an Arduino MKR Wifi 1010, but I was curious what the purpose of this screw on the sensor boards is. It seems to somehow impact the accuracy/performance, but I ...
2
votes
1answer
26 views

Obtaining angular velocity from quaternion data (BNO055)

I'm able to get quaternion data from the BNO055 sensor, and would like to convert these to angular velocity for my project. I know you can pull the gyroscope directly for the data, but from what I ...
2
votes
1answer
37 views

When it comes to UART to RS485 communication, what is the difference between the 'MAX485' and the 'HW-0519' module?

I recently found this model with the ID 'HW-0519' on it. It can be found online (HW-0519 in Aliexpress) and is sold for the purpose of converting UART to RS485 communication using Arduino devices. The ...
1
vote
0answers
40 views

Why does the LED state behave differently?

I wanted the sensor to be high when I press the button, but when DigitalRead does low, the LED turns on, when it does high, the LED goes off. Whereas when the digitalRead is high, isn't it supposed to ...
1
vote
0answers
38 views

Code for Heart Rate Detection using PPG Sensor

I am using the "MIKROE Heart Rate 3 click" PPG sensor (https://www.mikroe.com/heart-rate-3-click) and an Arduino Nano (https://store.arduino.cc/usa/arduino-nano) to find heart rate ...
1
vote
0answers
31 views

Interfacing Arduino nano ,adxl335 ,nrf24l01

I'm trying to make a project with this conection diagram but I don't think it's correct , and my adxl sensor died . Can you help me with a modified one ?
0
votes
0answers
13 views

Does the Sparkfun ESP32 Thing is compatible with generic modules like DHT11 sensor?

First of all I am kind of a noob working with microcontrollers, by the way I am using Arduino IDE 1.8.13 I fallowed the hookup guide to set up Arduino IDE to work with Sparkfun ESP 32 Thing board, and ...
1
vote
1answer
50 views

Why is my liquid crystal display not showing any output?

UPDATE: The LCD will light up only when the all my components are located in the bottom right of the breadboard. Why am I not able to use the entire breadboard for my circuit? I am trying to display ...
0
votes
0answers
25 views

Adafruit BNO055 “raw data” quaternion output

You Hello everyone, Apologies for the basic question, but I wasn't able to verify by myself looking through the library files. In the BNO055 help guide there is an example "Raw Sensor Data", ...
1
vote
0answers
25 views

Arduino Mega with Sensors and tftlcd 2.4 inch

I am working with tftlcd 2.4 inch with Arduino mega 2560 board. In this code I just want to show clock as my default or home screen. By clicking on clock at any point on screen user should get a new ...
0
votes
1answer
35 views

Set up a motion sensor to turn on lights and record how long the lights are on

I'm doing a school project and I want to measure the difference in time that the lights are on in a classroom with and without a motion sensor controlling them. I haven't really found anything about ...
1
vote
1answer
46 views

I've been working on a project and I get an error compiling for board arduino uno. kindly help

##include <jm_LiquidCrystal_I2C.h> #include <LiquidCrystal.h> #include <Wire.h> // For I2C //Set the pins on the I2C chip used for LCD connections //ADDR,EN,R/W,RS,D4,D5,D6,D7 ...
1
vote
0answers
12 views

ESP32 and moisture sensor transistor switch [migrated]

I'm doing the classic water moisture sensor project with my ESP32, but I want to be able to switch the sensor on and off since that will reduce the amount of corrosion that occurs. Can I use a BC547 ...
1
vote
0answers
14 views

Error in program that measures distance from a ultrasonic sensor

I am trying to use an ultrasonic sensor in conjuncture with different devices like a proximity sensor and a solenoid and alarm. This is how the project is supposed to work: A container is placed on a ...
0
votes
0answers
41 views

Why does reversing the temperature sensor create heat?

I am almost completely new to Arduino and electronics, I have been following the Arduino Starter Kit and on the third project I (somewhat ironically) burnt myself touching the temperature sensor. The ...
-1
votes
1answer
17 views

SEN0114 moisture sensor low max reading?

I am using the following SEN0114 moisture sensor with an ESP32: https://datasheetspdf.com/datasheet/SEN0114.html How come when submerged in water I only get a reading of ~2500? Should this not read ~...
1
vote
0answers
7 views

Interfacing Figaro TGS2600

I am trying to interface TGS 2600 gas sensor to Arduino, particularly to detect methane gas. Can anyone tell me the conversion equation between Rs/Ro and ppm, so that I can get ppm values from the Rs/...
2
votes
3answers
51 views

Arduino Uno with Sensor, Bluetooth Module and tftlcd

In code attached below I am using tftlcd display of 2.4 inch in which i want to show clock as home page, when user click on tftlcd screen then a screen appears which can show three options to user ...
1
vote
0answers
25 views

Trying to interface E18-D80NK sensor but the output is always one - what to do?

I'm trying to use a E18-D80NK but the output is always 1 Referring to the above link. I am facing the same problem. But unfortunately there is no solution in the given link. My code goes as ...
2
votes
2answers
59 views

How to program an Arduino Uno to collect data using a timer interrupt and analyze that data in matlab?

I working on a project where I want to collect sensor data (from a sensor) and I want to analyze the first 20 data sample (e.g., find the range, trendline e.t.c.). I know how to compile a timer ...
2
votes
1answer
59 views

digitalRead() function of Arduino doesn't read Input value sent by sensor after detecting the object

I'm trying to turn ON the LED(inbuilt/PIN13) when photoelectric proximity sensor(12v) senses any object. Sensor is connected on pin 2. Assigned pin 2 as INPUT, I've got a 12v spdt relay for switching. ...
0
votes
1answer
41 views

NodeMCU and SDS011

today I connected the SDS011 to NodeMCU. I noticed that this only works when the sensor is connected to the voltage VU. If I connect the sensor to another pin for the voltage, it does not respond. Why ...
0
votes
2answers
70 views

Don't understand problem with my code

I'm trying to get a robot car(elegoo one) to do the obstacle avoidance course. I am trying to write my own one from scratch to better myself and thus would really appreciate it if someone were to tell ...
1
vote
0answers
30 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
35 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
44 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
35 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
31 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
32 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
48 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
25 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
33 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
331 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
29 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
78 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
53 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
1answer
189 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
26 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
53 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
44 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

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
43 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
21 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
52 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
58 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
2 3 4 5
24