Skip to main content

Questions tagged [sensors]

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

211 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
409 views

DHT22 reading weird values

I just hooked up a DHT22 I had laying around in a parts drawer to test something and it is giving out some crazy wrong values, I am running the adafruit library's unified example and this is the ...
MAWood's user avatar
  • 51
4 votes
0 answers
465 views

Problem in using COZIR W-100 with arduino

I was using the COZIR W-100 carbon dioxide sensor with an Arduino Mega 2560 with the example code from this site. But the measured value of carbon dioxide by sensor was 90 ppm in fresh air and that ...
sunil's user avatar
  • 41
3 votes
0 answers
173 views

Using 2 VL53L4CD ToF sensors and getting error after getting first reading

pretty new to arduino stuff and was hoping to get some help with my code. I'm trying to use 2 ToF sensors and get continuous readings from them. I understand that I have to use the xshut feature and ...
nh1628's user avatar
  • 31
3 votes
0 answers
447 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 ...
Roschlynn Dsouza's user avatar
3 votes
0 answers
178 views

Can't stop the 3 pin active buzzer

I was simply trying to program a buzzer with the ultrasonic HC SR04 and 128x64 OLED display. The buzzer is an active buzzer (3 pin) on a small board. The problem is that, once on, it never stops ...
Bukaida's user avatar
  • 131
3 votes
0 answers
222 views

SHT30 giving wrong humidity

I have an SHT30 sensor which is feeding to my Arduino via an RS485 connection. The readings are coming in as they should be for both temperature and humidity. The problem, however, is that the ...
Hayden Eastwood's user avatar
3 votes
1 answer
338 views

TFMini Sensors with Arduino

I have three TFMini sensors I need all of them to detect. I only got one to work , pins 4,5 . My info in coding is basic . I really appreciate your help . Thanks in advance. I think the problem is ...
Soul's user avatar
  • 37
3 votes
1 answer
6k views

Read temperature (DS18B20) with the ATTiny85

I'm trying to read the temperature of a DS18B20 with my ATTiny85 - but I'm getting rubbish data :D I should have gotten ~22 degrees, but I'm getting 129! I followed this tutorial i found here, but ...
Jason94's user avatar
  • 293
2 votes
0 answers
86 views

Slow I2C communication

To collect temperature and BPM, I connected a max30101 in my Heltec WiFi kit V3 with ESP32. The data collected are stored in arrays to extract statistical features from signals which an algorithm will ...
Alice's user avatar
  • 31
2 votes
1 answer
798 views

Connecting pressure sensor to Arduino to collect pressure and time data

I'm trying to build a pressure data logger using an Arduino and Mindman MP47P-03-F1 (https://www.mindman.com.tw/proimages/pdf/E_MP47_S.pdf) pressure sensor, the sensor is connected to an outer 12-24 ...
Omer Davidi's user avatar
2 votes
0 answers
415 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 ...
LLAMAFTW's user avatar
2 votes
0 answers
166 views

SPI problem with Bitcraze PMW3901 sensors and Arduino NANO

I am currently trying to connect four Bitcraze PMW3901 sensors to an Arduino NANO, but I seem to have issues with the SPI. When I connect two sensors using the code below, it works perfectly: I am ...
wolly94's user avatar
  • 21
2 votes
0 answers
252 views

Strain Gauge with HX711 Load Cell Amp

I am trying to get a strain gauge working with the HX711 load cell amp. I posted about this a few months ago and got told to get some high precision resistors for the wheatstone bridge. I have now ...
Multiplier's user avatar
2 votes
0 answers
156 views

Why doesn't LCD 16x2 work with fingerprint sensor code?

When I separate fingerprint code and LCD code it works fine. sensor read 6 templates which I already stored 6 fingers ID. When I combine the code it read 0 templates. #include <Adafruit_Fingerprint....
SASHA SYAZANA 's user avatar
2 votes
0 answers
228 views

Two sensors on same ESP-32 board

Need some help on the project I'm currently developing. I have 3 YF-B2 sensors that I need to connect to the same ESP-32 board and read the data from the sensors and send it via MQTT. I had it working ...
Michael's user avatar
  • 21
2 votes
0 answers
397 views

Error compiling for board Arduino Nano 33 BLE

I am trying to use pulse sensor with Arduino Nano 33 BLE sense, but when I verify it, it shows Error compiling for board Arduino Nano 33 BLE. The code is from the pulse sensor website. The code works ...
Syfian Bukhari's user avatar
2 votes
0 answers
444 views

Difficulty getting Arduino data via puTTY

I am working on a project with a simple particulate matter sensor hooked up to an Arduino Uno. I'm using puTTY to log the sensor's output. My Arduino program converts the data to a numerical format, ...
Asher El hanani's user avatar
2 votes
0 answers
257 views

Problem in integrating speed sensor LM393 with L298N

