Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
23 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
32 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
30 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
42 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
29 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
46 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
75 views
+50

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
30 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
19 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 ...
-1
votes
0answers
12 views

combining code for multiple analog gas sensor in one program using arduio uno(atmega328p) [duplicate]

I am working on air quality monitoring system. I am using 3 gas sensor one pir sensor. I want to interface all sensor with arduino uno and write one program. What should be the way to join all sensors ...
0
votes
0answers
17 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
38 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
30 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
11 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
246 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
27 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
64 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
36 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
0
votes
0answers
11 views

How to solve MPU9250 overflow problems? [migrated]

I'm now working with mpu9250 for my master thesis, but I'm quite new to hardware device. My goal is to collect the data at the sample rate and postprocess these data via allan deviation. So I just ...
-1
votes
1answer
39 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
70 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
61 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
57 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
29 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
34 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
112 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
20 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
21 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 ...
0
votes
1answer
53 views

Connecting MPU6050 to Arduino Lilypad

To preface, I am very new to Arduino and I watched this video on YouTube. It shows how you can build a motion controlled car with Arduino and I decided to make this for my school project. One thing ...
0
votes
1answer
64 views

Sparkfun CCS811 Air Quality Sensor is just not workin

i have an Arduino uno board and a sparkfun ccs811 sensor. I tried to reproduce the howto from the sparkfun homepage (https://learn.sparkfun.com/tutorials/ccs811-air-quality-breakout-hookup-guide?_ga=2....
0
votes
3answers
86 views

pin going high not allowing analog read to change

I have the following problem: My arduino takes analogRead(A0) from a potentiometer whose position I can't adjust directly. When analogRead(AO) goes to a value X, I want pin 8 to go HIGH, this ...
0
votes
1answer
47 views

How can I receive signal from remote control using tcrt5000 sensor module

how can I use tcrt5000 sensor module instead of TSOP31238 (TSOP1738) IR receiver to get signal from remote control? I want to create remote control for my PC to navigate through my slide shows. Thanks ...
0
votes
0answers
24 views

How to calibrate an inclined MPU 6050 on Arduino?

I'm trying to use the MPU 6050 sensor (gyroscope + accelerometer) with my Arduino UNO to get some data when walking, running and making some other moves while carrying it. The problem is that my ...
0
votes
0answers
30 views

HC-SRO4 always returns zero no matter what I do?

Wondering if it's the sensor or the code? can anyone help? I've used the code here /* HC-SR04 Ultrasonic Sensor with LCD dispaly HC-SR04 Ultrasonic Sensor VCC to Arduino 5V GND to Arduino GND ...
0
votes
1answer
87 views

Can you connect BH1790GLC and TMP117 sensors to an Arduino board?

I would like to use those two components for an upcoming project : BH1790GLC heart rate sensor TMP117 temperature sensor I especially like the fact that they’re so tiny. Could I connect them ...
1
vote
1answer
98 views

I want to print onto serial monitor when it's detected the value change

This code is measuring distance from object by using the Ultrasonic Sensor and print onto serial monitor. However, serial monitor constantly output values. I want to print only one time if detected ...
0
votes
1answer
45 views

What sensors to measure grass growth? [closed]

I would like to make a small project, which would allow me to recognize if the grass has grow enough to lawn. I don't know too much the ecosystem of available sensors for such problem. And I have a ...
0
votes
2answers
93 views

Which sensors to choose to detect movement direction

So I'm planning to build a sort of light switch for my Philips Hue bulbs with an Arduino. This project will be mounted on a shelf next to my door to the room, parallel to the walking direction. In ...
0
votes
1answer
75 views

Ultrasonic Sensor - JSN-SR04T 2.0

I would like to use the JSN-SR04T 2.0 in order to find the depth of a body of water. Once I test the sensor in a body of water, the distance measurements are then constant at about 20 cm. I then ...
0
votes
0answers
22 views

Check if the fingerprint exists and enroll with it? Adafruit_Fingerprint.h

I need to verify a fingerprint before being registered, but I have to put the finger 3 times on the finger sensor, which I prefer to do it just twice. The verification is ok, but I don't understand ...
0
votes
1answer
39 views

Can Chirp Waves be sent using JSN-SR04T? [closed]

So i have project for underwater rangefinding using JSN-SR04T. I've read on the datasheet that the module sends square waves. Is it possible to program it so that it sends Chirp waves instead ? (Help ...
0
votes
0answers
66 views

Getting Heart Rate (BPM) from pulse sensor Arduino

I am new to arduino and trying to display the heart rate (BPM) using Pulse sensor. I have found a code from internet that calculates the heart rate: #include <Wire.h> #include <LiquidCrystal....
0
votes
1answer
56 views

MKR GPS Shield Sampling Frequency

I have the MKR 1010 and am working on a circuit that needs realtime GPS positioning. I bought the MKR GPS Shield, and am using it on the I2C bus (attached via cable to the 1010 board), and am using ...
0
votes
2answers
43 views

Why can't I control speed of the motor? (M1 and E1)

When myservo_1,myservo_2,myservo_3,myservo_4 is commented, I can't control the speed of my M1 motor. But only when I uncomment myservo_1 and so on, I can control the motor speed again. Can someone ...
0
votes
0answers
23 views

Analog Ph Sensor circuit considerations

I have bought this Analog Ph Sensor today, and one of the cautions the designer has left was: "After completing the measurement, disconnect the pH probe from the signal conversion board. The pH ...
-1
votes
1answer
46 views

How do I send Sensor Data from one Arduino to another Arduino that is a Webserver to post it?

I have been looking for over 2 hours now and just cant get it figured out. Im very confused as to how to do this. The solution I thought I found was to use HTTP POST. But I just cant get it to work. ...
0
votes
0answers
38 views

I need help with attaching codes in arduino [duplicate]

I'm in a project and I need to put multiple grove sensors in arduino and I've done with the others, but when I put the code of MQ3 sensor all the sensors stop showing in the serial monitor. I'm going ...
0
votes
0answers
14 views

Trying to get pseudorange data out of NS-RAW GPS

I have an NS-RAW CPGPS and I am trying to get GPS Data using an arduino. Do I just use the serial to get the data out of it and just convert and extract the data to what I need?