Use this tag for questions about selecting, connecting, using, and debugging sensors.
-3
votes
2answers
22 views
getting error while trying to compile code for soil moisture sensor
I think the below logic should work but its throwing error
void setup() {
Serial.begin(9600);
}
void loop() {
int soil_moisture = analogRead(A0); // read from analog pin A3
// int soil_moisture ...
-3
votes
0answers
25 views
Project Idea HELP [on hold]
I'm currently starting my final year of high school and in the need of a Design and Technology major project idea. At the moment I have an idea and although I currently don't know much about coding ...
3
votes
1answer
26 views
Can LilyPad Main Board interface with a sensor via UART?
Is the LilyPad Arduino Main Board physically capable of interfacing with, let's say, a LeddarTech LeddarOne Optical Rangefinder, which has a 3.3v UART interface? I understand that the LilyPad has a ...
-6
votes
0answers
35 views
Looking for advice to DIY a Arduino board for my robot arm [closed]
I want to design a PCB for an arduino board and make a robot arm based on it. what sensor you think is indispensible to be integrated on it and how do design it?
I have intend to integrete these ...
0
votes
0answers
14 views
Read Data From USB Device (Laser Range Finder Sensor) Using Arduino Due
I currently have a LIDAR sensor which has USB interface. The sensor works just fine using USB connection and the provided software. Now I want to connect it to the Arduino Due so that the ardunio can ...
0
votes
2answers
30 views
Using ps2 mouse (PAW3402 / PAW3412) as a distance sensor for arduino
I am working on a project where I need to calculate distance traveled by a robot. The mouse is connected to the arduino uno processor and I received some sample code from the arduino website to get ...
-1
votes
1answer
37 views
Issue with photoresistor - the analogRead stays pretty much the same?
Previously I was asking which sensor use to measure the light: Which sensor to detect light?
Here is a short video showcasing my issue: https://www.youtube.com/watch?v=VGs_Ax_wlbg
Super simple .INO ...
0
votes
1answer
29 views
IOT: Sensors to Dashboard [on hold]
Hello this my first IoT project / working with hardware. I would really appreciate any feedback on the architecture design.
The objective of the project is to build devices to read sensor data, store ...
-4
votes
1answer
38 views
Sensor for detect there is a car or not ?
please I'm aiming to do a project for parking system but first of thing I need a sensor to detect there is a car or not other than ultrasonic sensor ..
please any one know any kind of those sensors ? ...
0
votes
2answers
52 views
Multiple I2C BREAKOUTS with pull-up resistors doesn't work [UPDATE]
[UPDATE] Now it works fine but the as soon as I add the GY-521 module (hardware not software), it starts sending me crapy info
Project uses:
Arduino Pro Mini as brain
FTDI as a programmer
GY-521 ...
0
votes
3answers
58 views
Which sensor to detect light?
I have a kit of 37 sensors as described here:
http://www.instructables.com/id/Arduino-37-in-1-Sensors-Kit-Explained/?ALLSTEPS
https://tkkrlab.nl/wiki/Arduino_37_sensors
I want to create a simple ...
0
votes
2answers
43 views
What sensor would work for soccer ball detection efficiently using Arduino?
I want to make a soccer goal counter using Arduino and some sensors. I built using an ultrasonic sensor, but it does not detect if the ball is moving too fast. Are there any other sensors I can use to ...
1
vote
1answer
19 views
How do I use two PulseIn() functions simultaneously in Arduino?
I want to connect multiple Ultrasonic sensors to my Arduino board. For that, I need multiple pulseIn() functions to work at the same time. How can I do that?
2
votes
2answers
71 views
Read speed between two ultrasonic sensors
I'm new to Ardunio and in need of help for this small project.
I'm trying to build an Ardunio code that reads the speed of an object passing through two ultrasonic sensors. The plan now is to ping ...
1
vote
1answer
21 views
Results for GP2Y1010AU0F Dust Sensor
I am using Dust Sensor GP2Y1010AU0F
I downloaded the code from the manufacturer here:
http://www.waveshare.com/wiki/Dust_Sensor
/**********************************************************************...
1
vote
0answers
29 views
How to find gain for this device
I am doing a project with Arduino to find CO2 in an environment. For the purpose, I bought a break-out-board with an MG811 sensor on it. I bought it from eBay and it came with no datasheet. I searched ...
1
vote
1answer
44 views
Receive data from multiple wireless sensors simultaneously
I want to receive data from multiple (2/3) wireless sensors at the 512 Hz data rate simultaneously at a single receiver (bluetooth or any other wireless standard). Is it possible or need I multiple ...
1
vote
1answer
20 views
Arduino Due: multiple TCS sensors
I am trying to run 2 TCS3200’s from one Arduino Due. Next, I must increase to 4 sensors. I need to read the data from the 2 digital pins but how do I read both within the same loop rather than in ...
0
votes
1answer
54 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 ...
3
votes
2answers
85 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
22 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
29 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
48 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
58 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
36 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
49 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
13 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
95 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
23 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
40 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 sketch ...
1
vote
1answer
55 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://www....
1
vote
1answer
62 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
35 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
111 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
37 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 ...
1
vote
0answers
41 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
194 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
66 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
221 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
104 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
102 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
40 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
15 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
9 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 ...
1
vote
1answer
59 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
43 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
54 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
42 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 ...