Skip to main content

Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
64 views

Software serial communication problem between ESP8266 and Arduino Mega for plant monitoring system (using Blynk IoT)

We're using the ESP8266 to receive data from the Arduino Mega board, where our sensors are connected. Supposedly, our ESP is connected to the Blynk App. However, the values showing up in our dashboard ...
0 votes
1 answer
34 views

How to control a stepper motor using an absolute position sensor which has an error band?

I am using Feather M4 express development board with DC Motor + Stepper FeatherWing and Ethernet FeatherWing stacked on it. The idea is to read the target position from the UDP from 0 t0 360 degrees ...
11 votes
4 answers
6k views

How to move from arduino to physical prototype

I've been reading a bit about moving from Arduino to PCB and it seems a bit daunting. For now, all I really want to do is take something I've built, and make a few changes so that I can actually ...
-1 votes
1 answer
35 views

How can I downsize protruding pins from sensors to so I can use a smaller housing?

I'm trying to create a system where I continuously measure color data from a fluid. I've created a 3D-printed box where the pins fit; if they're configured in their out-of-the-box arrangement, what ...
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 ...
0 votes
1 answer
156 views

Can I use a TCS34725 color sensor with a LilyPad?

I have been trying to get a TCS34725 color sensor working with a LilyPad Arduino USB - ATmega32U4 board, but with no success. I am wondering if it possible? I have been using the following sketch to ...
0 votes
1 answer
553 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
0 answers
44 views

Arduino Line Notify Stops Working After 1 Hour

I'm using an Arduino with the ESP8266 to send notifications to the Line app using the TridentTD_LineNotify library. The notifications work perfectly at first, but after running for about an hour, the ...
1 vote
0 answers
48 views

Help with combining sensor codes

I'm trying to combine 4 sensors' codes into one to display on the serial monitor: MAX30205, MAX30100, AHT20, and ENS160. I'm using the Adafruit ESP32 Feather V2 board. Here are the libraries that I've ...
3 votes
1 answer
339 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 ...
0 votes
1 answer
933 views

Having trouble passing data through RF24

I have three RF24, all of them are connected to one arduino-uno each. The first one has sensors that sends data to the second one then the second one passes it to the third one. The first pass from ...
0 votes
1 answer
344 views

How to find the time of any point on the graph on an Arduino serial plotter or Processing software?

I am plotting the graph of some sensor values on my Arduino serial plotter which looks something like this - But what I want to do is hover over any point on the graph and display the time at that ...
2 votes
1 answer
831 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 ...
0 votes
1 answer
68 views

Keypad library isn't working or I am wrong somewhere [closed]

I am using PICSimLab to simulate a keypad. The configuration of the keypad is as shown in the picture: and the code is: #include <LiquidCrystal.h> #include <Key.h> #include <Keypad.h&...
1 vote
1 answer
294 views

Arduino Nano: MAX30102 and memory problems

We are making a simple pulse oximeter device with an Arduino Nano and a MAX30102 sensor. The problem is the SpO2 reading and processing algorithm of the MAX30102 library literally does signal ...
2 votes
2 answers
846 views

Push button issues

I have been using https://wokwi.com/ to learn Arduino and I am having a problem that seems to be happening no matter what I do. I am trying to set up a push button and an LED. The end goal here is to ...
1 vote
0 answers
50 views

KIE-TS-300B turbidity sensor not working

I'm working with a clone Arduino micro board. I've got the color sensor up and running fine. So the problem isn't the card. I'm using the example code, just to try out the module: // the setup ...
1 vote
0 answers
134 views

Unable to connect to SHT4x sensor probe through I2C bus

Error trying to execute serialNumber(): ReceK on transmit of address Error trying to execute serialNumber(): Received NACK on transmit of address Error trying to execute measureHighPrecision(): ...
0 votes
1 answer
33 views

Arduino Uno/Nano + ML

I couldn't find any clear answers elsewhere, hence I'm asking here. I have a TensorFlow/TensorFlow Lite model which I have already trained on some sensor data. Now, how can I utilize this model on my ...
5 votes
1 answer
19k views

How do I use two ultrasonic sensors to control a 5 V motor?

I've hooked up two ultrasonic sensors to my breadboard and I also got a 5 V motor installed. I also got the diode installed and the usual set up. I can easily control the motor with one sensor. I want ...
3 votes
2 answers
2k views

DS18B20 with only OneWire library

Peter Scargill found a way to use a DS18B20 temperature sensor only using the OneWire library, and it's amazing how blazing fast it is! (It's an old article from 2013.) #include <OneWire.h> ...
0 votes
1 answer
40 views

Arduino used as a multi-sensor controller, then sending results to a laptop to post on a web page

We are a non-profit group, we run a salmon rearing pond on Lake Michigan. We are upgrading our equipment that is over 50 years old with monitoring sensors. We are adding 9 temperature, 5 oxygen, 2 air ...
1 vote
1 answer
646 views

What is the best way I can detect if a ping pong ball has hit the ping pong table?

The goal is to track points, which, in the case of ping pong, is how many times the ball has touched the table. My concerns are with how light the ball and therefore the impact on the table will be. ...
1 vote
0 answers
87 views

Inaccurate and changed results with ultrasonic sensor

I have an issue using an ultrasonic sensor. The problem is that when I connect the ultrasonic sensor to my Arduino Nano, it always gives some random values, usually 130 cm, I don't know why. I bought ...
0 votes
1 answer
79 views

Can Vin of ESP handle many voltage sensors and relays?

My project is Charging Battery via Solar and Piezoelectric sensor while also getting the Realtime Voltage of the Battery, Capacitor, and Solar. I want to use Vin as the source to get 5V because ...
-1 votes
1 answer
192 views

