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
25 views

Prioritizing one sensor

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
15 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
36 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; ...
0
votes
1answer
23 views

wheatstone bridge uses question

why wheatstone bridge is used in Sensors's circuits ? i am following a course, the instructor directly said we build wheatstone bridge and started explaining it, but i didnt know we he choosed it ...
0
votes
1answer
28 views

Sense object position on flat surface (x/y coordinates)

Can I use an array of hall effect sensors and a strong magnet to solve this problem? Imagine a flat surface 60cm x 30cm (2' x 1'). I want to place an object on that surface and detect it's location ...
1
vote
1answer
45 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
33 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
24 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
17 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
62 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
1answer
22 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
10 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
30 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
57 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
26 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
36 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
43 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
49 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
29 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
39 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
47 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 ...
-1
votes
1answer
42 views

NPN sensor to Arduino

I have a beam sensor providing NPN and also PNP output. It as 4 wires and works on 24V. I hooked the brown(+) and blue(-) to a small 24V power supply and the sensor is working!!! Yeah! Now I would ...
0
votes
2answers
65 views

Combining 2 sensors in one code with 1 push button

I am trying to create a circuit with one tactile pushbutton, and LCD and two sensors: 1) temperature, and 2) pulse sensor. When the circuit is on, the LCD initially shows the reading from the temp ...
0
votes
2answers
69 views

Combining code for multiple sensors in a single program [closed]

