Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Arduino EMF detector / non-contact voltage detector [migrated]

I am trying to build an EMF detector or non-contact voltage detector based on an Arduino to be used as a prop. The detected EMF value should be read from an analog input and based on the level, 1-5 ...
0
votes
0answers
89 views

I need all these codes in one single code 1) Relay 2) Motorised ball valve 3) Ultrasonic sensor [duplicate]

I have three separate codes for relay, motorized ball valve and for ultrasonic sensor. I am unable to run all the three codes at once in same serial monitor. I am pasting all the three codes below. MY ...
2
votes
0answers
28 views

i want to combine below two codes [duplicate]

*****1st code int sensoroutput = 3; // the analog pin connected to the sensor int sensorinput = A0; int THRESHOLD = 100; void setup() { pinMode(3, OUTPUT); pinMode(A0, INPUT); // this ...
1
vote
1answer
37 views

How to stop Single Analog Pin Keypad Matrix (Using Resistors) from receiving Interference from Livewire/other Sensors?

I saw a tutorial on linking a keypad using one pin, utilising several resistors: http://razibshahdat.blogspot.com/2018/05/one-single-analog-pin-keypad-control.html I have this keypad, a 16x2 LCD, a ...
1
vote
0answers
48 views

Serial communication problems

When I run this script serial communication just stops after a random period of time. There is no error it just stops outputting data and does not respond to inputs in IDE. Does anyone know a fix for ...
0
votes
1answer
33 views

Liquid nitrogen level sensor

I am looking for a sensor that returns 1 if submerged in liquid nitrogen and 0 if not. Basically, we are developing a simple monitoring device for dewars filled with liquid nitrogen. The device should ...
0
votes
1answer
51 views

esp8266 analogRead of 5.5V soil moisture sensor input using voltage divider

On an ESP8266 I try to analogRead(A0) my soil moisture sensor using a voltage divider but I get unexpected low values. The MT3608 increases the esp's output voltage from 3.3V to 5.5V which is the ...
1
vote
0answers
19 views

MQ-4 Sensor working fine with Beetle Bluno BLE but not with Arduino Nano 33 BLE

I have an MQ-4 sensor connected to a Beetle Bluno BLE that seems to work fine, however, when I change the board to an Arduino Nano 33 BLE, the sensor doesn't seem to work well (I get an arbitrary ...
1
vote
0answers
55 views

Is there a sensor that can identify and differentiate the pieces and their positions on a chessboard? [closed]