Incorrect reading from DHT22 (on a Nano board)

I have rigged two different DHT22 sensors to an Arduino Nano board. Both temperature readings are more or less comparable but they produce very different humidity readings. The sensors are: Sensor No....
3 votes
2 answers
1k views

Using the Broadcom AFBR-S50 with Arduino

I'm trying to interface with a Broadcom AFBR-S50MV85G ToF sensor over SPI using an Arduino, which is complicated by the fact that the provided library and reference application is written for Cortex ...
1 vote
2 answers
265 views

DHT20 and OLED display not working together

I am trying to get my DHT20 and OLED (both from the Arduino Sensor Kit) to work at the same time. I am able to get them working separately with their respective test codes, but when I try to combine ...
10 votes
1 answer
12k views

Emulating 1-wire device(s)

What I want to do is make a ATTiny IC become a slave on the 1-wire bus, with its own S/N and command list for its specific functions. What I want to know is if I can use the one wire library from ...
-1 votes
2 answers
87 views

Do I connect multiple I2C units to the microcontroler in series or parallel?

I have a project (still planning) with three I2C sensors: GPS, 3-axis gyro+accelerometer, and OLED. Do I connect SDA/SCL in series, or do I connect them in parallel?
2 votes
1 answer
677 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
3 answers
494 views

Unable to find/connect I2C devices (SHT31 & SGP30)

I have recently purchased an Arduino Nano 33 IOT together with two sensors: Adafruit SHT31-D (https://learn.adafruit.com/adafruit-sht31-d-temperature-and-humidity-sensor-breakout) Adafruit SGP30 (...
4 votes
3 answers
1k views

Water level Detection using Ultrasonic Sensor and arduino

I'm making a water level detector to control my motor which supplies water in water tank and for that I'm going to use ultrasonic sensor to be attached to tank lid. My question is whether the vapor ...
26 votes
12 answers
29k views

What type of connector does the GROVE system use?

What type of connector does GROVE use? I'm interested in wiring some old sensors so they're compatible with GROVE, so I first need to identify the connector so I can buy the housing and pins to crimp....
2 votes
1 answer
584 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 ...
-1 votes
1 answer
281 views

Why won't my servo and ultrasonic sensor work together?

I have a school project due tomorrow, and I'm planning to connect a servo motor with an ultrasonic sensor. If the distance is under 10cm, the servo motor should turn 180 degrees and will return to 0 ...
1 vote
1 answer
862 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 ...
5 votes
2 answers
3k views

When it comes to UART to RS485 communication, what is the difference between the 'MAX485' and the 'HW-0519' module?

I recently found this model with the ID 'HW-0519' on it. It can be found online (HW-0519 in Aliexpress) and is sold for the purpose of converting UART to RS485 communication using Arduino devices. The ...
2 votes
1 answer
170 views

Sparkfun ISL29125 breakout board issue with Arduino IDE with ESP32

I am working on a project where I need to get the RGB light value from surrounding ambient light. For that I am using an ESP32 with a Sparkfun ISL29125 breakout board. I have tried to scan available/...
0 votes
2 answers
63 views

Serial Buffer stays empty as soon as it becomes empty once

I have a question regarding serial buffer readout. At program start, I send a serial command to a sensor that 1. activates him and 2. let him send data - that works. When I unplug the sensor, the ...
-1 votes
1 answer
55 views

How to get recover numeric data sent by an Arduino in binary

I am a C# dev and these C++ data conversions are killing me. I have an Arduino sending binary data through LoRaWAN to AzureIOT. I am trying to decode my Temp/Humid/Bat payload that I am pulling out of ...
16 votes
1 answer
10k views

How can I sense when someone is sleeping with my Arduino?

Ignore the stalker-like title. I am thinking about creating a project with Arduino that can sense you sleep habits, when you're asleep, and how much you sleep. It would be convenient to not have to ...
1 vote
1 answer
298 views

Arduino Nano TX and RX LEDs Not Lighting Up During Upload

I'm encountering a problem with my Arduino Nano board. When I attempt to upload sketches to the board using the Arduino IDE, only the Power LED lights up, and the TX and RX LEDs remain inactive. I've ...
2 votes
1 answer
162 views

How to make 2 lidar lite v3 work with 1 Arduino?

I'm using the code below, but I had no success. I'm using this connection wire: The photo of the Arduino doesn't show the SCL and SDA pins, but please consider that it has 2 SCL pins and 2 SDA pins in ...
-2 votes
1 answer
252 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 ...
2 votes
0 answers
91 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 ...
2 votes
2 answers
338 views

TMC2208 Stepper Motor does not change its RPM linearly

This is my first project working with stepper motors, so I may have a bit of a shaky understanding of the electronic side of the project. I'm trying to create a simple device with 4 buttons connected ...
-1 votes
1 answer
280 views

NodeMcu V3 & BMe280 -> Temperature, Humidity, Pressure: value nan

I've just started playing around with a NodeMcu V3 and a BME280 sensor. wiring VCC -> 3.3V GND -> GND SCL -> D1 (GPIO5) SDA -> D2 (GPIO4) I've tried this sketch / I2C scanner: it finds ...
1 vote
0 answers
161 views

How to Connect Two CQRobot Ocean Non-Contact Water/Liquid Level Sensors (CQRSENYW001) to Arduino UNO REV3 (A000066)?

I am a complete beginner trying my hand at a home automation project. Part of my setup includes using an Arduino UNO REV3 (A000066), and connecting two CQRobot Ocean Non-Contact Water/Liquid Level ...
1 vote
1 answer
1k 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 ...

1
2 3 4 5
26