Questions tagged [sensors]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Soil moisture sensor, weird readings

I'm having a small problem with my soil moisture sensor it gives me weird readings, in the second the smallest connection is made between the legs it just gives me 4096 (which is max possible value),...
0
votes
0answers
28 views

Whats wrong with my SPI code using uno?

I am stuck reading A1335 sensor through SPI. I have asked on the Aduino forum under the "Networking.." topic but no one is helping. Link to other forum post I have changed the code so many times now ...
-1
votes
1answer
42 views

How to connect naked camera from mobile phone to Arduino Uno

Okay, guys. I have this 3 cameras(middle from the iPhone 6s, 2 at the side I found, and I think there are from modern phone). I need some information how to connect Arduino Uno to them. I know c/c++, ...
0
votes
0answers
33 views

Separating paper and plastic waste [closed]

I am trying to write code to let my model separate plastic and paper mainly for recycling purpose. I am having a problem assembling the code. My model includes: inductive sensor ultrasound sensor ...
0
votes
1answer
26 views

Problem with if condition

So my project is including detecting the temperature in the room by using dth11 sensor. my idea is to add 3 LED lights were each light represent the temperature if its cold or hot or perfect. the ...
0
votes
1answer
46 views

How do I put timers by using millis on 3 PIR sensors?

