Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

How many PIR Motion Sensors can I connect to my Arduino-Uno R3?

I am doing a school project where I intend to measure the cafeteria line with motion sensors and the send that information with a WiFi module to a server. This is my first time using Arduino and I am ...
0
votes
1answer
18 views

Get image from Fingerprint module

I want to get the image from the fingerprint module (https://makeradvisor.com/tools/fingerprint-sensor-module/) as a result of scanning. It is enough to have a single frame image. it would be good if ...
0
votes
0answers
16 views

What Pololu QTR sensor to follow a 15-20mm wide line on a contrasting colour background?

Myself and other are creating a line following robot for a competition, last year we used a LSS05 auto calibrating line sensor however our results were mixed. The competition organizers recommend ...
-1
votes
2answers
70 views

Sensors / Data logging Temperature and Humidity 50ft away [closed]

I am looking at using a DHT11 for logging my temp and humidity in a few boxes i have. I need to be able to run these sensors several feet away (50ft ish) I would like to use Ethernet cable to do this....
0
votes
0answers
7 views

Connect a Switchboard to Arduino [migrated]

Sorry if that‘s a simple question, but i‘m quite new to Arduino. What i‘m looking for is a way to connect 100+ strain gauges to one arduino board. Now, those each need a separate ADC (HX711) to ...
0
votes
1answer
31 views

Error compiling code for Arduino/Genuino Uno. “multiple definition of `__vector_7”

#include <PulseSensorPlayground.h> int pulsePin = A0; // Pulse Sensor purple wire connected to analog pin A0 int Redled = 7; // The pin for the Red LED which notifies you if ...
0
votes
2answers
45 views

Pressure Switch 4-20mA

Im working on a project trying to read the pressure value from an Allen Bradley Pressure Transmitter 836P-D2NFGB20PA-D4 Ser.A However the pin configuration that comes on the description along with ...
0
votes
0answers
9 views

RF24 mesh with arduino 328p with 100 nodes [migrated]

I have explored RF24Ethernet library and I have tested same with 10 devices and Raspberry as my gateway. All seems to work fine. My question is if I go with 100 sensor nodes with a single RPi, would ...
0
votes
1answer
23 views

Sparkfun CCS811 sensor not interfacing with arduino

I have sparkfun indoor air quality sensor CCS811 which needs to be interfaced with arduino. I have soldered wires on the sensors and connected with arduino. Have checked the connection with multimeter ...
0
votes
1answer
39 views

Plant irrigation system

I'm very new to the Arduino game I wanted to make a small auto watering system for my plants. I bought these items 5V 1 CHANNEL RELAY MODULE FOR ARDUINO PIC AVR DSP ARMB 9 VOLT BATTERY SNAP ...
0
votes
0answers
21 views

Dim 4k LCD panel in response to ambient light

Warning: I'm completely new to Arduino, and not even sure if it's the right solution here. I'm trying to make a better digital picture frame. Got almost all the way there by just buying a nice flat-...
0
votes
0answers
15 views

Dragino Lora shield for Arduino sensor use

I am new to arduino and lora technology and i have dragino lorashield for arduino Uno and dragino gateway. I have also MQ-3 gas sensor and I want to detect the alcohol value and to send it to the ...
0
votes
1answer
41 views

How to detect the direction of rotation with a sensor encoder timing disk (photoelectric speed sensor)?

I am making a DIY gaming steering wheel and am stuck. For measuring the rotation of the wheel, I'm using a sensor encoder timing disk, which is usually found in printers. - https://robu.in/product/...
0
votes
1answer
18 views

How can I make YX5300 MP3 player play song in a loop?

I am doing a Christmas project and I have an ultrasonic sensor that detects if a person is In front of it. I want that if someone is in front of it, it lights up LEDs, which it does, and it also has ...
0
votes
1answer
50 views

Arduino code for turning an led on by one clap and then off by one clap

I want my Arduino to turn on a LED when sound sensor detects a clap (noise) and keeps the LED on until the sound sensor detects another clap (noise) which turns the LED off. int Sensor = A0; boolean ...
5
votes
9answers
5k views

Lock screen if I leave my seat?

Background: I change the job and in the new company you need to pay pizza for the whole team if you forget to lock your screen :-) I want it to be automated: I walk away and the screen should lock. ...
0
votes
0answers
49 views

Need help in the problem with analog input readings and RTC DS3231

I have 3 analog input(0-1024). I want two outputs based on levels of analog inputs. Eg. inputs have 2 levels. for A0 at 300,digital output pin3 turns ON; and A0 at 500, digital output pin 4 turns ON. ...
0
votes
1answer
36 views

Trying to read different gas levels with MQ2 Gas Sensor

I found a link on how to connect MQ-2 Gas Sensor to Arduino Uno. http://electronicsprojectshub.com/how-to-connect-mq2-gas-sensor-to-arduino/ After I bought all the parts and tried it out, the sensor ...
-1
votes
2answers
55 views

How can I combine this two codes in one program? And use it in javafx application

The first one reads from sensors and displays it, the second code receives an incoming byte to control LEDs. I tried to combine it but i don't know why it doesn't work. Please help me out. I need it ...
2
votes
3answers
78 views

Arduino ultrasonic sensor weird output

So I just got into arduino and bought Elegoo's car robot v3 kit and built it, but when I put the robot on "object avoidance" it constantly spins as though there is an object in front of it. I tried ...
0
votes
1answer
30 views

Why does the reading on the ESP32 read max, when the reading on UNO read accurately?

I have a 'Capacitive Soil Moisture Sensor' hooked up to my Uno. Very simple code. AnalogRead(MoistureSensorPin); This will return a differing value that I can work with. When applying the same code ...
0
votes
0answers
12 views

I'm trying to use a CONZIR CO2 sensor to find CO2 concentration

Hey I’m a beginner Arduino user trying to use a CO2/Humidity/Temperature sensor to read in the atmospheric conditions near the sensor and then control a heating pad and solenoid valve to adjust the ...
-1
votes
1answer
26 views

choosing prober controller to measure engin speed changes

In order to monitor engine speed changes in real time, sensor is detecting the motion of few magnets around a disk driven by the motor. 1st approach Hall effect sensor signal is regulated by LM393 ...
0
votes
1answer
39 views

Trying to measure distance using an ultrasound sensor

I am relatively New to Arduino and need your help. Actually i made a code and the problem is that the ultrasound sensor doesn't work at all. It isn't displaying the distance between the object and and ...
0
votes
1answer
42 views

I need some help getting data from a rangefinder

I have wired up my range finder (CJVL53L0XV2) to a breadboard for testing and have run the arduino example code for the rangefinder. The rangefinder works, but I do not know how to take the distance ...
0
votes
1answer
53 views

How to get air speed, which sensor to use?

I want to measure the airspeed on a flying vehicle and get the data with arduino. Note that, there will not be any control mechanism on the flying object, it will be flying mechanicaly/passively, I ...
0
votes
1answer
32 views

Compass heading not varying linearly

I am using an HMC-5983 magnetometer compass on my arduino uno to find the heading of a car I'm building.But my compass readings aren't varying linearly.For example when I physically turn my compass by ...
0
votes
2answers
54 views

Will an Arduino Uno be able to read 3x incremental encoders?

Encoders are quadrature 600ppr encoders with X2 counting. Therefore 1200 counts per revolution for each encoder. Is there an edge rate limit? I currently have one encoder hooked up using code with ...
0
votes
2answers
119 views

ESP32-CAM not reading BME680

I am trying to read BME680 on ESP32-CAM with following code : (Before trying BME680, I have suscessfully connected BME280 to ESP32-CAM over S/W SPI) #include <Wire.h> #include <SPI.h> #...
0
votes
0answers
31 views

line following IR sensor not giving readings at 3m wire length?

I am using line following IR sensor with arduino mega. I need the sensor 2-3m away from arduino since the length of rover is 2m (sensor front & motor back). However, I cannot get accurate analog ...
0
votes
0answers
25 views

Laser light detection - Photoresistor or Laser sensor module?

I understand you can use with either a basic photoresistor or this non-modulated laser sensor. But which is more reliable for basic light detection? I am wanting to detect the beam from a basic laser ...
0
votes
0answers
21 views

Micro controller Recommendation for Data Acquisition System?

I am doing a project involving connecting multiple environmental sensors to a MCU in order to collect data during an experiment. I need a minimum of 15 analog differential input channels, with a ...
0
votes
0answers
20 views

My GPS coordinate does not show. Only my ultrasonic output came out

#include <TinyGPS++.h> #include <SoftwareSerial.h> static const int RXPin = 4, TXPin = 3; static const uint32_t GPSBaud = 9600; // The TinyGPS++ object TinyGPSPlus gps; // The serial ...
0
votes
0answers
61 views

Bluetooth toggle between two master device (Using UART)

we are currently using a BLE Tiny Circuit broad with UART codes. Is it possible to allow two master to connect to the circuit board and the circuit board will be able to transmit data to both ...
0
votes
0answers
31 views

Will this code for braking of dc motor using sensor work?

#define trigPin 13 #define echoPin 14 #define e1 10 // Enable Pin for motor 1 #define t1 8 // Control pin 1 for motor 1 #define t2 9 // Control pin 2 for motor 1 #define led 3 #define led2 5 #...
0
votes
0answers
17 views

nodemcu nack error bh1750

I am trying to run a simple example of bh1750 on my nodemcu, code is #include <Wire.h> #include <BH1750.h> */ BH1750 lightMeter(0x23); void setup(){ Serial.begin(9600); Wire.begin(...
1
vote
3answers
273 views

Issue connecting heartbeat & temperature sensor on arduino uno but working individually

So the code is working individually for temperature sensor and for heartbeat sensor but when i combine it together it shows wrong values for the temperature sensor I'm using lm35 temperature sensor ...
0
votes
0answers
38 views

Reading from an oven humidity sensor

I have been trying to solve the problem of humidity sensors in a harsh environment (BBQ/Pizza Oven) and I came across this: enter link description here But I don't see any documentation on how to ...
0
votes
3answers
71 views

Does a pulldown resistor use less battery power than a pullup resistor?

I am designing a circuit connected to a simple open-close sensor, like a switch. For ease of construction, the circuit with the sensor switch closes to ground, and uses a 1 MΩ pullup resistor to Vcc ...
0
votes
0answers
38 views

PIR Sensor Gives False High in 55 Minutes (Can't find a way to solve)

I have built a system to identify motions and fire alerts. System can send a SMS in case if it's identify such alerts. System consist of two parts, Part 1: Armed and Disarmed using a PIN (Using ...
0
votes
1answer
21 views

Arduino uno + 5 IR obstacle sensor

I have IR sensor with current draw 100ma i have to connect 5 of them is i can connect all 5 with arduino directly or i have to use external power suplly for them
-1
votes
1answer
41 views

How many sensors can be used in arduino for my project?

I'm doing a project on water purity finder. I dont know which arduino board can be used for the project. It uses upto 15 sensor modules excluded display, WiFi module. Can you tell me which board is ...
2
votes
2answers
104 views

Noise on piezo analog read due to Arduino power supply

I am making a device that measures temperature and vibrations and records the values onto an SD card. It will be a standalone device. The hardware used: - Arduino Uno - PCF8523 RTC clock - MAX3186 + ...
2
votes
1answer
82 views

Does AWG size affect signal from sensors?

Would using a thicker cable like 16 AWG affect the signal being received from an RFID or Ultrasonic sensor? I understand AWG can make a significant impact on voltage when a thick cable is used over ...
0
votes
0answers
58 views

Arduino code does not function when relays are powered

I have a mega arduino, which is supposed to to power 4 relays using 4 touch sensors TTP 223, the relays are 5V coil and 220V. the arduino is powered by a 5 V adapter "mobile phone charger" and it ...
0
votes
1answer
30 views

Serial.println Issue with Flame Sensor

I'm really new to coding and Arduino so I would be eternally grateful for the help. I'm trying to make a really basic flame sensor that beeps, lights up an LED and displays the distance from the ...
1
vote
0answers
51 views

ESP32: Share I2C bus among multiple freeRTOS tasks - do I have to expect synchronization issues?

I recently inherited some firmware with weird problems in regards to the duration of reading sensor values. The board is based on the ESP32 Wrover MCU and has multiple sensors connected via the I2C ...
1
vote
1answer
161 views

Spikes in CO2 and TVOC measurements with CJMCU-811 sensor

Firstly, I'm not sure if this is the right SE to ask this question. Please feel free to direct me somewhere else if needed. I am observing large spikes in CO2 and TVOC measurements using the CJMCU-...
0
votes
0answers
34 views

Not able to interface BME280 with Nodemcu v3

I am not able to read bme280 sensor values and have tried many codes online. Please have a look below- code:- #include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_BME280....
-1
votes
1answer
25 views

Sound sensor's output stucks to high values when I include a delay in the loop function

I use Waveshare's Sound Sensor module. I use this simple code to test the module: As you can see, the problem is that when I have a delay in the program, once the analogRead is bigger than 10 (by ...