I am currently working on a project that has an automatic support wheel for bicycle. The mechanism of this project is when the speed sensor is detecting the RPM of the rear bicycle wheel it will ...
Rafi Ad-din's user avatar
2 votes
0 answers
63 views

Can I track 70 pressure sensors from Arduino Mega?

I am a beginner at Arduino which I just received in the mail. My understanding is my Arduino Mega has 54 digital inputs and 16 analog inputs making for 70 inputs all together. I would like to track ...
Matt Macy's user avatar
2 votes
0 answers
3k views

5V Pressure sensor module with 3.3V ADC

I'm using ESP32 to read analogue pressure readings from this pressure transducer. My Problem is this sensor outputs 0.5V – 4.5V linear voltage output based on the pressure but ESP32 can only handle 0 -...
Prasad De Zoysa's user avatar
2 votes
1 answer
2k views

RF522 version 0x12

I bought a bunch of the common RC522 boards from some AliExpress vendor. They (I tried multiple) seem to work at the register read-write level, but they don't seem to execute commands, much less ...
Wouter van Ooijen's user avatar
2 votes
0 answers
593 views

Soil moisture sensor problem

I'm having a problem trying to run a bunch of code, using an "if" state which uses a variable which should get a value from a soil moisture sensor. I'm using the sensor digitally, so it should just ...
Galinho Salonica's user avatar
2 votes
0 answers
474 views

This is a flood sensor. Moisture sensor and servo working together but it shows different errors

Sometimes the servo moves unnecessarily without moisture sensor giving out any readings. Another problem is that the servo moves very slowly. Is there a way to counter this problem? const int ...
user39307's user avatar
2 votes
0 answers
84 views

ADC pin shutting off on its own under certain condition

A0 pin not working when full PV system in use I am using the DFRobot Leonardo with Xbee R3. I am using the A0 pin to read a 0-5V voltage from my voltage sensor, which samples and steps down 130VDC ...
Marcus Xing Koh's user avatar
2 votes
0 answers
67 views

Different behavior when Arduino Micro powered by laptop USB vs portable charger USB

I'm working on a project that uses an LM35 temperature sensor to control a few LEDs. Above 97 degrees, one LED should switch on. Below 95 degrees, it should switch off and the other should switch on. ...
pyfi12's user avatar
  • 21
2 votes
0 answers
268 views

How can I configure the RFM95 LoRa module to emit packets at only 'one' particular frequency?

I have created a LoRa gateway using a Pi3; I have used a RFM95 module for it. So, it is a single channel gateway, and I'm operating it at 868.1Mhz. But my LoRa node(also a RFM95, on an Arduino Uno), ...
Tejas Arlimatti's user avatar
2 votes
0 answers
413 views

How can I connect a force sensitive resistor to a vibration motor via Arduino?

Please forgive me if my knowledge is limited--still very new to this! I'm currently working on my senior thesis for my Industrial Design program and I'm struggling to figure out the components and ...
Garrett Brown's user avatar
2 votes
0 answers
91 views

Issue with PIR sensor

I have been using a HC-SR501 PIR module with my Arduino Mega and it was tracking presence pretty well. Because of cost constraints, I decided to go with the low cost HC-SR505 sensor - bought a bunch ...
Rahul's user avatar
  • 83
2 votes
0 answers
170 views

IR sensor not detecting light or dark sufaces

I wrote code for the vibrating motors to vibrate when an IR sensor detects a darker surface. I have 4 vibration motors for corresponding 4 IR sensors. My program is not able to read the values from ...
Rebekah's user avatar
  • 33
2 votes
0 answers
545 views

How to create a heart rate detection system that uses a chest strap?

I want to create a system that uses a chest strap from available Bluetooth-based heart rate monitoring systems. The straps seem very convenient compared to available Arduino pulse detection systems ...
rur2641's user avatar
  • 291
2 votes
0 answers
556 views

How to use Honeywell NBP Series Sensor with Arduino

I am trying to use a HONEYWELL NBPDANN100PAUNV Pressure Sensor. I found an example here http://www.circuitstoday.com/interfacing-pressure-sensor-arduino As this example says as instrumentation ...
ANKIT JAIN's user avatar
2 votes
0 answers
350 views

DHT22: Library and Data accuracy

I am using DHT22 temperature/humidity sensor and I noticed that there exist so many libraries. I wonder which one is the most accurate? It is giving me readings that does not seem to be logic. High ...
Badreddine Zebbiche's user avatar
2 votes
0 answers
264 views

Problem with my Arduino project

I am making a smart bin which automatically sense (with the help of IR sensor ) and dispose the trash by moving with help of DC geared motor 12V 60 RPM and it also detects for obstacles with the help ...
Jegadeesh Vontlin's user avatar
2 votes
0 answers
1k views

MQTT Broker on an Arduino

