Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
36 views

How to convert RGB values to Intensity

I made an arduino color sensor with tcs3200 and arduino uno. I have coded the arduino to find the RGB values when I place the color paper below the sensor. How can I derive the intensity using the RGB ...
0
votes
1answer
41 views

Problem on interfacing 3 flame sensors and servo to Arduino Fire Fighter

I had been trying to make Arduino Fire Fighter Robot but facing several problems in interfacing 3 flame sensors and servo together. When I upload the following code( Which I had posted at the end of ...
0
votes
0answers
13 views

Fail getting readings from Radar sensor HW-MS03

I try to work with a new sensor - HW-MS03 v.06 sensor. Connecting it pin to pin (v+ to 5v, Sig to digital-input, and GND to GND ), both to Arduino Uno and ESP8266 Wemos mini, and got same results: ...
0
votes
2answers
43 views

Distance Measurement - between 6 points, individually moving in (almost) any direction within 1m

I'm trying to find a solution for a given task in a problem I want to solve. Assume I have 6 individual Points in a 3D environment of about 1m³. Each point will be able to change position (almost) ...
0
votes
1answer
394 views

Ultrasonic Sensor - JSN-SR04T 2.0

I would like to use the JSN-SR04T 2.0 in order to find the depth of a body of water. Once I test the sensor in a body of water, the distance measurements are then constant at about 20 cm. I then ...
1
vote
1answer
947 views

rf522 version 0x12

I bought a bunch of the common RC522 boards from some Aliexpress vendor. They (I tried multiple) seem to work at the register read-write level, but they don't seem to execute commands, much less ...
0
votes
1answer
49 views

A sensor to recognize my pet near me [closed]

Need a specific sensor that will detect when a pet comes close in a range of distance. As it comes close a beep intimates that the pet has reached. What sensor will work here. Can it work with an ...
0
votes
1answer
136 views

Not getting any output from ECG sensor AD8232

I am trying for the beginning to run a simple Arduino code in order to test the functionality of the ECG sensor. What I am getting on the output are some random values around 600 or around 200. I ...
-1
votes
1answer
40 views

Vibration pattern matching [closed]

I would like to generate vibration patterns using the SW-420 or something similar that is able to reproduce the same pattern on similar vibrations. So if a 10p coin was dropped on a table from 1m at a ...
0
votes
0answers
38 views

Calculating fluid volume using arduino sensors

I would like to measure liquid sealant volume inside bike tires, using sensor located between rim beads. I guess it would by possible, by using ToF sensor, that would measure distance between rim and ...
0
votes
1answer
60 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
1answer
25 views

Using HC-SRO4 sensor and looking for obstacle

I am working in TinkerCAD, I want to design and simulate a circuit in which there are following components: 1.)An Arduino board. 2.)A potentiometer 3.)An HC-SRO4 sensor 4.)An LED. So, the sensor ...
0
votes
1answer
69 views