I want to make the PIRs to stay on for about 1 minute. I've found the code that can do so for 1 PIR, but I dont know how to apply the code for 3 PIRs. Here is the code for 1 PIR with timer using ...
0
votes
0answers
34 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 (...
0
votes
0answers
23 views

Ultrasonic sensor [closed]

#include <LiquidCrystal.h> // includes the LiquidCrystal Library LiquidCrystal lcd(1, 2, 4, 5, 6, 7); // Creates an LCD object. Parameters: (rs, enable, d4, d5, d6, d7) const int trigPin = 9; ...
-1
votes
1answer
37 views

Part identification [closed]

This may be a dumb question but i would like to know what this part is. Anyone who knows?
1
vote
0answers
43 views

How to get my LCD contentiously updating with data from sensor?

EDIT DOWNSTAIRS: Hello beautiful people of the internet! How are you smart people doing with all that's going on these days. Okay so the title says it pretty much. I've got a code and inside of my if'...
0
votes
1answer
24 views

Interrupting a servo sweep with a force sensor

this is my first time dealing with arduinos and I have a school assignment. I have a servo and a force sensor. When "1" (a character, not an integer) is typed in the serial monitor, the servo needs to ...
0
votes
0answers
45 views

Arduino Measuring Microwave Leakage

I want to measure if my microwave has a leakage using Arduino. Ideally, I would like to get the exact number measured by mW/cm2 (similar to HT-M2 devices). Any advice which Arduino module can do it?
0
votes
1answer
37 views

Modifying smart watch or activity armband with further sensors

I want something like an activity armband where I would like to add an bend sensor or EMG sensor for simple hand gesture recognition tasks. I could probably build it from scratch with arduino-like ...
0
votes
0answers
33 views

Arduino Won't Work With Sensors - Pulsates 1/HIGH when not plugged in, constant HIGH/1 when plugged in

simulate this circuit – Schematic created using CircuitLab I tried to do a simple project where a 8x8 matrix lamp would display something different depending on whether or not a sensor ...
0
votes
0answers
41 views

Help Needed! How do I attach a color sensor to a 2WD robot and use it to control its movement?

I'm relatively new to the world of Arduino, so don't be frustrated if I ask questions that could be silly. This project has a deadline, so any input is appreciated. THE PROJECT: I am planning to ...
-3
votes
1answer
48 views

On compiling I get #endif without #if error. Here is the code. Please help! [closed]

#include <Arduino.h> #endif #include <ESP8266WiFi.h> #define watersensor D2 const char* ssid = "pooja"; const char* password = "ranip2780@"; WiFiServer server(301); IPAddress ip(192, 168, ...
1
vote
0answers
63 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 ...
0
votes
0answers
14 views

Distance sensor with Servo

so I am using an Ultrasonic Distance Sensor with Servomotors and I want it that when the sensor senses a distance of 50 cm the servomotors move to the selected position and then stay in that position ...
0
votes
1answer
61 views

Use Low Power Arduino with Solar Panel

I am trying to create an arduino system with radio-transmitters and radio-receivers. The system runs from a rechargable battery that is charged with a solar panel. I am using a 1.1W 6V solar panel. ...
0
votes
0answers
11 views

I need to connect two motors and a sensor, I have each individual code but can't connect them together. Can anyone help? [duplicate]

I've got the wiring complete and have all the codes for each individual part. When I try adding them together it doesn't work and get a bunch of errors, I also want the sensor to give out true/false ...
0
votes
1answer
38 views

Sound sensor signals with time bracket

I've tried many codes for this to work but anything isn't helping at all, so my code should work like this: If a sound sensor (3 pins, A2) sends 5 signals into the Arduino within 10 seconds (the time ...
-1
votes
1answer
42 views

How to Set Sensor Data Parameters?

Good day! How to set sensor Data parameters? Like the data only set for example it starts with minimum value of 3 and ends with maximum value of 6 and it will turn on led 1 and if minimum value of 1 ...
0
votes
3answers
43 views

Best way to measure liquid level of a 10 meter high tank? [closed]

I would like to measure the height at which the liquid inside a 10 meter high tank, what is the best way to achieve it? What sensor should i use? I have seen ultrasound sensors but I have not found ...
0
votes
1answer
43 views

Reading sensor with current ouput with Arduino

I am having diffuclt times with this sensor, so I kndliy ask for your help! The sensor is named "SPUVA-CS-C3535-A", datasheet here. The sensor I use (cs3535) has just two pins (+ and -). From my ...
0
votes
0answers
18 views

ESP8266 GPIO limitations with HC-SR04

I want to build a systems that measures if some parking spots are occupied or not. I chose to use an ESP8266 12-E NodeMCU Kit with multiple HC-SR04 ultrasonic sensors. In my project, it is essential ...
0
votes
0answers
21 views

Need help when i use ph 4502c and upload my code thats is going pop out [duplicate]

Arduino: 1.8.12 (Windows 7), Board: "Arduino Uno" Sketch uses 3938 bytes (12%) of program storage space. Maximum is 32256 bytes. Global variables use 240 bytes (11%) of dynamic memory, leaving 1808 ...
0
votes
1answer
38 views

How to calculate the RZERO value in MQ135 sensor, I have already burned it for 24 hours?

I've already burned it for 24 hours and it is now giving the constant value of 932.36,pls tell me how to calculate the RZERO value.
0
votes
1answer
48 views

How to use any module that has no library for arduino?

I am 2 years old in this Arduino world. I am currently working on a project where I am about to make use of a fingerprint sensor. Now my question is that could we be able to make use of a sensor that ...
0
votes
1answer
31 views

Does using multiple HX711 amplifiers change the supply voltage of an Arduino?

I’m creating essentially a load cell using an Arduino Nano and an HX711 amplifier. However, I want to have two HX711 amplifiers running off the same Arduino. Will that change the supply voltage since ...
0
votes
1answer
38 views

Running a robot with 2 front-facing sensors, but it's stuttering

Here's the run down: I have a small robot with four continuous servo motors and two ultrasonic sensors. It's run by and UNO board with a Sensor Shield V5 on top. My goal is to program the front right ...
0
votes
0answers
42 views

Calculate straight line distance accurately

I am trying to build a Mine Sweeper game where there will be 4 X 7 blocks and each block is approximately 2 X 2 feet and the player will be standing on these blocks. I want to detect on which block ...
0
votes
0answers
18 views

how to combine these two sensor coding in arduino uno [duplicate]

#include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27,16,2); #include <DHT.h> DHT dht(2, DHT11); int powerPin = 3; void setup(){ lcd.init(); lcd.backlight(); pinMode(...
0
votes
1answer
30 views

how to combine two code of arduino uno [duplicate]

int mamank=13; void setup() { pinMode (mamank,OUTPUT); Serial.begin(9600); } void loop() { int sensorValue = analogRead(A0); Serial.println(sensorValue); if(sensorValue>550)digitalWrite(...
0
votes
2answers
41 views

Distance Measurement - between 6 points, individually moving in (almost) any direction within 1m

I'm trying to find a solution for a given task in a problem I want to solve. Assume I have 6 individual Points in a 3D environment of about 1m³. Each point will be able to change position (almost) ...
0
votes
2answers
93 views

Voltage divider and NodeMCU inputs

Some sensors give as output a voltage between 0 and 5V. The analog inputs of the NodeMCU require voltages between 0 and 3.3V. I plan to make a voltage divider with two resistors like in this link for ...
0
votes
0answers
104 views

Strange readings from embedded barometer on Arduino Nano 33 BLE Sense

I've been testing out the barometer (LPS22HB) on my new Arduino, and I've run into two issues with it. The first is that after an inconsistent amount of time from starting to take readings (usually ...
0
votes
1answer
40 views

Can you make Arduino Uno send information through a WiFi module to a server?

A lot of tutorials are about how to control Arduino through WiFi, but I need my Arduino to send information about motion sensor activity to a server. Is that possible?
0
votes
0answers
24 views

How to run my servo until an input is recieved?

I am VERY new to this so please excuse any silly questions. I am trying to run an FS90 micro servo in a sweeping motion until I receive a certain value from my Adafruit TCS34725 colour sensor. I ...
0
votes
1answer
33 views

How many PIR Motion Sensors can I connect to my Arduino-Uno R3?

I am doing a school project where I intend to measure the cafeteria line with motion sensors and the send that information with a WiFi module to a server. This is my first time using Arduino and I am ...
0
votes
1answer
40 views

Get image from Fingerprint module

I want to get the image from the fingerprint module (https://makeradvisor.com/tools/fingerprint-sensor-module/) as a result of scanning. It is enough to have a single frame image. it would be good if ...
-1
votes
2answers
79 views

Sensors / Data logging Temperature and Humidity 50ft away [closed]

I am looking at using a DHT11 for logging my temp and humidity in a few boxes i have. I need to be able to run these sensors several feet away (50ft ish) I would like to use Ethernet cable to do this....
0
votes
1answer
51 views

Error compiling code for Arduino/Genuino Uno. “multiple definition of `__vector_7”

#include <PulseSensorPlayground.h> int pulsePin = A0; // Pulse Sensor purple wire connected to analog pin A0 int Redled = 7; // The pin for the Red LED which notifies you if ...
-1
votes
2answers
65 views

Pressure Switch 4-20mA

Im working on a project trying to read the pressure value from an Allen Bradley Pressure Transmitter 836P-D2NFGB20PA-D4 Ser.A However the pin configuration that comes on the description along with ...
0
votes
1answer
69 views

Sparkfun CCS811 sensor not interfacing with arduino

I have sparkfun indoor air quality sensor CCS811 which needs to be interfaced with arduino. I have soldered wires on the sensors and connected with arduino. Have checked the connection with multimeter ...
0
votes
1answer
51 views

Plant irrigation system

I'm very new to the Arduino game I wanted to make a small auto watering system for my plants. I bought these items 5V 1 CHANNEL RELAY MODULE FOR ARDUINO PIC AVR DSP ARMB 9 VOLT BATTERY SNAP ...
0
votes
0answers
24 views

Dim 4k LCD panel in response to ambient light

Warning: I'm completely new to Arduino, and not even sure if it's the right solution here. I'm trying to make a better digital picture frame. Got almost all the way there by just buying a nice flat-...
0
votes
0answers
27 views

Dragino Lora shield for Arduino sensor use

I am new to arduino and lora technology and i have dragino lorashield for arduino Uno and dragino gateway. I have also MQ-3 gas sensor and I want to detect the alcohol value and to send it to the ...
0
votes
1answer
160 views

How to detect the direction of rotation with a sensor encoder timing disk (photoelectric speed sensor)?

I am making a DIY gaming steering wheel and am stuck. For measuring the rotation of the wheel, I'm using a sensor encoder timing disk, which is usually found in printers. - https://robu.in/product/...
0
votes
1answer
33 views

How can I make YX5300 MP3 player play song in a loop?

I am doing a Christmas project and I have an ultrasonic sensor that detects if a person is In front of it. I want that if someone is in front of it, it lights up LEDs, which it does, and it also has ...
0
votes
1answer
52 views

Arduino code for turning an led on by one clap and then off by one clap

I want my Arduino to turn on a LED when sound sensor detects a clap (noise) and keeps the LED on until the sound sensor detects another clap (noise) which turns the LED off. int Sensor = A0; boolean ...

1
2 3 4 5
22