Use this tag for questions about selecting, connecting, using, and debugging sensors.
0
votes
2answers
29 views
Not enough pins on Uno?
I'm making touch-sensitive, light up tic-tac-toe board.
That means 9 LEDs + 9 capacitive sensors.
Each LED needs 1 pin and each sensor needs 2...meaning I'd need 27 pins to properly control each ...
0
votes
1answer
18 views
How do we connect 2 FSR sensors to an Arduino Mega?
One can connect an FSR sensor (a force-sensitive resistor) to an Arduino via 5V, Gnd, and A0 port (as below, according to an adafruit.com page), but how will it work for two of them instead of one?
...
0
votes
1answer
11 views
Audio/Voice Recording Device
I'd like to build a little voice recorder for my grandmother. She told me "I get a lot of idea when I'm driving but then I forget them. I want a necklace where I can just press a button and it'll ...
2
votes
0answers
23 views
Shield:FAIL problem in ESP8266-01 with Arduino UNO
I have been working on a Security System project wherein I should get an email if the PIR sensor detects any human presence.
I have used an Arduino UNO, ESP8266-01 WiFi module and a PIR sensor.
Power ...
0
votes
1answer
36 views
How to perform a data transfer to an external server
So I'm doing a project that involves getting sensor data from several sensors, and then sending them to an external server when a tragic occurs. But I've been having trouble figuring out how to send ...
0
votes
1answer
14 views
Thermistor value correct on Uno backwards on Nano
EDIT: upon further investigation: I found out that if I wired it Thermistor > resistor > GND values go one direction. If I wired it Thermistor > Resistor > 5v, it goes the other direction. So my new ...
2
votes
2answers
54 views
Can I use two sensors with different baud rate without problems on arduino?
One sensor has a baud rate of 115200, the other 9600. I think this will create problems in the serial because I can only choose one baud rate.
What do you think?
The first sensor is the pulse sensor, ...
0
votes
0answers
14 views
XBee unstable sensor data transmission
I am using two XBee Series 2 modules (Zigbee), an Arduino Uno, and a HC-SR04 Ultrasonic sensor to send distance readings from the coordinator XBee on the Arduino to the XBee connected to my computer. ...
0
votes
1answer
33 views
Using two ultrasonic sensors for counting cars when they enter to a garage
I want to use two ultrasonic sensors for counting incoming cars to a garage. What I want is: When both sensors detect the object then the counter should increase.
Can anyone help me and give me an ...
1
vote
1answer
19 views
Accelerometer Interrupt Meaning - Wakeup Function
I am working with an LSM9DS1 IMU, and now specifically trying to program a wakeup feature into the system. My idea is to set the accelerometer at the lowest possible read rate, then when the ...
0
votes
1answer
18 views
Using 6 axis accelerometers
I've been messing around with accelerometers for Arduino for a school project. I bought the SODIAL GY-521 accelerometer + gyroscope module for Arduino. It uses de Invensense MPU 6050. I managed to ...
0
votes
0answers
17 views
Multiple signals requires multiple filters? [migrated]
So, this might seem rather basic, but I'm going to pose it in the hope that I can save some work. So, I have a series of electrodes that are sensitive to voltage fluctuations, but, before I pass the ...
0
votes
1answer
21 views
Arduino hourly sensor with motion sensor issue
I am trying to upload DHT11 & photocell data hourly. But I also want a motion sensor upload while the motion detected. What kind of function should I use for the PIR to work while DHT is on delay? ...
0
votes
2answers
33 views
Has anybody seen/created a gps guided vehicle with arduino? [closed]
I thought the idea of Amazon Prime air drone delivery was a pretty cool one when it first came out and I started to question whether something like that (an autonomous gps guided vehicle) could ...
0
votes
1answer
16 views
Interfacing 9-Axes Motion Shield with RPi and WiFi Shield
I recently purchased the Arduino 9-Axes Motion Shield. I have two questions:
Q1. The official Arduino page says that the shield doesn't have any external power source and can only be powered up by ...
0
votes
1answer
60 views
Arduino Uno code for voltage sensor
I have made a voltage sensor circuit for 230 volt a.c. by using a step down transformer (230/6), bridge rectifier, Zener diode, filter capacitor and voltage divider circuit. The output of the voltage ...
0
votes
0answers
29 views
is it possible to interface two cameras with a single arduino board
I want to develop a project which has two cameras that can be controlled by Arduino,a range finder to get the distance of the objects that are captured by these cameras and the measured distance ...
1
vote
1answer
28 views
What are ideal delay times between commands for RF24 lib
Am working on a WiFi based irrigation system that utilises the RF24 lib for comms.
Have got prototype of remote sensor up and running which has a standby current of 0.036mA and transmits data every ...
0
votes
0answers
52 views
Water pressure an salinity sensor connected to arduino
I am trying to design a project that Arduino would have connected water and salinity sensor, would be packed in a special box be droped into ocean up to 500 meters. What sensors should I use and how ...
3
votes
1answer
53 views
Failed to read DHT22 sensor using Intel Galileo Gen2 board
Why do I end up with the display
Failed to read from DHT sensor!
in the serial monitor in most cases when I run the code given below? When I reduce the delay to 1000ms the reading shows 0.00 for ...
0
votes
3answers
46 views
Multiple Wireless Sensors to an Arduino
I am looking for ideas on how to connect 12 sensors to an Arduino wirelessly. The sensors will be about 10ft from the Arduino. They need to send one byte of data every 100ms-250ms to the Arduino in ...
0
votes
0answers
34 views
Gathering data from compass module (gy-271) with Arduino
I am trying to do a project using a Arduino mega 2560 and the compass module GY-271 (hmc5883L chip) , I've already imported the libraries (Adafruit_HMC5883_U.h, wire.h ,...) and i tried to use the ...
0
votes
0answers
22 views
Indoor object locating/position sensor with Arduino/Esp8266
I am looking for a sensor that would locate where the board is, in the room.It doesn't have to be real time,but when the board is moved to a different position ,it should be able to project the ...
1
vote
0answers
42 views
MQTT Broker on an Arduino
Has anyone here setup an MQTT Broker on an Arduino? I am looking to use pubsubclient to send sensor data from 12 individual wireless sensors to an Arduino every 250ms. I know this can be done using ...
1
vote
2answers
52 views
Problems coding a 12 pin 7 segment display and grove temperature sensor with arduino uno
Hi I am trying to code my 12 pin 7 segment display to display the temperature from my grove temperature sensor. I am new to this and I have been struggling if anyone code help that would be muchly ...
1
vote
0answers
46 views
How to save data to SD card using Memory Shield Module SPI
I am trying to save some data to the SD card using the memory shield module that I read from HC-SR04 Ultrasonic Module. The data that gets printed indicates error. This is how my SD card module is ...
1
vote
1answer
23 views
nrf24l01+ with antenna problem
I just got 4 nrf24l01+ modules with the external antennas, but I'm not able to make them work.
I'm using arduino nanos and MySensors to create a gateway and a sensor.
The funny thing is that when ...
0
votes
1answer
62 views
How do I upload the sensor data from arduino into a database?
I have just connected a Libelium shield to connect many sensors to Arduino UNO, that measure water ph level, temperature,...etc. I really couldn't figure out how do I upload the sensor data into a ...
0
votes
1answer
31 views
Arduino Mimicking Voltage Dividing Keypad / Matrix
Still very new to Arduino, so bare with me. I've been all over Google looking for ways to hack my alarm keypad. This is my first time using the Arduino to hack something :smiley-confuse:
The keypad ...
0
votes
2answers
69 views
DHT11 and Pulse sensor incompatibility?
I am working on an IoT project to send data acquired from DHT11 and PulseSensor to a website. I can send the data properly when I use each of sensors alone but when I write a wrapper to use both ...
0
votes
1answer
28 views
Digital Input with long cable - flickering values
I have an Arduino Nano with two attached Motion sensors "PIXNOR HC-SR501". This sensor puts 5V on its middle Pin, when it detects motion. I have connected this Pin to my Arduino and read the value ...
0
votes
2answers
35 views
Digital Vs. Analog Sensor
Background: I'm using an Atmega1284P to add sensors to an off road racing truck onto a CANBUS network. The standard automotive sensors are thermistors, but the Dallas 1 wire temp sensors (DS18B20) ...
5
votes
3answers
81 views
Return value of 0 if value is less than zero
Background: I am using an analog pressure sensor with a range from 0-100PSI returning voltage values .44v to 4.44v. It's open air (or 0 PSI) voltage on the signal pin is .47 volts. I have a function ...
0
votes
2answers
49 views
how to count blinking LED flashes using arduino uno boards and LDR?
i want to know code for counting the flashes of LEDs and display no. of flashes in particular time given.by using LDR.
basically i tried it with interrupts but i'm not getting it,so please help in ...
3
votes
3answers
181 views
Send multiple sensor values over serial
I want to send a JSON string over serial from arduiono device to my computer. The JSON string contains a sensor value array. To fill this array I use String.concat("value") function. But If I have ...
0
votes
1answer
47 views
Hall effect sensor direction detection using arduino
I'm using a hall effect sensor A1356 (linear application) to measure the amount of fluid in a container. The fluid is in constant use. My doubt is I'm placing the sensor and the magnet assembly in ...
1
vote
1answer
26 views
Shaft Encoder Accuracy
So, first of all I just want to point out this code is from: Reading Rotary Encoders and is not mine.
I have a magnetic shaft encoder mounted on a regular DC motor, my problem is that I cannot ...
3
votes
4answers
137 views
Multiple non-blocking countdown timers?
I'm building a control system for three sump pumps using a single Arduino and a set of relays. I have float sensors for each one, and need the Arduino to trigger the relays when the float sensors are ...
1
vote
0answers
21 views
3-Way Bluetooth Communication?
I need two Arduino units with the HC-06 Bluetooth board to communicate with each other and one of these Arduino units also connected to my Android phone. Is this possible to do with just two HC-06 ...
0
votes
2answers
78 views
Can we detect a magnet using Arduino? If so how? [closed]
If so, please tell me and also tell me if any interfacing of other microcontroller needed?
0
votes
2answers
44 views
Coding question for setup of Ultrasonic sensor (HC-SR04) and Buzzer - Arduino Uno
I am relatively new to Arduino so I know the basics however I am not the best at coding. My problem is that I am not sure about the coding for the following setup: I am using a Ultrasonic Sensor ...
2
votes
0answers
18 views
Problem with biased circuit for oxygen sensor (SGX EC410) [closed]
I have designed a circuit for an SGX EC410 oxygen sensor by using these application note -PAGE 4, FIGURE 4 - ...
0
votes
2answers
35 views
while compare, something is wrong
I have 5 LDR and Arduino Mega. I connect them and get light level.
void loop() {
// print the analog output in milli volts
int w=analogRead(west);
Serial.print("west = ");
Serial.print(w);
...
0
votes
3answers
39 views
How can I get my Arduino to recognize a specific object using some kind of sensor?
This is my first question on this site, and I'm relatively new with Arduino. I do have some experience using the board to reprogram a robot that used infrared proximity sensors, servos, and switches.
...
2
votes
1answer
56 views
“tamper” circuit of a reed switch: can I connect the two wires to an INPUT and an OUTPUT pin?
While working for the automation side of my new house, I'm currently in the process of installing several reed switches on top of external doors and windows.
Even if this could be used as a ...
0
votes
1answer
99 views
combining code of multiple sensors in one program
I need to operate 2 different sensors (gas and temp) simultaneously.
I have managed to run each one of them separately and I don't know how to manipulate the code so they could work together. My ...
2
votes
1answer
32 views
Arduino Ping sensor with NewPing library
I was trying out the NewPing library (the main example sketch) and when I compile it and check the serial monitor, it seems like it works for about 10 seconds, then instead of giving distance values ...
4
votes
3answers
66 views
Are there sensors that can detect the color of an LED?
Are there sensors that can detect the color of an LED?
I am working on an Arduino project that needs to detect the color of an LED on an external device. I am trying to identify a light sensor that ...
2
votes
1answer
45 views
Does a moisture sensor need warm-up time?
I am trying to use a moisture sensor to identify the moisture value of my plants. (As every one does.)
The sensor was connected to VCC all the time and my battery goes empty after a short time. So I ...
0
votes
2answers
129 views
MQTT broker and Arduino + Sensors NRF24L01
I am newbie, I have never used MQTT before, so I have some questions.
Here is my topology.
I have several sensors (Arduino Pro Mini + NRF24L01) and main server/handler(Arduino Mega + Ethernet Shield ...