Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

MAX30102 Sensor not sending data to thingsboard

I'm having trouble with this I'm not sure if it's a code issue or a hardware issue, I am using a ESP32 and the sensors MAX3012, MPU6050 and a MLX90614. The issue I'm having is that when sending data ...
0 votes
0 answers
15 views

AREF calibration on MEGA board: Calling analogReference() causes instability in sensor readings

So I'm a bit at a loss. I'm trying to set up a suite of environmental sensors to run off of the breadboard, and input analog data to my Mega. I have a potentiometer hooked up to the 5v and ground pins ...
  • 1
0 votes
0 answers
53 views

Sniffing on receiving sensor have constant HIGH

These are probably going to be beginner questions, but I wasn't able to find an answer on the net. I was trying today to write a simple sniffer both for IR and for a 433MHZ receiver that I have. For ...
  • 109
0 votes
0 answers
31 views

Capacitance from AD7746 always "saturated"

I'm trying to use AD7746 with an arduino board to continuously measure capacitance (I'm currently using a 2pF capacitor for testing). Datasheet here. I managed to correctly write and read the ...
-3 votes
1 answer
34 views

Suitable laser sensor and safe for your eyes

I am looking for a laser sensor, a transmitter and receiver to use with microcontroller. Im going to use several just next to eachother and have some concerns: how much do they spread the light? I ...
1 vote
0 answers
23 views

Problem with Time Interrupts in ESP8266 with water proof depth sensor

I am trying to use an edited version of waterproof depth sensor code from the Arduino blog. It works well on my Arduino Uno board; however, it doesn't work with my ESP8266 board. Is there a way to ...
-1 votes
1 answer
31 views

Using multiple ultrasonic sensors simultanously with the same trigger

I want to use three ultrasonic sensors together and would prefer to use as few pins as possible, so I was thinking of using one trigger for all 3 sensors. The sensors will have an angle of 90 degrees ...
0 votes
0 answers
26 views

Color Sensor accuracy

I have this project using a color sensor (TCS230) and I hooked it up to my Aduino. My goal is to recognize different shades of color accurately. What I mean is there are different shades of color. For ...
-1 votes
0 answers
31 views

Is that code for serial plotter is different than serial monitor ? or same? How to extract the data as well?

Is the code for the serial plotter different from than serial monitor? or same? If someone wants to visualize the data through that. How to extract the data as well?
0 votes
0 answers
34 views

How to use arduino sensor shield v 5.0 and 2 L298N drivers at the same time for wall following car with 4 mecanum wheels?

I'm still a newbie in arduino but I'd like to try to make wall following car by using: Arduino Uno 4 DC motors 3 HC-SR04 ultrasonic sensors Sensor shield V5.0 2 Li-ion batteries in series Should I ...
0 votes
1 answer
85 views

AD8232 - Measuring heart rate only if USB connector is touched. Grounding issue?

TL;DR I can read out my heart rate but I have to physically touch GND of the Arduino or else the signal is just noise. Description So I've started to play around with an Arduino and wanted to try out ...
-1 votes
1 answer
75 views

How to read analog sensor data with different timers in arduino

I have three analog sensors like voltage, temperature and pressure. I need to measure the voltage and temperature every 10 ms and I need to measure the pressure alone every 30 ms by using the timers ...
  • 1
0 votes
0 answers
34 views

Is it possible to sample a signal with a sample frequency of 48kHz?

