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
28 views

Determine the SOC and SOH of a 3.2V LiFePO 4 using Arduino Nano

I wanted to replicate this BMS I have seen in youtube because I cannot afford the price the owner is asking. I want to explore how to do it. Here's the youtube link I already have the codes for ...
0 votes
1 answer
37 views

Correctly connecting a four-pin tilt sensor to a breadboard before going live

I'm working on Arduino Kit book's Project 8: the digital hourglass. I've got the picture and the circuit diagram below. My question is a fundamental one, and I really don't know how others figured it ...
2 votes
0 answers
43 views

MAX30102 doesnt show data when it's interfacing with other sensors MLX90614 and MPU6050

The hardware I am using is ESP32 with MAX30102, MLX90614 and MPU6050 sensors and Using Blynk to show my data from the sensors. The issue I am facing is when I ran the code with all three sensors only ...
-1 votes
0 answers
9 views

ADXL335 changing capacitor to change bandwidth has no effect. I can measure >50Hz even while this shouldn't be possible. Why?

The Adafruit ADXL335 analog accelerometer comes per default with 0,1 uF caps, thus setting the bandwidth to 50Hz. See Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/...
1 vote
1 answer
26 views

Calibration of pH sensor

I am working with pH sensor (https://wiki.seeedstudio.com/Grove-PH-Sensor-kit/ ) and arduino. The board provided with sensor is not having any potentiometer to set the voltage value when dipped in ...
1 vote
0 answers
63 views

Esp32 fails to read MH-Z19C sensor

I'm trying to read CO2 data from a MH-Z19C sensor with an ESP32 board but I'm not getting anything. The error code from the library is 2 indicating a timeout (no data received). Did I get the wiring ...
-2 votes
1 answer
87 views

Using 1.1Vf to read stable battery voltage and sensor voltage

After several tries, i was successful with reading stable battery voltage using internal voltage reference of 1.1v, now the issue i face is that i cannot read stable sensor voltage, could you please ...
1 vote
1 answer
101 views

ESP32 failing to read from DHT11, MH-Z19C sensors

I got MH-Z19C (CO2 ppm) (datasheet), and DHT11 (temperature) sensors from Ebay and followed instructions online to set it up with my ESP32 board (ESP32). I'm using a breadboard and 5V/3.3V power ...
1 vote
0 answers
35 views

How to make a circuit signature that can be process with an Arduino [closed]

As a recent project I have been trying to create a DIY DGT chess board, that can recognize the placement of pieces and determine the position. I can 3D print the pieces but am trying to find a way to ...
0 votes
0 answers
50 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 ...
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
61 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
1 answer
91 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
82 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
41 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
24 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
73 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
32 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
37 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
33 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
82 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
59 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
122 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
117 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
29 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
66 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
1k 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
93 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
55 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
55 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
61 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
331 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
69 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
82 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
96 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
130 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
61 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
122 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
92 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
241 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
281 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
100 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
175 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
405 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
257 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 ...
0 votes
1 answer
222 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
234 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
2 3 4 5
25