Has anyone here setup an MQTT Broker on an Arduino? I am looking to use pubsubclient to send sensor data from 12 individual wireless sensors to an Arduino every 250ms. I know this can be done using ...
user avatar
2 votes
0 answers
211 views

Declaring Variables in a For Loop

I am trying to use a for loop for getting readings on two parallax ping sensors and want to find the difference between both readings. But am having trouble doing so. Whenever I declare print ping(1), ...
Umbus's user avatar
  • 143
2 votes
0 answers
224 views

How do I change the default number of parameters SDI 12?

I am a nooby so this might be an obvious answer kind of a question, but how do I change how many parameters arduino-uno reads from a sensor using SDI communication? My code (which was in public domain,...
LunnaZ's user avatar
  • 21
2 votes
0 answers
224 views

Too many Bytes Using Ultrasonic Sensors

I need to send one transmission and record multiple distances with 4 receivers, but everytime I use more than 2 receivers, the serial data does not print. What can I do? P.S. I'm using 5 SRF-02 ...
Umbus's user avatar
  • 143
2 votes
0 answers
106 views

SRF-02 UART, transmitting from one address to another

So I just starting playing around with UART and SoftwareSerial while playing with these SRF-02 Sensors - http://www.robot-electronics.co.uk/htm/srf02techSer.htm I need help getting one to read to the ...
Umbus's user avatar
  • 143
2 votes
0 answers
116 views

Teensy and MS5803 sensor

I'm trying to use the MS5803 pressure sensor with a Teensy 3.2. Compiling the Sparkfun, or other, libraries, however, results in no output. Can you provide guidance on how to modify the libraries to ...
Andrew Milich's user avatar
2 votes
0 answers
88 views

Serial print and sensor readings halts

I'm trying to write a state machine for my robot. While the robot is moving around I would like to read the values of the sensors, but after some time the reading stops working. For the first half ...
Val's user avatar
  • 121
2 votes
0 answers
576 views

Arduino uno RF transmitter and receiver, MYSQL

i tried to connect my arduino uno and ethernet shield with Mysql and everything works fine. Then I tried to connect the RF transmitter and receiver. I use a similar code, but i have problem with ...
Supreme's user avatar
  • 73
2 votes
0 answers
168 views

Arduino-controlled current limiter for lathe

I'm building a lathe that will be powered by a 3-phase 750w AC motor (4 pole, max unloaded RPM of 1400 RPM). I want to be able to control the RPM using a potentiometer attached to an Arduino mega ...
Chris's user avatar
  • 51
2 votes
0 answers
69 views

Sensors to use in Pets

I want to track my pets using some sensors (their location in space) but I could only find radio sensors. These radio sensors are big and cumbersome for my dogs to carry around. Is there some sensor ...
Draconar's user avatar
  • 121
2 votes
0 answers
426 views

Problem reading HMC5843 - Magnetometer in Simulink

I'm having a SparkFun 9 DoF sensor stick including the following components: ADLX345 - Accelerometer ITG3200 Gyroscope HMC5843 - Magnetometer Im currently working on a project in which I need to ...
Carl's user avatar
  • 21
2 votes
0 answers
684 views

CO2 pressure regulator for keg

Is there anything like the link below that I can read/set with an arduino/raspberry pi? I'd like to be able to control this completely from a computer in my kegerator setup. Any search terms that ...
Troy Cosentino's user avatar
2 votes
0 answers
1k views

Grove temperature sensor with Arduino Yun

I try to test Grove - Infrared Temperature Sensor on Arduino Yun with the sample code but it does not work. In the console it shows that the object temperature is out of range all the time. However, ...
MakaraPr's user avatar
  • 135
2 votes
0 answers
937 views

Using an ultrasonic sensor to act as a potentiometer for a Servo?

I would just like to start off by saying that I am new to Arduino so my code and approach to the wanted outcome are probably not the best. Anyway, I had the idea of using an ultrasonic sensor and my ...
Luke Wood's user avatar
2 votes
0 answers
951 views

ICP Accelometer Arduino

I need to connect piezoelectric accelerometer to Arduino. Precisely, it's this one: http://www.pcb.com/Products.aspx?m=352C34 Specs show that it generates 100 mV/g, but when I connected it between ...
Apez's user avatar
  • 21
2 votes
0 answers
312 views

Could a bluetooth, speaker and microphone equiped arduino be used to form a range sensing swarm?

I am trying to figure out how to build a system of devices that could, on command, notify similar devices that are within a configurable distance. Maximum ranges would need to be around 20' though up ...
Corbin Matheson's user avatar
2 votes
0 answers
440 views

Flame Sensors Problems

I am making a fire fighting robot and I need a sensor. I want the sensor detection range to be about 6m or 7m (about 18ft to 20ft). The question is which sensor should I choose to get that detection ...
A-student's user avatar

1
2 3 4 5