I want to have a filter with a 48kHz sample frequency, is that possible using the esp32? Here is a part of the code i developed using the arduino IDE: void setup() { // Initialize serial and wait ...
  • 101
-2 votes
1 answer
23 views

how do I wire a 2nd Adafruit TMP117 board to my Adafruit Metro by I2C?

I want to connect two TMP117 boards to one Metro (ie. Arduino). (the first, addressed at 48 the 2nd at 49.) Should 2nd board's 4 wires simply attach (ie. solder) in parallel to 1st board's 4 wires? (...
  • 191
1 vote
2 answers
65 views

Analog Microphone values not changing

I just bought a microphone for my Ardoino Nano 33 BLE. The mic can use both Analog and Digital input. Here is the mic and how it's connected. Here is the code where I read the input int sensorPin = ...
  • 11
2 votes
2 answers
29 views

Can a three wire Electrical conductivity sensor (Sensorex CS 150) be used directly with arduino?

I am having an electrical conductivity sensor (Sensorex CS150 with three tinned wires Red, Black and white https://sensorex.com/product/sensorex-cs150-12-mm-graphite-contacting-conductivity-sensor/ ). ...
1 vote
1 answer
29 views

Fading out a led with reed switch loop

I was hoping to get some help on the fading led which I am working on. For my project I need to have a led, which when it is placed next to a magnet, continuously shines, but as soon as it is taken ...
  • 13
1 vote
0 answers
32 views

When a button is pressed, it interferes with TFT screen

I'm trying to build a simple device to monitor my heart rate. The components are the following: A TFT 2.8" LCD screen to display relevant information for the user. 3 buttons for the user to ...
  • 113
-1 votes
3 answers
73 views

Is there any way to efficiently code reading of four sensors and sending a serial output once it does detect a reading?

I am actually wondering if there's a way to efficiently do this block of code. There are two things in my specifications and these are: Four IR Sensors that detects blockage. Basically just to ...
0 votes
1 answer
58 views

How to architect streaming data from multiple plant monitors to single Arduino?

Premise: I'm trying to determine a good way to architect getting data from 4 plant monitors to a single Arduino. For context, that Arduino will have a Wifi connection that will transmit the data from ...
  • 103
1 vote
1 answer
83 views

How to read and parse UART data from human presence radar sensor

I'm working on a project, and I purchased a 24 GHz "Human existence/presence" mm Wave sensor from micradar, the R24DVD1. The output of the module is serial data which varies in length and is ...
  • 11
-2 votes
1 answer
104 views

How can I send Arduino sensors data to java application?

my final year project is to do an Arduino watch that has heart rate and body temperature sensors and also a location tracking module. I need to send all the watch data to my java app but I don't how ...
1 vote
0 answers
26 views

Code not checking for updated sensor values after connecting to firebase?

I am using a project with an MQ138 sensor and want to push the real time sensor reads to firebase. Currently, the wifi/firebase part and sensor part work fine separately. The code connects to wifi and ...
  • 11
0 votes
1 answer
44 views

Best practice for wiring two sensors that have SCL and SDA connections

I have two different sensors which have SCL and SDA connections which I am trying to connect to an Arduino nano. From what I understand, connecting both of these sensor to the A5 and A4 pins doesn't ...
  • 9
2 votes
2 answers
987 views

How real-time is an arduino (react to sensor)?

New to arduino here, sorry for asking what may be a trivial question. I need to simulate an industrial machine at home. It operates in a cyclic motion, creating an event for every rotation / cycle. ...
  • 123
0 votes
2 answers
92 views

Lag in sensor reading when Arduino Powered with 12V adaptor

So I am trying to power an arduino to measure water flow. It works all fine and dandy when I am powering it with laptop, but when I directly power it with 12V 1.5A adaptor the readings take a second ...
-1 votes
1 answer
51 views

What happen with my code? My sensor module LED2 Always ON

I got this code from robojax.com i have follow all the step but when i try to clap its not turn off or turn on but when i blowing on the sound sensor it reacts and makes the light turn on int ...
0 votes
1 answer
49 views

Connect an MPX10DP Pressure Sensor to an Arduino Mega 2560

I'm literally new to using Arduino, i am trying to build a Pitot Tube to measure airspeed using an MPX10DP differential pressure sensor and i am working with an Arduino Mega 2560. Honestly, i have ...
1 vote
1 answer
57 views

Using an I2C barometer

When buying a barometer for my current project at work, I chose the MikroElektronika click 3 barometer. However, as it turns out, the library for it doesn't exist for Arduino. I know it uses I2C ...
3 votes
1 answer
319 views

Help with reading data from ADXL373 Accelerometer (I2C)

I am using ADXL373Z accelerometer with Arduino Uno for a project. When I run the code, I am getting incorrect values which are probably not even acceleration data. I am thinking it might be a wiring ...
  • 31
1 vote
1 answer
52 views

Requires accurate RGB color values by the tcs3200 RGB color sensore

I used the TCS3200 sensor to read the RGB color values.First, I calibrated the sensor with white and black colors.The sensor detects red, blue, and green correctly, but does not give an accurate value....
  • 11
-1 votes
1 answer
65 views

How to turn led lights off and on in order when below a certain photovalue?

I'm making a traffic light simulation with a photoresistor but it's not working properly. When the photovalue drops below a certain point ( a car comes by) a peeping sound should play for a second and ...
-2 votes
1 answer
68 views

My Atlas Scientific sensors measurement give zero values at first reading

I am still continuing my hydroponic nutrient monitoring project. In short, I made a hydroponic nutrient monitoring system with I2C connection, and decided to do serial communication with Raspberry Pi ...
0 votes
1 answer
80 views

Adjusting Threshold for Digital Pins

I am working on a project using Force Sensors to build a keyboard for MD patients. I have connected the sensors (each with 4 input pins) to digital pins to Arduino Due. I want to adjust the threshold ...
-1 votes
1 answer
113 views

How often does a mpu6050 gyro sonsor need calibration?

I want to use it in my real car for daily use to measure yaw angle when needed. Is is ok to only calibrate it once at first then use it every day when driving without any problem? if not, how often ...
1 vote
0 answers
55 views

HOW convert momentary button to touch sensor TTP223?

I am trying to convert this project https://maker.pro/arduino/projects/simple-fm-radio-receiver-with-arduino-uno-and-rda5807m to 3 touch sensors TTP223. But so far my new code don't work. Please can ...
  • 11
4 votes
2 answers
105 views

I2C sensors not working when I connect to LCD 20X04

I am making a hydroponic nutrient monitoring system using Arduino Uno, Atlas Scientific EC sensor, pH sensor, and RTD (temperature) sensor in I2C mode. I also want to use LCD 20x04 to display the ...
0 votes
1 answer
39 views

Do I need to use resisters and ICes for specific sensors.What if I dont use it,Will it impact my arduino board some how like making it useless &faulty

So I was reading about Simple AutomaticLight Controller using LDR. or with the help of LDRSenso. But I have LM393 Photoresistor (LDR) Sensor I like to know are they same thing or somewhat different. ...
  • 145
1 vote
1 answer
89 views

Why use multiple filters output thousands value, use one or two filter can output normal value?

Problem If the loop runs only one simulated pin and uses a filter, it will output normally (analog 1600~2200, filter 0~500), but creating an array to store multiple filtered simulated pin values will ...
  • 45
2 votes
1 answer
218 views

Can I use Data Logger Shield with Arduino Sensor shield V5.0?

so I did a little research on this but the answer to my particular problem did not exist. I have a data logger shield created by deek robot (deek-robot.com) which seems pretty similar to adafruits ...
3 votes
1 answer
257 views

Pulsein() function blocks other tasks from running silmultaneously

I am using a zumo bot with a reflectance sensor used to follow a black line. I want to use an arduino to make the zumo bot stop once it gets a certain distance from an obstacle. I have an ultrasonic ...
0 votes
1 answer
95 views

Looking for help with an improved vibration sensing method for Arduino

I am trying to test how vibration waves move through different material...ie how sensitive certain components are. I am needing a vibration sensor that will send me back some kind of measurement say ...
0 votes
1 answer
164 views

Is there accurate connection procedure for connection between an esp32 and ultrasonic sensor(HC-SR04)? [closed]

I am currently working on a project which integrates esp32 and HC-SR04 and send the data from HC-SR04 to my own domain. The connection diagram is this And the code which I use is this, const int ...
1 vote
1 answer
359 views

Arduino HX711 load cell lots of drift

I am trying to make this 50kg load cell work with this HX711 chip. I currently have the following connections : Load cell red -> E+ Load cell black -> E- Load cell white -> A- Load cell ...
3 votes
0 answers
232 views

Integration of MAX30100 and DS18B20 Thermal Probe Integration

This is for my final year project that I have been tasked with designing a patient monitoring system. However, during the last stretch of model prototyping, I am experiencing issues with my MAX30100 ...
1 vote
1 answer
178 views

Writing Arduino code for MPXV6115V pressure sensor

I'm attempting to use an MPXV6115V pressure sensor to monitor the constant vacuum of a suction device. I haven't been able to find a library to use with this sensor. I'm very new to Arduino but I am a ...
4 votes
1 answer
206 views

How to determine when a sensor's output signal changes significantly?

Starting with an analog signal from any sensor, how do I automatically determine if there is a real signal change or a reset? Below is the sample code that better explains my goal: value = sensorRead()...
  • 43
3 votes
1 answer
1k views

Why do we add delay when using ultrasonic sensors?

I'm a beginner in Arduino and recently i got myself an Ultrasonic sensor (HC-SR04). I looked up tutorials on how to measure distance with the sensor and the code I'm using is: const int trigPin = 8; ...
  • 139
1 vote
0 answers
176 views

Analog UV sensor displaying incorrect values in serial monitor (GUVA-S12SD)

Using Arduino Uno and a GUVA-S12SD sensor (https://www.adafruit.com/product/1918). Here's my circuit. 5V into sensor+, GND into sensor-, A0 to sensor out. Here's my code: void setup() { Serial....
  • 11
0 votes
1 answer
893 views

HW-477 Module having VS1838B IR Sensor: Help with Pins

Ordered Universal IR Receiver and I got HW-477 module with VS1838B IR Sensor. Good thing is datasheet for VS1838B is available but not for HW-477. VS1838B pins as: Ref Signal | GND | VCC while HW-477 ...
  • 135

1
2 3 4 5
25