I need to operate 3 different sensors (taken 6 sensors of each type) by Arduino Mega2560 :- DHT11 (temperature-Humidity sensor) MQ5 (gas sensor) and Soil Moisture sensor {taken 6 of each type (total=...
1
vote
1answer
85 views

Why is dtostrf() not working for this one value?

I'm building a weather station using an ESP32 and BME280. I'm feeding the data via MQTT and Python into a database that is then used to make a nice dashboard for the data. The MQTT message needs to ...
0
votes
0answers
36 views

Problems reading Ultrasonic Sensor and starting Stepper Motor

I have a problem with my Stepper Motor and Ultrasonic Sensor. I want to have the Sensor reading the distance, and when it is smaller than 20, it tells the Stepper Motor to stop. I can read the ...
0
votes
0answers
38 views

AD7606 DAQ and datalogging

I'm making a Data Acquisition System for force impact usign an AD7606 from Analog Devices, an Arduino DUE and a load cell. I already tested it following this guide an making the proper changes for ...
0
votes
1answer
29 views

Myoware reading multiple fingers? [closed]

So I have recently been trying to use the Myoware Muscle sensor to control an 3d printed arm, but it is only able to read the muscle of the entire arm. Is there anyway i could make the Myoware sensor ...
-1
votes
1answer
55 views

DHT11 Reading Too High Values

When I run the program, there are no syntax errors or anything. All it does is give me values for the temperature in the hundreds. I don't know if there is a way to turn these abstract and unexpected ...
0
votes
1answer
27 views

Issue with analog readings on Arduino atMega with YL-69 moisture sensors

I've connected four YL-69 sensors to my arduino at-mega2560 on analogs pins 0-3. This is combined with four DHT11 sensors that are in digital pins. The DHT work fine, and I can work one YL-69 ...
0
votes
1answer
50 views

Voltage sensor Calibration

We had used a voltage sensor unit to measure the voltage of the odroid board using an Arduino Uno. wWhen I uploaded the sketch and got the output, the value which was being displayed was around 4.7 to ...
0
votes
0answers
25 views

Question about controlling servos with PWM while being able to accurately read the current from a sensor

Hi I am hoping to design a custom board ATMEGA32u4 with practically a Arduino leonardo bootloader. I plan to control up to 12 servos while being able to read back the current sensor voltage of an ...
0
votes
0answers
58 views

NodeMCU with digital sound sensor - Can't find examples or good documentation

I'm very new to this world, and trying to hack one of my first projects have proven hard without solid documentation or examples to copy like I usually do. I've got a https://www.gearbest.com/...
0
votes
1answer
59 views

Digispark Attiny85 ultrasonic sensor input problem

I was trying to use ultrasonic with digispark Attiny85 board and used separate pins for trigger and echo, and used MM5451 led controller as a display, I uploaded the code successfully the problem is ...
1
vote
1answer
54 views

Arduino based fully controlled aquaculture

I am doing a project on aquaculture,so I am using temperature sensor, water level sensor, dissolved oxygen sensor, pH sensor and also 4 motor's and water heater is it possible for a single Arduino to ...
0
votes
1answer
160 views

Nan values in Egg Incubator

I've recently built my Arduino Incubator, which consists of a DHT22 sensor, an LCD Keypad Shield, some fans, resistors, e.t.c. I uploaded the sketch, and everything seemed fine. However, when I try ...
0
votes
2answers
42 views

What is the typical form for a finished Arduino project?

I just started with Arduino. I am an experienced software developer so the programming side was already mostly known to me, and I am surprised at just how easy Arduino have made the hardware side of ...
0
votes
0answers
12 views

Capturing SBAS GPS packets

I have an Adafruit Ultimate GPS using a PA6H module (datasheet) with PTMK command packets (command set sheet). I have it connected to my PC via Arduino and want to be able to read the SBAS data (...
0
votes
0answers
39 views

Sensors are not function with ESP8266 WeMos-D1R2

I attached all sensor into the Wemos-D1 for uploading the sensor data to the server. but when I upload the data to the server, it connects to the server but cannot save the data into the database and ...
0
votes
1answer
52 views

Arduino ultrasonic sensor project

I'm a newbie at Arduino, and I'm trying to make a project with ultrasonic sensor, I'm using the grove ultrasonic ranger, not the HC-SR04, and I already did test with distance and it worked very well, ...
0
votes
1answer
31 views

Will this sensor work with arduino?

I'm building an electronic gate. I'm needing a photoelectric sensor to detect cars. This one in the link looks decent. it runs on 12v so I will need to power it separately from the arduino. But does ...
3
votes
1answer
77 views

Maze solving robot turning failure due to sensor distance to the corner increasing during the turn

At my school we have a project where we have to make a robot that can solve a 3D-maze using an arduino controlled robot that uses ultrasonic sensors to determine how to turn. The robot may not be pre-...
0
votes
0answers
102 views

How to transmit Float sensor values via NRF24L01 module?

I'm trying to figure out a way to transmit four sensor values: Voltage, Current, Power and consumption but I'm unable to do that. Yet, my syntax is correct... what am I missing? #include <SPI.h&...
1
vote
1answer
78 views

Arduino Power Consumption

I am pairing an Arduino Uno along with both a HC-05 bluetooth module and a sensor circuit. Show below is the circuit conditions as well as the circuit. As far as powering up the system, I am ...
0
votes
1answer
56 views

Ultrasonic sensor showing weird reading

When i run a test code in Newping library for ultrasonic sensor SR04 then in works properly but when i run the actual code for obstacle avoiding robot then it shows 0 cm everytime. This means that ...
0
votes
1answer
36 views

I can't make more than one arduino gas sensor work at the same time

I'm doing a school project in which I need to track different kinds of gases, the problem is I can't read more than one sensor at the same time, I'm using four sensors (mq5, mq7, mq8 and mq135) and ...
0
votes
1answer
182 views

How to read the raw data from GY-85 module?

This module has 3 sensors. Gyroscope, Accelerometer and Magnetometer. I think I'm reading the raw data in the wrong way. For example, for the magnetometer HMC5883L, I'm using this code which I ...
0
votes
1answer
77 views

Connecting Winsen ZE11-C2H4 Sensor to Arduino

How should I connect the ZE11 Ethylene Sensor to an Arduino Uno? I want to know how to attach the pins of the sensor to the Arduino and which resistor I should use. I'm very unprofessional at working ...