Error compiling code for Arduino/Genuino Uno. “multiple definition of `__vector_7”

#include <PulseSensorPlayground.h> int pulsePin = A0; // Pulse Sensor purple wire connected to analog pin A0 int Redled = 7; // The pin for the Red LED which notifies you if ...
-1
votes
1answer
22 views

Stopping a motor after a given time period [duplicate]

I have a code to turn on a LED when IR Proximity sensor having a object less than 6cm in front of it, and the LED goes down after it is removed. Now, I want the LED to run for 3 seconds only, even if ...
0
votes
1answer
71 views

Plant irrigation system

I'm very new to the Arduino game I wanted to make a small auto watering system for my plants. I bought these items 5V 1 CHANNEL RELAY MODULE FOR ARDUINO PIC AVR DSP ARMB 9 VOLT BATTERY SNAP ...
0
votes
0answers
20 views

Output of mlx90614 to mcufriend tft/lcd, not getting displayed

Newbie here !! Im trying to display the output of my MLX90614 sensor on mcufriend tft display (with arduino UNO). But unable to do so. I can only see the TFT being lit to white color, text -> "Target" ...
0
votes
1answer
149 views

Trying to read different gas levels with MQ2 Gas Sensor

I found a link on how to connect MQ-2 Gas Sensor to Arduino Uno. http://electronicsprojectshub.com/how-to-connect-mq2-gas-sensor-to-arduino/ After I bought all the parts and tried it out, the sensor ...
0
votes
1answer
83 views

Communication with sensor KMX63 in I2C

I trying to use a new sensor the KMX63 with a Arduino Uno board, my sensor is on a evaluation board made by kionix. For the connexion il linked as follows: | Pin Uno | Pin evaluation board | | A5 | 5 |...
-1
votes
2answers
146 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
1answer
27 views

How to find the time of any point on the graph on an Arduino serial plotter or Processing software?

I am plotting the graph of some sensor values on my Arduino serial plotter which looks something like this - But what I want to do is hover over any point on the graph and display the time at that ...
0
votes
1answer
325 views

How to detect the direction of rotation with a sensor encoder timing disk (photoelectric speed sensor)?

I am making a DIY gaming steering wheel and am stuck. For measuring the rotation of the wheel, I'm using a sensor encoder timing disk, which is usually found in printers. - https://robu.in/product/...
0
votes
0answers
29 views

Detecting a finger snap(basically trying to replicate infinity gauntlet)

I am trying to make an infinity gauntlet. So it's obvious it should have a snap feature(which will switch of a light,motor or whatever). But I don't know how to go about sense this snap. I thought of ...
1
vote
2answers
261 views

Spikes in CO2 and TVOC measurements with CJMCU-811 sensor

Firstly, I'm not sure if this is the right SE to ask this question. Please feel free to direct me somewhere else if needed. I am observing large spikes in CO2 and TVOC measurements using the CJMCU-...
0
votes
1answer
865 views

How to: soil moisture measurement with WaterMark? [closed]

I am new with Arduino, and i cant find documentation about how to connect Arduino with Watermark successfully. I would like to connect my Arduino UNO with a watermark like this: http://guideimg....
0
votes
2answers
674 views

Managing 2 ultrasonic sensors without blocking the other

I have an ultrasonic distance sensor. When this sensor is measuring a distance below 25 cm, a second sensor has to be measuring a distance below 5 cm. If not, there should be a one minute timespan, ...
1
vote
3answers
2k views

Wifi Data Logger without Delay

I am really new to Arduino so please bear with me. I am running an Arduino Uno with several sensors to capture some data related to a fish tank. Here is basically what it does: Capture data (light, ...
1
vote
1answer
46 views

Why does the LEDs affect Analog Input?

So I'm working for a project to control RGB Led Strip using microphone or sound sensor with Arduino Nano. I'm using 5050 RGB Led Strip around 120 LEDs, and I control them using simple transistor ...
-1
votes
2answers
62 views

LSM303 unable to compensate tilt

I am working on a tilt compensated compass with the LSM303DLHC. I manage to calibrate the magnetic and accelero part. I managed to calculate pitch and roll. But when it comes to calculate tilt ...
0
votes
2answers
50 views

Arduino sends bad data ONLY when not connected at the launch my application

I'm trying to write a little sensor reading application with a light sensor attached to an Arduino, which writes the information from the sensor over serial. I have written a python program to read ...
0
votes
1answer
29 views

Need help with using pulseInLong to time a sensor

I have a setup consisting of a magnet suspended above a sensor coil. It acts as a pendulum and creates a ~ 4 mV signal when it swings over the coil - this goes through two stages of an LM358 to ...
0
votes
1answer
27 views

How to use DO pin on ldr module?

I have ldr module with 4 pins 1. Vin 2. Gnd 3. AO 4. DO I want to know how can i take advantage of DO suppose i want to turn on lcd display when light falls on the ldr sensor! I have noticed ...
0
votes
2answers
977 views

Get accelerometer values from BNO055 using adafruit's Unified Sensor Library

If I understand correctly using the Adafruit_Sensor one can extract information from the sensor specific information. These sensors are currently mentioned in the README. I am using the BNO055 for two ...
0
votes
1answer
174 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, ...
-1
votes
1answer
27 views

Ultrasonic Sensor as Unlock Sensor

Is it possible to use ultrasonic sensors maybe HC SR04 type as unlock sensors? I'm figuring out if it can replace matrix keypad? For example 6 HC SR04 are used to be an input sensor waiting for a ...
0
votes
1answer
40 views

What are the units of output of soil moisture sensor?

I want to use a soil moisture sensor using arduino uno R3. I am using the analog output. The values are in the range of 100 to 1300 as in the readings mention in this question. May I know what ...
0
votes
0answers
15 views

ESP8266 & 2x VL53L0X Sensors cause WDT resets

I have a system that utilises 2 VL53L0X sensors. This works fine for the majority of time, but after around 20 hours till 2 days (varying), the ESP resets due to Software a WDT, I've managed to do a ...
0
votes
1answer
54 views

I need some help getting data from a rangefinder

I have wired up my range finder (CJVL53L0XV2) to a breadboard for testing and have run the arduino example code for the rangefinder. The rangefinder works, but I do not know how to take the distance ...
0
votes
0answers
16 views

Arduino multiple sensor lib combine [duplicate]

I'm new to arduino. How can i combine these codes? Thx. (I'm using Uno) #include "DFRobot_BNO055.h" #include "Wire.h" typedef DFRobot_BNO055_IIC BNO; // ******** use abbreviations instead of ...
0
votes
2answers
2k views

Determining state of charge using current sensor (ACS758) with arduino uno

I am working on a university project and I am struggling with estimating the state of charge of our batteries, by using coulomb counting. Background: We are supposed to build a power supply for a ...
0
votes
0answers
22 views

Read the respiration data to Arduino serial console

Currently working with ADS1292rShield library. Is there any way to read the value of the respiration and heart rate without using the Protocentral GUI. Printing DataPacketHeader to the console just ...
0
votes
1answer
34 views

Tilt Compensated Compass Using HMC5983 gives inconsistent output

I've been trying to build a tilt compensated compass for an autonomous Arduino car I'm building. I'm having issues with the consistency of my data. This is the code I'm using. #include <Wire.h>...
0
votes
1answer
63 views

DHT11 Humidity/Temp Sensor showing incorrect values [duplicate]

So I am trying to use a humidity sensor with an LCD, but have run into this problem I have yet to fix. My problem is that when it is turned on, it returns the values Humidity: 255% and Temp: 255C. I ...
0
votes
1answer
38 views

Problem with if condition

So my project is including detecting the temperature in the room by using dth11 sensor. my idea is to add 3 LED lights were each light represent the temperature if its cold or hot or perfect. the ...
0
votes
1answer
23 views

NodeMCU V2 ESP8266 - Use 5VIN as power for heater of a MQ-9 Sensor

Right now I'm trying to understand how I could (easily) power the heater of my MQ-9 carbon monoxid and gas sensor. Here is the datasheet: http://www.haoyuelectronics.com/Attachment/MQ-9/MQ9.pdf It ...
0
votes
5answers
5k views

HC-SR505 PIR Sensor only outputting HIGH

I recently bought an HC-SR505 Mini PIR sensor. I connected its positive to my Arduino UNO's 5v, output to digital pin 2, and ground to ground. I used Adafruit's code to test it, but all the serial ...
0
votes
1answer
397 views

Two flow sensors, one ESP32, LCD and/or Arduino

I want to build a flow meter but the Gal/Min rating of something like this flow meter is too low. I am thinking of strapping two side by side with suitable plenums for In and Out. I have found some ...
1
vote
0answers
38 views

Can ultrasonic distance sensor get good readings for a passing object?

I am working on a project where I laid 5 Ultrasonic distance sensors in a string on a rigid wood plank that lays on the ground and points all the sensors upward behind the guy with the bat. When the ...
0
votes
1answer
1k views

Controlling a servo motor with a touch sensor

I want to modify my code to move a servo motor only for the duration of time that the sensor is touched and stop moving immediately when the sensor is no longer touched. The code I have moves the ...
0
votes
1answer
92 views

Shock sensor is not running in the file

I have faced an issue where the shock sensor is not running in the file. My idea is that when the ultrasonic sensor sense that when it is 4cm, the garage door will open. When the car reverses, the ...
1
vote
4answers
4k views

ToF Laser Sensor (VL53L0X) not working

I have this time of flight laser distance sensor: http://www.dx.com/de/p/cjmcu-vl53l0x-tof-laser-distance-measuring-sensor-module-purple-449081#.WSbn52jyi70 The example code of the VL53L0X-arduino ...

1
2 3 4 5
22