Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sensors]

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

0
votes
0answers
20 views

Detecting difference between pedestrian and cyclists

I'm working on a project in which I want to count the amount of people walking or cycling past my device. I'm wondering what sensors can I use so that the device can differentiate between a pedestrian ...
0
votes
1answer
26 views

Septic tank project [on hold]

We are to make a project.We have to connect MQ7, buzzers and lights to Arduino. And one buzzer will make sound when gas reaches high level and another buzzer will beep when gas level is very low.. ...
0
votes
1answer
39 views

Is there a digital/ultrasonic Anemometer for Arduino?

I use Arduino DUE and I noticed that many forum users use the TX-23U Wind Sensor. https://www.amazon.com/Crosse-Technology-TX-23U-Weather-Stations/dp/B0016MYA7U Also, many people tried to create a ...
1
vote
2answers
34 views

Two sensors using I2C

We have two sensor one of them(MPU6050-gyro) is communicating using I2C, the other is via SPI(SD card reader). Now, we need an additional component as a sensor that the barometer which communicates ...
0
votes
1answer
10 views

Can I use TCS34725 Color Sensor with Lilypad?

I have been trying to get TCS34725 color sensor working with LilyPad Arduino USB - ATmega32U4 Board but with no success. I am wondering if it possible? I have been using the following Sketch to try ...
0
votes
0answers
14 views

Distance through glass [closed]

I'm trying to measure distance through glass (no relative motion). Ultrasonic sensors would be great for this application but the window and frame block the sound. I also want to avoid TOF since ice,...
0
votes
1answer
49 views

LM393 Speed sensor - Counting pulses

I'm trying to calculate de rotation speed of a dc motor. I'm using the sensor shown in the picture and a slotted disk attached to the motor. The results I was getting made no sense and after several ...
0
votes
1answer
20 views

I am not able to set the correct configuration of sound module

I have been trying to make sound reactive LED lights but my sound module is detecting only very close voice the LED react only when I press it to the speaker with my hands I have tried to set the ...
0
votes
2answers
78 views

Value read is not changing while rotating pot in arduino?

I am trying to read voltage using analogRead in Arduino Uno from a voltage divider circuit consisting of 1k resistor and 10k pot. The Pot used is bourns 3296. The values obtained only range from 1011 ...
0
votes
0answers
22 views

Arduino to Arduino GPRS communication [on hold]

I am working on a project that requires wireless communication of two arduinos that are 5Km apart. I cannot lay wires and there is no Wifi at either of the locations. So, I am left with GSM(gprs). ...
0
votes
0answers
17 views

how spilt the sensor values then use them to control servos in nodemcu v3?

#include <ESP8266WiFi.h> #include <WiFiUdp.h> #include <Servo.h> const char* ssid = "Ece Control"; const char* password = "myphonewifi"; WiFiUDP Udp; unsigned int port = 5514; char ...
0
votes
1answer
40 views

Connection of a DS18B20 on a Arduino pro mini

I'm actually trying to connect a DS18B20 sensor to a homemade board build with a ATmega328P processor running with a power of 3.3V and at 8 Mhz. In order to get the address I wired the board as the ...
0
votes
1answer
35 views

What is the maximum number of sensors that can be operated on a single Aurdino unit

