Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
25 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
285 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
78 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
133 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
1answer
52 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
23 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
45 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 ...
3
votes
2answers
206 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
239 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
62 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
32 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
206 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
2answers
265 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
96 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
37 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
152 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
251 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
121 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
163 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
40 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
95 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
126 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
370 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
65 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
584 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
402 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
44 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
48 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
240 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
211 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
58 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
27 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
54 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
60 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
30 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?
0
votes
0answers
661 views

Nodemcu single server with 2 clients

I am trying to connect my nodemcu server with 2 nodemcu clients. One client is connected and it works perfectly. I am unable to configure what to do for the other client to be connected and share data ...
-1
votes
1answer
52 views

Using a Force Sensing Resistor and time input

So the code below measures how much force is exerted on the FSR. I would like to know what would I have to change in this code so that it can record for how long the FSR is being pressed for. So ...
0
votes
1answer
461 views

Nodemcu Server with multiple sensors

I am trying to connect my nodemcu client with nodemcu server, while my client is connected with two sensors (DHT11 and Soil Moisture) and it is workign perfectly, but on the server side I am unable to ...
0
votes
1answer
57 views

LCD displays bad character while counting rotation

I have been practicing RPM and rotation counter in arduino using infrared optocoupler. I try to implement number of rotation for drill machine but whenever drill starts to rotate, LCD prints bad ...
0
votes
0answers
134 views

Best approaches to reading a high-count quadrature encoder?

I have a 24v servo motor coupled to a 2,000 segment optical encoder that runs on 5v. That's 2,000 "ticks" per revolution at it's base resolution. (Full quad reading allows 8,000 ticks per revolution, ...
0
votes
1answer
144 views

Not getting any output from ECG sensor AD8232

I am trying for the beginning to run a simple Arduino code in order to test the functionality of the ECG sensor. What I am getting on the output are some random values around 600 or around 200. I ...
0
votes
1answer
33 views

Powering Moisture sensor via arduino pin

Can someone help me. I have this sensor I just connected it to the 3V pin of my arduino only I read online that its better to connect it to a Arduinopin for power so you can put it off when not ...
0
votes
0answers
111 views

ESP32 PH probe analogRead Value Alternating

i got an ESP32 WROOM32-OLED with a PH-Probe hooked up to it (PIN39). When i short the probe interfcace to get a PH07 reading (connecting the middle of the probe interface to ground) i get really ...
0
votes
0answers
91 views

Send ECG data using buffer in real time to the server without using delay

I am trying to make a ECG monitoring system using Arduino, GSM and ECG sensor which data should be sent to the private server in real time. Those data are then collected via Matlab on the remote ...
0
votes
1answer
192 views

Arduino Ultrasonic Sensor and LCD - Help Needed-

I just recently purchased an Arduino Uno 3 and I wanted to make an ultrasonic distance sensor that outputs the readings to a 16x2 LCD. I followed this guide: http://www.mertarduino.com/using-...
0
votes
1answer
46 views

Understanding datasheet of a HCHO gas sensor

I have a gas sensor whose datasheet is attached: DS-HCHO Now it says that UART communication is needed (P2P) where it (module) waits for Data Frame before tx the data frame to host which I need. ...
0
votes
0answers
38 views

Starting DC Pump with Arduinowhen it is powered by 9v Battery

I'm using Arduino Mega, and would like to start a DC Motor Pump. In my circuit, there are several sensors that are going to take up the voltage offered by Mega. Hence, I would like to know whether ...
0
votes
1answer
153 views

Problems / doubts on battery-powered Arduino Nano WiFi weather station I built

I've almost finished my first Arduino project and I'm realizing I might have gone a bit over my head - I'm a web programmer, I have a very basic electronics knowledge and started tinkering with ...
-1
votes
2answers
78 views

Arduino Micro & Thin polymer lithium batteries [closed]

Is this battery: Polymer Lithium-ion Battery Model Number: PGEB014461 https://www.powerstream.com/p/PGEB014461.pdf Producing enough energy to power the following Arduino-micro project: ...
0
votes
1answer
98 views

use of spec sensor in arduino uno

i have been trying to use NO2 spec senor in arduino UNO. how to write the code for it to get the output in terms of 'ppm' and how to give connection.with the helo of cross-sensitivity given in ...

1 2
3
4 5
22