Use this tag for questions about selecting, connecting, using, and debugging sensors.
0
votes
0answers
3 views
Sensors to measure wrist bending
I'm working on gesture gloves project, which means it detect hand movement or current position, to be used in something else such as controlling a car.
I wanted to measure how much the wrist joint is ...
2
votes
1answer
30 views
Water level Detection using Ultrasonic Sensor and arduino
I'm making a water level detector to control my motor which supplies water in water tank and for that I'm going to use ultrasonic sensor to be attached to tank lid. My question is whether the vapor ...
0
votes
1answer
19 views
Problems with Ultrasonic Sensor
I want to check my understanding on how to use digitalWrite for 5V and Grd and why this code isn't working.
This is for the Makeblock sensor
Consider the image here which says to plugin a wire to 5V,...
0
votes
1answer
25 views
Use an electromagnet for reading induction aswell
I have an electromagnet that I wish to use to pull a neodyne magnet closer.
I'm thinking of having the electromagnet sensing when the magnet is close, but when the magnet is running I'm pushing 12 ...
1
vote
1answer
36 views
How to read Ultrasonic sensor value to use and drive servo motors
I would like to know how i can use my ultrasonic value in an if else statement, so i can use the value that the servo motors stop running and go in another direction when the ultrasonic sensor gets ...
0
votes
1answer
49 views
Detecting ground distance through rubber
I want to put a small Arduino and some sensors inside a tennis ball to measure the ball's height above the ground. It won't be used for tennis, just for fun.
Is there any sensing solution that would ...
0
votes
0answers
32 views
I have a sensor but it doesn't respond
For those who think: TL;DR long story short:
I want to measure the voltage output at certain temperature using arduino but do not get a signal.
Not sure if it belongs here, but you folks know a lot ...
2
votes
2answers
45 views
What are the logical errors in this piece of code?
The client always reply with "ThisCodeTurnsTheUnoOnn" or ThisCodeTurnsTheUnoOff" based on some conditions.
This piece of code is inside arduino uno's void loop().
Expected behavior:
The arduino ...
0
votes
0answers
29 views
BNO055 quaternion meaning [on hold]
A quaternion is [cos a, ux sina, uy sina, uz sina].
BNO055 return a quaternion with 4 coefficients (x,y,z,w). Which one is the cos a?
0
votes
0answers
11 views
Iqs316 proximity sensors using with Arduino?
Does anyone know how to use the iqs316 touch sensor using for Arduino? I only found the setup code for pic18. I don't know how to setup the iqs316 in Arduino. Please share with me if you know.
0
votes
2answers
78 views
code for automatic door
code changed // i want it running as a normal automatic door so both sensors work as a separate activate the only problem ive seen is that the servo remains active waiting for another high read and u ...
0
votes
0answers
19 views
How to wire and poll measurements from a OnoSokki GS-1713 Linear Gauge Sensor using an Uno
I have an OnoSokki GS-1713 Linear Gauge Sensor
(https://www.onosokki.net/catalog/viewProduct.cfm?ProductID=274). I do not understand the technical manual very well provided on this page. I know that ...
0
votes
1answer
28 views
How to turn I2C Sensors on and off with an Arduino Mega 2560?
I want to turn on and off I2C Sensors with the Arduino Mega 2560.
I use one max. 0.4A NPN Transistor, which controls the Vcc line to the sensor.
When I plug my Arduino into my laptop and the ...
1
vote
1answer
47 views
Is my MQ-2 gas sensor analog or digital?
I have this MQ-2 gas sensor for an Arduino Uno:
I found these two articles about how to use it:
https://create.arduino.cc/projecthub/Aritro/smoke-detection-using-mq-2-gas-sensor-79c54a
http://...
1
vote
1answer
58 views
Detecting mutual contact between balls
Is there a simple way to rig two balls in a way that lets you know if they are touching?
For example, here's a bad idea. Put a free-to-move magnet inside of each ball. When the balls get close, the ...
1
vote
1answer
31 views
multiple transmitters and problem with ref
There are three Arduinos on a model. Each of them has a temperature sensor DS18B20 Dallas and an antenna wireless communication nRF24L01. There is also an independent device consisting of an Arduino ...
2
votes
2answers
86 views
Using a lot of interrupts on a single Arduino
I'm doing a little project that requires a lot of sensors. Right now I'm using 4, but i want to reach up to 60 sensors, and a minimum of 16 (for me that's a lot).
So, I have an Arduino MEGA 2560, and ...
1
vote
1answer
34 views
Will this SensorHub work?
As a project I have to build a SensorHub with multiple sensors. I am relatively new to the Arduino and circuit world, so I need a little help.
The Goal is to build hub with multiple sensors and to be ...
-3
votes
0answers
40 views
How to connect more than one different sensor to Arduino Yun
It is possible to connect different sensor like water level sensor, soil humidity sensor, moisture sensor and solenoid valve to the Arduino yun?
If it is possible, then I would like to transfer the ...
1
vote
0answers
22 views
DHT22: Library and Data accuracy
I am using DHT22 temperature/humidity sensor and I noticed that there exist so many libraries. I wonder which one is the most accurate?
It is giving me readings that does not seem to be logic. High ...
2
votes
3answers
187 views
A more elegant way to deal with timers without using delay()?
I am looking for a more elegant way to write a function that performs timer-based tasks as in the case of the code below, which essentially collects 5 sample values from a microphone module over a ...
2
votes
1answer
65 views
Arduino project feasibility
Question completely rewritten
Trying to assess an Arduino project feasibility. New to Arduino... but did a lot of controller programming (assembly), Roboteq (C) and Phidgets (C++) , using various ...
1
vote
2answers
122 views
How many sensors can be supported by a single Arduino unit?
I am a beginner in the Arduino world. I made some basic projects of the book that comes with the starter kit (it's was borrowed by a friend of mine) and also I used a humidity, a temperature sensors ...
0
votes
0answers
59 views
Grove- Multichannel Gas Sensor - Arduino
I am connecting the Grove Multichannel Gas sensor with Arduino Uno like any other I2C sensor (Vcc, GND, SLA, SDA) and I am using the basic example of the library to read the gases concentration.
...
0
votes
5answers
77 views
Pneumatic cylinders with sensors with Arduino Uno
I'm working on my own project with Arduino Uno. There are controlled 4 pneumatic cylinders via 4 coils. Every pneumatic cylinder has got their own coil which switch air to the pneumatic cylinder. ...
0
votes
0answers
27 views
Gyro drift compensation with temperature
I have been using MPU050 for gyroscope and accelerometer.
Is there an algorithm , flowchart , something that explains gyro drift due to temperature and how to compensate that drift due to ...
0
votes
0answers
12 views
ultrasonic sensor and bluetooth module not working with each other
why the ultrasonic distance sensor doesn't work when the Bluetooth module is working and implementing more than one command like for example when i tell the Bluetooth to move forward on pressing the ...
0
votes
0answers
8 views
MQ135 reading not coherent
I've received my MQ135 from keyestudio. It is premounted on its own PCB with a variable pot, leds, and 4 pins.
I plug GND, +5V and A0 to the arduino A0 analog input.
I've let it plugged for 48hrs to "...
0
votes
2answers
20 views
What is the variable pot exactly for in arduino sensors boards?
I have a MQ135 gas sensor from keyestudio, and a light sensor from a chinese manufacturer. They are both on their own PCB with resistors, small eeprom and a variable pot.
Turning the variable pot ...
0
votes
1answer
39 views
build simple IR sensor with 220 ohm and 1000 ohm resistors
I am brand new to the arduino board and I am trying to build a simple IR proximity sensor. I bought a handful of emitters and detectors from amazon here:
https://www.amazon.com/gp/product/B01HGIQ8NG/...
1
vote
1answer
36 views
UVB sensing with Arduino
As part of the research I am involved with, the detection (not imaging) of UV (ultraviolet) sources, either emitters or reflectors is an important factor.
I am aware of the SparkFun UV Sensor ...
0
votes
0answers
19 views
Distance Sensor doesn't reset after else statement
I've been having a lot of difficulty with my sharp ir distance sensor. It doesn't seem to detect anything further then 10 cm even though the range is supposed to reach 80. Nevertheless I am also ...
0
votes
1answer
51 views
Can I use a PIR sensor to turn on an arduino?
I'd like to use a PIR sensor (HC-SR501) to control the power to an Arduino Uno. Note that I'm not talking about using a PIR sensor as input to the Arduino and sensing the output pin from the PIR, I'm ...
0
votes
1answer
29 views
Piezo sensors for intruder location
I am working on a project using 4 piezo sensors, and I want to be able to take 4 signals integrate them and provide an out put to an LCD pinpointing the location of movement within the area of the 4 ...
0
votes
1answer
38 views
Engine Speed Control Observation
I am using an Arduino Mega to control the speed of an internal combustion engine.
The speed is sensed via a Variable Reluctance Sensor (VRS) on the crankshaft. This signal is then converted into a 5V ...
2
votes
2answers
52 views
How to get readings on serial monitor in every 10s?
I am doing my final year project and here I am attaching the code I am using. According to the code, I will get the sensor output in serial monitor. But I want to get reading once n 10ms. Since serial ...
0
votes
0answers
22 views
Arduino 101 Accelerometer
Does anyone have the specs of the accelerometer on the Arduino 101. I wanted to build a robot with it and I'm not sure if the accelerometer has a high enough update rate.
1
vote
1answer
118 views
Arduino: Reading PPM values from MQ-131 Ozone sensor
I have this sensor MQ131 by sainsmart: https://www.amazon.co.uk/gp/product/B00NL8XIQG/ref=ox_sc_act_title_1?ie=UTF8&psc=1&smid=A3DRI1TTHCTDIG
All I can read is the analog value which does ...
0
votes
2answers
54 views
Motion Tracking Using Arduino?
I'm trying to make a human following robot.Tried using ultrasonic sensors to follow a specific person by Having ultrasonic sensor with the person to send echo to the robot,But it didn't workout.
Any ...
0
votes
2answers
30 views
Scale Magnometer to Servo
I'm trying to determine what is the best way to scale a magnometer to a servo, I am using the BNO055 from Bosch I get a heading say 50 degrees, and I want to be able to input 45 degrees and have the ...
2
votes
2answers
46 views
Serial Monitor listing rapidly
I am using an infrared sensor and a flex sensor to read values from the serial monitor in arduino, however after maybe ten seconds or so it seems the serial monitor breaks and the printed values start ...
0
votes
1answer
42 views
ACS712 Not working correctly with Arduino
So I have the basic setup ready with one relay that is controlling a 200W bulb. The Phase of this bulb is passed through a current sensor acs712. While running a simple analog read example sketch, I ...
0
votes
0answers
15 views
Oxygen sensor up to 50%
Are there any oxygen sensor with measure up to 50%.
As I understood there are sensors that measure only in range 0-30%
0
votes
0answers
48 views
How to connect a WCS 2750 current sensor to arduino?
I am using a WCS 2750 sensor to sense the current of a 3 phase motor. But the sensor output seems to have DC offset of 2.5V. It would we really great if someone could guide me on this. Thanks in ...
1
vote
1answer
40 views
Is there an easy way to turn integer values to pixels?
I'm working with a black & white camera and it gives me integer values to represent the amount of light hitting the sensor. Very bright is 1023 and totally dark is 0. The values are printed ...
1
vote
1answer
58 views
Arduino Mega Hall sensor interrupt for a speedometer
I am having difficulty setting up an interrupt to count how many times the magnet passes so that I can count something like every 100 ms the actual speed.
I have a little code put together from the ...
1
vote
1answer
22 views
How is the integration time set for a camera?
I using the TSL1401R-LF Linescan Camera Module, which reads in a 1 X 128 line of pixels, and I'm having trouble understanding how the integration time is set for this device.
I understand from page 9 ...
1
vote
1answer
43 views
Problem in using COZIR W-100 with arduino
I was using the COZIR W-100 carbon dioxide sensor with an Arduino Mega 2560 with the example code from this site.
But the measured value of carbon dioxide by sensor was 90 ppm in fresh air and that ...
0
votes
1answer
31 views
Arduino for Weather and Air Monitoring: Casing and Power Source
I am intended to use Arduino to measure Temperature and Humidity (DTH11) and Gases Grove Sensor (Multichannel). Due to weather conditions in UK, I would to get your advice how to shield all of them in ...
1
vote
5answers
106 views
How accurate is arduino time keeping?
I want to use my arduino to turn a light off for 16 hours and on for 8 hours. I know the general code, just using delays and the relay shield code as well. I want to know how accurate this will be? ( ...