Use this tag for questions about selecting, connecting, using, and debugging sensors.
0
votes
1answer
26 views
Running both sensor and addressable LED strips at a same time?
I'm trying to obtain the sensors readings as well as making the LED strips to light up at this particular pattern if the sensor readings reaches certain values. But since both of these codes are ...
0
votes
2answers
33 views
How to measure nitrogen flow through a tube?
I am looking for a simple way to detect nitrogen gas flow through a tube. I don't even need any sort of precision, just really need to know if flow exists or not.
What are some options I could pursue ...
0
votes
2answers
56 views
Student Project Inquiry(Building a Self Balancing robot)
I am currently building a self balancing robot using an L298N motors driver,and MPU6050 using an arduino microcontroller.
I managed to control my motors movements with no issues. After I extracted ...
0
votes
1answer
33 views
Which sensor is best for obstacle detecting with retroreflector?
Distance is about 3m. IR or visible light - does not matter.
It is possible that object/obstacle can be shiny, so for correct detection necessary large amount of reflected light.
Maybe for this task ...
0
votes
1answer
31 views
How do I use 3 Hc-sr04 ultrasonic sensors to control 3 vibration dc motor?
This code we are using only one motor and one hc-sr04 ultrasonic sensor, the code is shown below:
#define trigPin 7
#define echoPin 6
#define motorPin 5
void setup()
{
Serial.begin(9600);// to ...
2
votes
2answers
42 views
Hall Effect Current Sensor Wiring
I need help with wiring this current sensor so that I can read the output voltage as an analogue input. - http://www.tamuracorp.com/clientuploads/pdfs/engineeringdocs/L03SXXXD15.pdf
This is how I ...
1
vote
1answer
35 views
How to sense mobile signal coming to a room using arduino uno
How to make arduino sense mobile signal coming into a room and display the calling number on an LCD screen
1
vote
1answer
23 views
Underwater positioning system (swimming pool)
I'm making a few experiments with a quite simple rover car I made using Arduino UNO and a few spare parts. Just for the heck of it I made it waterproof and now I want to toss it in my pool to make ...
3
votes
1answer
50 views
Which device to use to measure AC current using Arduino?
I'm building a home automation product and want to measure AC current using Arduino (as of now). I've used ACS712 5A Hall Effect Current module but there's a lot of electrical noise and also the ...
2
votes
2answers
80 views
UltraSonic sensor in rain?
I am onto a simple project with Arduino, SR04 and a buzzer for "Car reverse parking assistance". The aim here is to make a buzz when the car gets too close to the objects.
I was thinking what if it's ...
3
votes
5answers
117 views
Two sensors on one input
I got this question from my teacher the other day and I can't figure it out:
If you have two sensors from two different outputs but want them to go into one input, what do you need, and how can ...
0
votes
1answer
64 views
Why my sensors not working (the reaction time is so slow)
[![enter image description here][1]][1]
//testing the light sensor;
int sensor=A0; // setting as input is by default;
int sensorval;
int pin=13;
void setup() {
// put your setup code here, to run ...
1
vote
1answer
64 views
How to measure the distance between 2 points accurately [closed]
Does anybody know how i would measure the distance between two points which will be no more than 50mm apart with accuracy to 1mm?
I want to record the distance between the two points in a database ...
1
vote
0answers
44 views
How to measure output of the ultrasonic transducer? [migrated]
I have found a test circuit for the ultrasonic transducer. How do I measure the output distance sensed by the ultrasonic transducer using my Arduino Uno R3? Please help.
I have attached the test ...
1
vote
1answer
51 views
Model Rocket Sensors
My idea is to record the acceleration/altitude of a small model rocket launch using these sensors and record all the data onto a microSD card which I'll retrieve afterwards. I'd like to be able to ...
0
votes
1answer
26 views
Use TSL2561 and DS1307 RTC together
I want to use a TSL2561 light sensor and a DS1307 RTC and a couple of other sensors like DS18B20, AS3935, ML8511, MQ135, 433 mhz sender together with an Arduino.
However on Adafruit I read this today ...
0
votes
1answer
20 views
Use the TCS3200 color sensor without the included LEDs
just a quick question. I want to know if it is possible to use the TCS3200 color sensor without the 4 LEDs included on the breakout board. I want to get the sky colors. Is that possible?
1
vote
1answer
73 views
Arduino Due and BNO055 address in i2c mode
I have a project where I need to have several IMUs, the BNO055 shuttle board (I explained my project here), I manage to get the Euler angles from one BNO055 sensor, which have the address 0x29, ...
0
votes
0answers
83 views
Arduino Due and BNO055
For a physical activity monitoring project, I am developing a prototype based on an Arduino Due and several IMUs (BNO055 from Bosch).
I have to collect the data from the sensors simultaneously (3 for ...
0
votes
3answers
41 views
Self-diagnose components in the circuit
How can I tackle self-diagnosis problem within my Arduino project?
For example, I have a temperature sensor and humidity sensor. How can I know if they work or not on Arduino start or inside the ...
0
votes
1answer
56 views
How to read pH value
I am trying to read the pH value from a analog pH meter, SEN-01454. From the source code I found, voltage maps to pH value. This is the code:
pHArray[pHArrayIndex++]=analogRead(SensorPin);
...
0
votes
1answer
43 views
Choose the correct solar panel and battery for solar use
I am planning to build a weather station powered by solar power. I want to use an Arduino Nano because it's low power requirement. I want to connect some basic sensors to it (temperature, humidity…) ...
1
vote
1answer
54 views
Hall Effect Sensor for POV Project
I'm making a POV project and need to count the RPM of the DC Motor.
I purchased a Hall Effect Sensor and it seems to work perfectly at slow speeds, however once the motor speeds up, the sensor ...
2
votes
1answer
56 views
HC-SR04 quits pinging when distance < 0 || distance < MAXDISTANCE
so here is the issue. I have a mega 1280, a handful of neopixels and a HC-SR04. I am using the New Ping library (tried both 1.5 and 1.6). I am trying to make a device that will tell my mom when she ...
0
votes
1answer
45 views
Error in code saying “expected primary expression before ”<“ token” and other errors
I am Creating a laptop controlled robot using an arduino nano using the instructbles. I have tried running the code but it is throwing back lots off error and the main one is "expected primary ...
1
vote
2answers
43 views
Use a PIR Sensor to detect the movements of a paper [closed]
I need to detect when a paper comes out from a laser printer and count the number of printed papers. For that I hope to use a PIR sensor to detect the movement of the paper from the printer. Is it ...
2
votes
2answers
48 views
Sensing horizontal tilt
I'm building a digital gear shift knob, which would display current gear (1-5, R) and based on readings from OBD-II change color when gear shifting is required, to save on fuel consumption.
I need a ...
1
vote
1answer
92 views
Velocity from Sensor Data - Best Approach?
I am attempting to develop a control system based upon rocket velocity. My first step is attempting to properly filter my sensor data in order to calculate velocity.
What is the best approach to get ...
0
votes
1answer
60 views
Highly sensitive light sensor to calculate number of times each color LED blinks
I am working on a project and got stuck on a point, and I hope somebody will guide me. I have a hardware device which has different color LEDs (green, red and yellow) and I have to calculate how many ...
-2
votes
3answers
57 views
Radar depth sensor for surface
Is there any sensor than can capture surface at one time (so that I could get matrix of distances to the points on some surface)? I think that moving one sensor across surface like in this is bad idea ...
0
votes
1answer
78 views
Counter using Ultrasonic Sensor (self.arduino)
I am doing a pretty simple arduino project that uses a Parallax Ping Ultrasonic Sensor to increment a counter when an object moves past the desired distance. (object leaves, counter goes up, object ...
0
votes
2answers
68 views
How to store values inside an empty array and get the average integer? [UPDATED QUESTION]
Goodafternoon,
I want to read values form a microphone (Adafruit MAX9814) connected to the Analog port A0 from Arduino and store the values that are incoming inside an array.
After the values are ...
1
vote
1answer
81 views
How do I use a 3 legged phototransistor?
I have searched the Internet and found the following circuit to use with my phototransistor but it is not working, I can say so because all analog input i get is 1023 even if i have covered it ...
0
votes
1answer
52 views
I am having an issue reading a HIGH LOW signal from a pressure switch
I'm trying to read either high or low from a pressure switch, I do have a pulldown resistor attached but even if I plug in a wire with nothing on it i get a false high. I've changed pins, tried adding ...
3
votes
2answers
267 views
What is the difference between Accelerometer, Gyro, and Magnetometer Sensor?
I'm starting in the arduino world and I'm building an autonomous smart vehicle.
So, after some weeks building and adjusting the vehicle, I got to a point in this project that I want to log it's ...
0
votes
1answer
49 views
Change input reference to 1 - 5 V
I am using a sensor which delivers a 4 to 20 mA output.
Converting this with a 250 Ohm resistor to ground I convert this to a 1 - 5 V output.
My question how can I change the 0V reference, so I can ...
1
vote
3answers
75 views
How to measure direction the car is coming to garage door?
my garage door is pretty narrow, about 10 cm (4") on each side of my car's rear mirrors. So every time I drive to garage, I need to go very slowly because I am afraid I might not be lined up ...
1
vote
2answers
79 views
How to Store the results from a Ping Sensor in a variable
I need your suggestions and help with my Ping Sensor.
I have an Arduino Uno with a Parallax Ping sensor and a motor.
My ping sensor is set to to start the motor when the nearest object is <= 10cm. ...
0
votes
3answers
50 views
Reading tiny voltage changes
I have an mpx12DP pressure sensor that I want to use to measure the depth of water in a 1m tall water tank.
But it only measures up to 55mV of voltage change, which the arduino can't really detect ...
1
vote
2answers
103 views
Which type of sensor should i use to get RPM of an engine?
Using Arduino (i got leonardo and uno),
I'm looking for a way to get the RPM of my car's engine.
I know this can be done using an OBD2 connection however i'm looking for a different way.
Sensing?
I ...
0
votes
0answers
51 views
PIR motion sensor stuck in a loop
I've bought an HC-SR501-compliant PIR motion sensor (like this one) and connected it to a Teensy 3.1. The circuit seems fine, and the LED lights up. However, when nothing is moving in front of it, the ...
4
votes
2answers
154 views
Detect my position
I'm new to Arduino, but I have this idea for a game I would like to build.
I need the Arduino to be able to determine my relative position on a straight line - 20 feet (6 meters) long.
What would be ...
0
votes
1answer
32 views
Multiple LEDs & HC-SR04
I want to use a distance sensor like the HC-SR04 to power a stop light like parking sensor for my garage. I have seen a lot of tutorials on how to use the HC-SR04 to power a single LED and found the ...
0
votes
2answers
58 views
How to use Ultrasonic Sensor's trig pin, and why it is needed?
I have HC-SR04 Ultrasonic Sensor with me. I couldn't understand the "Trig" pin's working structure and the working technic. Do we really need it while we use?
(With Arduino examples, I generally use ...
1
vote
0answers
38 views
How does changing arduino power supply from USB to Adapter change the circuit?
I have a circuit running with capacitive Sensors, that also has an LED strip. everything works fine when using USB power from a laptop (connected to the mains) and 12v 2A adapter powering 1m LED ...
3
votes
4answers
157 views
Running multiple tasks at once
For a school project we're working on a wearable device to track people's movement and heart rate. We use an Arduino Pro Mini with a heartbeat sensor and an accelerometer. The wearable device uses ...
0
votes
2answers
63 views
Light sensor acting up when used with other code
I have a light sensor that works fine and outputs the correct data to the serial monitor when I only upload the following code to the nano:
const int lightSensorPin = A0;
int lightSensorValue = 0;
...
0
votes
1answer
108 views
control Arduino board using Android sensors and wifi?
i am thinking about building a Quadcopter that can be controlled with a computer via Wifi . but the problem is that with a lack of components and limited resources , i have been thinking of using my ...
0
votes
3answers
141 views
Do I need 3 full-size arduinos to control this LED setup?
I'm sourcing the parts now for an LED persistence of vision setup on a bicycle. Two wheels with anywhere between 16-32 LED's per wheel, as well as 24 LED's mounted on the frame of the bike itself
...
0
votes
0answers
76 views
Arduino uno RF transmitter and receiver, MYSQL
i tried to connect my arduino uno and ethernet shield with Mysql and everything works fine. Then I tried to connect the RF transmitter and receiver. I use a similar code, but i have problem with ...