I currently have an Aurdiuno uno and a motor driver shield: (http://www.hobbytronics.co.uk/arduino-motor-shield). Now, I would like to run the following mechatronic devices: 3 bi-direction motors, 1 ...
0
votes
0answers
29 views

Help Connecting Lidar sensor over SPI to arduino Due?

I'm very new to Arduino and have never used the SPI protocol before. I've tried following tutorials online, but my SPI.transfer always returns a value of 255 whether the sensor is connected or not. ...
0
votes
1answer
65 views

How to calibrate and use MQ-7 gas sensor? [closed]

Could anyone help me calibrate and use the MQ-7 sensor? I've read guides, but some say I need RO, offset or heating cycles for calibration.
1
vote
0answers
44 views

What sensor do I use to measure the intensity of direct sunlight?

I'm trying to measure how bright the day is on a particular day to see how it affects plant growth. The brightest sun can be 120,000 lux. It possible to measure such a large brightness? What sensor do ...
1
vote
1answer
21 views

How to get 3v3 pins on Arduino Mega Sensor shield v2.0?

I am using Arduino mega and a sensor shield (picture attached below). I need to connect three different wires to 3.3 V input. Can anybody suggest how can I achieve the same? What voltage do the VCC ...
1
vote
1answer
197 views

Triggering an ultrasonic sensor

I made a smart blind stick for my class project. It uses an ultrasonic sensor to detect obstacles and I was asked this question in VIVA... Why is it necessary for giving a digital high for 10 &...
1
vote
1answer
48 views

My Code turns on my LED even when my switch is not pressed

I am trying to create a circuit that will turn my motor when I clap. When the first limit switch is low, and there is only one clap, a solenoid pin is supposed to be engaged (currently an LED), but ...
0
votes
0answers
63 views

MQ7 Flying Fish output format

I am new to Arduino project. I used MQ7 flying fish sensor to sense the CO. Ok now I connected everything as mentioned in various tutorials, such as Arduino CO Monitor Using MQ-7 Sensor. Also wrote ...
2
votes
0answers
29 views

Problem in integrating speed sensor LM393 with L298N

I am currently working on a project that has an automatic support wheel for bicycle. The mechanism of this project is when the speed sensor is detecting the RPM of the rear bicycle wheel it will ...
-3
votes
1answer
41 views

Please answer this [duplicate]

what is the difference between transmitting and receiving leds(circled) connected to sensor board and ir emitter and receiver diode shown in second pic?Will the output change it i replace the former ...
0
votes
1answer
41 views

How to calibrate the MQ7 sensor module?

I recently bought a MQ7 sensor module like the one in the attached picture. I have read several tutorials, and they're all different. Some of them says that i need to connect the module directly to 5v ...
-1
votes
2answers
40 views

May mulitple sensor connect to one arduino uno board since they shared same pin? [closed]

i am a Arduino beginner here. I start knowing about Arduino since my supervisor give me this project. In my project , i need to invent a car safety system to avoid animal hurting that hide under ...
-1
votes
1answer
68 views

Why LCD 16x2 cannot display “water leaking” when rain sensor detects water?

#include <SoftwareSerial.h> #include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); SoftwareSerial mySerial(0, 1); int gas_sensor = A5; int water_sensor = 8; int buzzer = 9; int ...
0
votes
0answers
59 views

Multiple Servo motors with an ultrasonic sensor

I am building a robot arm with 6 servo motors that works with an ultrasonic sensor. The purpose of the program is when an object is detected at 20 cm (fixed position) from the sensor, the buzzer and ...
0
votes
1answer
74 views

I'm getting NaN for readings on my DHT22 sensor when using 3v3 pin, but not 5v pin

I have a DHT22 temperature sensor and DS1302 RTC module connected to the 3v3 pins on an Arduino Nano. Both the sensor and the RTC module are rated to work on either 3.3V or 5V, but the recommendation ...
1
vote
0answers
61 views

How to build image with ultrasound sensors HC-SR04 [closed]

There is a simple algorithm on Wikipedia: how to build ultrasound image. And I want to build one. Resolution and presision are of no importance, I just want to do this for the case of study - I want ...
0
votes
0answers
39 views

Arduino stuck when I disable Timer 2 Interrupt

#define TIM2_EN() (TIMSK2 = 0x02) #define TIM2_DIS() (TIMSK2 = 0x00) //HEART SENSOR // Include Libraries #include "Arduino.h" class PulseSensor { public: static void begin(int pulsePin); static ...
0
votes
1answer
49 views

Prioritizing one sensor [closed]

I want to ask is there a possible code to prioritize a specific part of a code? So I'm doing this project where I want to utilize muscle sensor, servo, and a button on an app over Bluetooth. The ...
0
votes
0answers
44 views

bh1750 lightsesor won't work

ok, im having problems with my bh1750, here is all info i got: board: esp32s nodeMCU v. 1.1 Pins: Wiring: (the 2 reds go to pin 21 and 22) code: #include <BH1750.h> #include <Wire.h> ...
0
votes
0answers
44 views

Analog pins giving off the same value

So recently I made code that used two custom sensors that are connected to the analog pin A0 & A5. Schematic can be seen here (http://inmoov.fr/test-your-finger-sensor/). const int ono = A0; ...
1
vote
1answer
51 views

Field Hockey Ball Tracker

I'm brand new to development and planning a project with my daughter to track speed and time in motion of a ball. Example, ball is at rest. It is then put into play, timer starts, and speed is ...
0
votes
1answer
80 views

Using a water sensor with a NodeMCU make it less sensitive?

I'm trying to digitalRead from a water sensor (the one in the picture) using NodeMCU v3,when I try the sensor with an Arduino board it works fine, but when I try it with an ESP8266 NodeMCU v3 it ...
0
votes
0answers
28 views

Music Reactive Fountains

I want to make Music Reactive Fountain. When You say "Holaaaaaa" The fountain (PWM arduino signal) should increase making the fountain reach it's maximum height according to the amplitude of my voice ...
0
votes
0answers
21 views

How to connect 3 MPU9250 to Node Mcu together?

I don't know how to connect 3 MPU9250 together on Node Mcu. There is not much information available. I am using bolder flight library for imu sensor - https://github.com/bolderflight/MPU9250 Can ...
1
vote
1answer
150 views

Ultrasonic sensor underwater calibration

Does anyone knows how to calibrate AJ-SR04M using the Arduino? I am working on AUV. underwater reading from current code; it is giving continuous 20cm while moving inches. http://shop2.hanjindata1....
-1
votes
1answer
25 views

Light Sensor - how to wait for specific setting then continue on Leonardo?

I have an analog light sensor working on my Micro Pro Leonardo board. I want to reach a part of my code which include keyboard presses where it monitors to see when an LED flashes and then continues ...
0
votes
2answers
48 views

Arduino analogRead fluctuates from sensor unless USB connected

I have an Arduino connected to a 4-20 mA sensor through a current to voltage converter. When connected to the power supply the sensor reading fluctuates, as soon as I also connect it to a USB port it ...
0
votes
0answers
11 views

How can I fix my HRLV-MaxSonar-EZ ultrasonic sensor so it does not give gibberish feedback?

I have hooked up my ultrasonic sensor to my Arduino correctly, I know this because I am getting feedback from it, but when I run this code: int mode = 2; double distance; double calibration; void ...
0
votes
2answers
58 views

Connecting multiple MAX30100/30102 via I2C

I want to connect multiple (up to 4) MAX30100 or MAX30102 oximeter sensors to an Arduino via I2c. But I could not find a solution to change/assign the I2C address. implementing-pulse-oximeter-using-...
0
votes
2answers
113 views

How to combine two different sensor sketches to one complete sketch?

How to combine two different sensor sketches to one complete sketch for a complete circuit that attaches to one Arduino Uno? Sharp Dust Sensor int measurePin = A0; // Connect dust sensor to Arduino ...
1
vote
0answers
29 views

Help with app controlled Arduino sensors [closed]

(I'm a beginner in using Arduino and MIT App Inventor) We have this project (an app-controlled aquaponics system) where our group decided to use an app to control the arduino sensors and then show ...
0
votes
1answer
51 views

Serial plotter isn't displaying my supplied data

I want to use serial plotter feature of Arduino by using DHT11 as humidity sensor at a time. But I'm getting problem as plotter is not loading by the code I have. Please help me what is the problem ...
-2
votes
1answer
34 views

Use 2 DHT22 AND PASS THE DATA TO SD Error File data does not exsist

anyone can help me please to fix this error when I try to compilate says File does not exsist. It would be great if anyone can post the entirely code. Link of code below if anyone can help me please: ...
0
votes
1answer
51 views

sensor for illegal parking detection [closed]

I want to create a system that will detect illegal parking. I will place the sensor s to specific locations and when a car parks there the system will send a message to local authorities. My question ...
0
votes
1answer
51 views

Do all pins of Arduino Uno output 5V?

I am currently working on a project which uses PIR motion sensor and 5V relay. Since you might be familiar that both the motion sensor and the relay requires a 5V connection. My problem is, I don't ...
0
votes
0answers
63 views

Not able to find right library for MPU9250

I am using an Arduino Uno and learning to use the motion sensor. Currently I was not able to find the library which looks simple and would like to get your suggestion. I found this https://github.com/...
0
votes
2answers
80 views

Arduino library redeclaration error

This is my first time here and I hope someone can be of help! I'll try to keep it as concise as possible. So I have two sensors/modules, 1 is an LCD screen from elecrow and another is the DS1307. ...
0
votes
1answer
49 views

Use 2 DHT22 AND PASS THE DATA TO SD?

I have the code to pass the data from dht22 to sd but for only one and i want to pass the data from 1 dht22 with one file and the data from other sensor to other file and logging in to sd. Anyone can ...