I want to build a chessboard that identifies which piece is at each spot. The first idea that has come to my mind is to put 64 sensors of contact (with two parts, one under the piece and the other ...
1
vote
0answers
12 views

Adafruit fingerprint sensor timer to exit out of enrolling

I have the following fingerprint sensor: Rugged Panel Mount Fingerprint Sensor with Bi-Color LED Ring [R503] : ID 4651 : $39.95 : Adafruit Industries, Unique & fun DIY electronics and kits Also ...
1
vote
0answers
36 views

Elegoo remote code program only running once

I want this program to receive multiple signals from the elegoo ir remote and produce different tones using the passive buzzer. I have attempted to add onto the basic example provided by adding a ...
2
votes
2answers
879 views

How to write nonblocking code, for polling sensor at 100 Hz

I'm using this piece of code to try to poll an IMU sensor at 100 Hz (for a AHRS sensor fusion library). void loop(void) { // nonblocking code variables static uint32_t last_ms; uint32_t ms; // ...
2
votes
1answer
23 views

Touch Sensor and Potentiometer - Need some help

I'm using an Arduino Nano with a capacitive touch sensor and a potentiometer. I'm trying to get my code to differentiate between three different program states. One is when my touch sensor is NOT ...
1
vote
0answers
32 views

Where to ask a question regarding the capabilities of a specific light intensity sensor? [closed]

I have an interesting question. Please help me find a site where it would be appropriate. Can I use the BH1750FVI digital light intensity light sensor to measure the wavelength of a sample? (https://...
1
vote
0answers
49 views

Maximum distance for sensor

I'm creating a project with some ESP32's running off PoE and I need to add some temperature/humidity sensors up to 5m away from the ESP chip I assume there is a maximum cable distance? What is the ...
1
vote
0answers
41 views

How can I handle six SoftwareSerial ports for six Nova SDS011 Air Quality Sensors on Arduino MEGA?

First of all, thank you in advance. I'm trying to connect six Nova SDS011 Air Quality Sensor (sensor specifications here) to an Arduino MEGA. I'm using the Nova Fitness Sds dust sensors library which ...
1
vote
1answer
41 views

Is it possible for a body temp, blood pressure, oximeter, and pulse rate sensor be in only one Arduino UNO? [closed]

Also, I'm available for one on one converse[rsation]. I'm a G12 student from the Philippines making a capstone project as my thesis for my senior year. My capstone project would be about a smart glove ...
2
votes
0answers
25 views

SHT30 giving wrong humidity

I have an SHT30 sensor which is feeding to my Arduino via an RS485 connection. The readings are coming in as they should be for both temperature and humidity. The problem, however, is that the ...
3
votes
1answer
56 views

Water level switches / reed switches and Arduino Uno

How could I estimate the max number of switches that I could connect to an Arduino Uno? I am questioning if Arduino has enough power to simultaneously operate an X number of switches with no issues. I ...
1
vote
0answers
35 views

which sensor is suitable to detect Freon gas [closed]

im doing a project that uses a type of sensor that is capable to detect freon gas that is leaking from a compressor inside refrigerator. i plan to use MQ2 gas sensor, but i'm not sure if it can do ...
1
vote
1answer
96 views

Measuring the battery level powering the arduino

I would like to power my arduino nano with a 9V battery, but I would also like to measure the voltage of the battery to know its charge level. Can I use the MAX471 Voltage Current Sensor module by ...
2
votes
0answers
61 views

Average of 10 readings, wrong

I am reading from loadcell and calculating the average of last 10 readings. But when the load cell reads something more than 3800 g the average gets negative, how? The mass I read are not negative ...
3
votes
1answer
99 views

Looking for an accurate and fast updating range sensor

I need to purchase a distance sensor that will be fixed in place and used to determine distance to the top of a fairly fast moving piston along the axial direction in line with the sensor. The top of ...
0
votes
2answers
99 views

Arduino Uno - Raspberry PI - Float Sensors - Water pumps

I am experimenting with Aquaponics and since I am a software developer I found it "smart" to use arduino/raspberry in order to control the water flow and not simply use a water pump with ...
1
vote
0answers
22 views

Clicking a mouse based on dwell time / how to code a rolling total of sensor measurements

I'm trying to write code that should result in a click of the mouse, based on dwell time. I'm getting data from a gyroscope to move the mouse around. I'm not sure what the best way is to approach this ...
2
votes
0answers
48 views

Arduino Uno R3 stops executing code, when trying to instantiate multiple HX711 objects

This is my first time asking something on this platform, so if form or anything else is off, please feel free to point out things about how I could refine it and ask more concisely in the future. I'm ...
1
vote
1answer
30 views

HG-C 1100 measurement sensor

I am using two HG-C 1100 measurement sensor for measuring the width of the metal. In the top of the sensor I will be having the measurement value. The sensor is capable of measuring the dimensions ...
1
vote
0answers
66 views

Calibrating Adafruit TCS34725 for RGB colors

I am new to Arduino. I am currently working on a project which requires color detection using the TCS34725 Adafruit sensor module. For the project, I need to calibrate the sensor with RGB colors. ...
1
vote
0answers
19 views

FingerPrint Scanner wont detect any input (fingerprint image)

Hi good day to all I have a project that , it will lock the solenoid using the fingerprint then I have hook up a coinslot that will count the coins inside the vault its like a secured piggybank. ...
1
vote
0answers
32 views

How to edit this IR sensor code to COINSLOT sensor [duplicate]

The project is Like a secured PiggyBank but it will count the coins inside it. Im using a coin sensor at default it has 5v, then goes to zer if inserted with a coin. I have 2 codes The one was form my ...
1
vote
0answers
42 views

Does natural outdoors wind affect the readings of an ultrasonic sensor significantly?

I am thinking of using an ultrasonic sensor outdoors, and am wondering if the presence of wind (say up to 20km/h) would significantly impact the accuracy of the readings, or would this not be a large ...
1
vote
1answer
38 views

How does measuring angled surfaces using ultrasonic distance sensors affect the readings?

I've read online that ultrasonic distance sensors do not work well when measuring surfaces that aren't close to perpendicular to the sensor (read something like 5 degrees from perpendicular). I was ...
3
votes
1answer
52 views

What kind of distance sensor are optimal to measure distances to surfaces at an angle to the sensor?

I want to try measuring the orientation of an object by measuring the distance between a "flat" surface to the surface of the rotated object. The problem I assume is that if the surface ...
1
vote
0answers
38 views

Unable to write, or read a sensor's registers. Do I have an error in my code?

I'm trying to write to register the change some settings for a sensor I'm using (BNO055) and then read the same register to verify if the changes are successful. However, the only value I'm able to ...
1
vote
1answer
43 views

Writing to partially reserved registers of sensors

I'm trying to change the range of a gyroscope I'm using and there is the following guideline: it is recommended to mask out (logical and with zero) reserved bits of registers which are partially ...
1
vote
0answers
27 views

How to connect multiple MPU-9250 IMU sensors to a single Arduino Uno? [duplicate]

The datasheet says the I2C bus limits itself to only two MPU-9250 sensors. How can I control multiple (>2) MPU-9250 through a single Arduino Uno? Is it possible to add another bus? Please, help.
1
vote
1answer
51 views

How to send a message to my phone that my Arduino system is on when turning on my Arduino

i have installed a GSM shield on the Arduino to create security alarm system using PIR SENSOR when ever there motion I will receive a call to my phone. but i want to add also a line of code which can ...
1
vote
0answers
52 views

How can I detect the amount of water that must be filled in an arbitrary container?

So I am making a Smart Water Dispenser that must detect the amount of water that must be filled in an arbitrary shaped container. This is what I have thought: Installing an IR LED strip to first ...
1
vote
0answers
32 views

Sensor for Object tracking [closed]

I need a sensor (or camera) for my Arduino project with which I can track objects (or living beings). This sensor should be on a motor and move with the object. Unfortunately, I don't know which ...
0
votes
1answer
32 views

Interfacing LM35 and MQ2 with Arduino

When I interface LM35 temperature sensor and MQ-2 gas sensor with Arduino - my LM35 sensor gave incorrect values. From research I've found out that MQ-2 gas sensor dragging the AREF voltage down and ...
1
vote
0answers
23 views

Nano 33 BLE Sense LED flashing 3/5 slow/fast after upload

I'd successfully got my Nano 33 BLE Sense to read accelerometer data and subject to there being a difference between current and last readings, to send this via the EasyTransfer library to an XBee ...
1
vote
0answers
24 views

TRT-25 and Arduino Uno

I am reaching out for help on a project I am working on. We are trying to integrate a reaction torque sensor and I am having a hard time deciding how to go about it. Previously I assumed that like my ...
1
vote
1answer
87 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
40 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
57 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
44 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
40 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
142 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
43 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
65 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
2 3 4 5
25