Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
17 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
40 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: ...
-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
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
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
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 ...
-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
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
0answers
28 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
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
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
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
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
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
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
33 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
62 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
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 ...
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
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
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 ...
-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
2answers
20 views

Connecting two sensors to one analog pin

I am completely new to programming with Arduino so please bear with me if this seems stupid. I am using an Arduino Uno R3. I have two sensors, a Soil Moisture sensor and an LDR Light Sensor. Both ...
0
votes
1answer
42 views

Soil moisture sensor, weird readings

I'm having a small problem with my soil moisture sensor it gives me weird readings, in the second the smallest connection is made between the legs it just gives me 4096 (which is max possible value),...
0
votes
0answers
59 views

Whats wrong with my SPI code using uno?

I am stuck reading A1335 sensor through SPI. I have asked on the Aduino forum under the "Networking.." topic but no one is helping. Link to other forum post I have changed the code so many times now ...
1
vote
1answer
85 views

How to connect naked camera from mobile phone to Arduino Uno

Okay, guys. I have this 3 cameras(middle from the iPhone 6s, 2 at the side I found, and I think there are from modern phone). I need some information how to connect Arduino Uno to them. I know c/c++, ...
0
votes
1answer
37 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
79 views

How do I put timers by using millis on 3 PIR sensors?

I want to make the PIRs to stay on for about 1 minute. I've found the code that can do so for 1 PIR, but I dont know how to apply the code for 3 PIRs. Here is the code for 1 PIR with timer using ...
0
votes
0answers
81 views

Unable to find/connect I2C devices (SHT31 & SGP30)

I have recently purchased an Arduino Nano 33 IOT together with two sensors: Adafruit SHT31-D (https://learn.adafruit.com/adafruit-sht31-d-temperature-and-humidity-sensor-breakout) Adafruit SGP30 (...
-1
votes
1answer
40 views

Part identification [closed]

This may be a dumb question but i would like to know what this part is. Anyone who knows?
1
vote
0answers
48 views

How to get my LCD contentiously updating with data from sensor?

EDIT DOWNSTAIRS: Hello beautiful people of the internet! How are you smart people doing with all that's going on these days. Okay so the title says it pretty much. I've got a code and inside of my if'...
0
votes
1answer
27 views

Interrupting a servo sweep with a force sensor

this is my first time dealing with arduinos and I have a school assignment. I have a servo and a force sensor. When "1" (a character, not an integer) is typed in the serial monitor, the servo needs to ...
0
votes
0answers
54 views

Arduino Measuring Microwave Leakage

I want to measure if my microwave has a leakage using Arduino. Ideally, I would like to get the exact number measured by mW/cm2 (similar to HT-M2 devices). Any advice which Arduino module can do it?
0
votes
1answer
60 views

Modifying smart watch or activity armband with further sensors

I want something like an activity armband where I would like to add an bend sensor or EMG sensor for simple hand gesture recognition tasks. I could probably build it from scratch with arduino-like ...
0
votes
0answers
35 views

Arduino Won't Work With Sensors - Pulsates 1/HIGH when not plugged in, constant HIGH/1 when plugged in

simulate this circuit – Schematic created using CircuitLab I tried to do a simple project where a 8x8 matrix lamp would display something different depending on whether or not a sensor ...
0
votes
0answers
73 views

Help Needed! How do I attach a color sensor to a 2WD robot and use it to control its movement?

I'm relatively new to the world of Arduino, so don't be frustrated if I ask questions that could be silly. This project has a deadline, so any input is appreciated. THE PROJECT: I am planning to ...
-3
votes
1answer
74 views

On compiling I get #endif without #if error. Here is the code. Please help! [closed]

#include <Arduino.h> #endif #include <ESP8266WiFi.h> #define watersensor D2 const char* ssid = "pooja"; const char* password = "ranip2780@"; WiFiServer server(301); IPAddress ip(192, 168, ...
1
vote
0answers
106 views

Error compiling for board Arduino Nano 33 BLE

I am trying to use pulse sensor with Arduino Nano 33 BLE sense, but when I verify it, it shows Error compiling for board Arduino Nano 33 BLE. The code is from the pulse sensor website. The code works ...
0
votes
0answers
16 views

Distance sensor with Servo

so I am using an Ultrasonic Distance Sensor with Servomotors and I want it that when the sensor senses a distance of 50 cm the servomotors move to the selected position and then stay in that position ...
0
votes
1answer
86 views

Use Low Power Arduino with Solar Panel

I am trying to create an arduino system with radio-transmitters and radio-receivers. The system runs from a rechargable battery that is charged with a solar panel. I am using a 1.1W 6V solar panel. ...
0
votes
0answers
11 views

I need to connect two motors and a sensor, I have each individual code but can't connect them together. Can anyone help? [duplicate]

I've got the wiring complete and have all the codes for each individual part. When I try adding them together it doesn't work and get a bunch of errors, I also want the sensor to give out true/false ...
0
votes
1answer
51 views

Sound sensor signals with time bracket

I've tried many codes for this to work but anything isn't helping at all, so my code should work like this: If a sound sensor (3 pins, A2) sends 5 signals into the Arduino within 10 seconds (the time ...
-1
votes
1answer
43 views

How to Set Sensor Data Parameters?

Good day! How to set sensor Data parameters? Like the data only set for example it starts with minimum value of 3 and ends with maximum value of 6 and it will turn on led 1 and if minimum value of 1 ...
0
votes
3answers
50 views

Best way to measure liquid level of a 10 meter high tank? [closed]

I would like to measure the height at which the liquid inside a 10 meter high tank, what is the best way to achieve it? What sensor should i use? I have seen ultrasound sensors but I have not found ...
0
votes
1answer
45 views

Reading sensor with current ouput with Arduino

I am having diffuclt times with this sensor, so I kndliy ask for your help! The sensor is named "SPUVA-CS-C3535-A", datasheet here. The sensor I use (cs3535) has just two pins (+ and -). From my ...
0
votes
0answers
34 views

ESP8266 GPIO limitations with HC-SR04

I want to build a systems that measures if some parking spots are occupied or not. I chose to use an ESP8266 12-E NodeMCU Kit with multiple HC-SR04 ultrasonic sensors. In my project, it is essential ...
0
votes
0answers
21 views

Need help when i use ph 4502c and upload my code thats is going pop out [duplicate]

Arduino: 1.8.12 (Windows 7), Board: "Arduino Uno" Sketch uses 3938 bytes (12%) of program storage space. Maximum is 32256 bytes. Global variables use 240 bytes (11%) of dynamic memory, leaving 1808 ...

1
2 3 4 5
22