Smart IR-Activated Water Tap Controlled by Arduino UNO – Efficient & Eco-Friendly
Components and supplies
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
![]() |
| × | 1 |
Necessary tools and machines
![]() |
|
About this project
This project is an automatic water tab system to solve the problem of water wastage in our daily life.
Code
- Arduino based automatic water tab using IR sensor.
Arduino based automatic water tab using IR sensor.C/C++
In this project we have made automatic water tab using Arduino and IR sensor to solve the problem of wastage of water in daily life.#include <Servo.h>
const int SensorPin = 3;
//int sensorValue = 0;
int myservo = 9;
int pos = 0;
Servo servo;
void setup() {
servo.attach(myservo);
}
void loop() {
digitalRead(3);
if(SensorPin==HIGH)
servo.attach(9);
pos = 90; // start at midpoint 90 degrees
// Speed = 3; // servo moves 3 degrees each time left/right is pushed// attaches the servo on pin 9 to the servo object
// start at midpoint 90 degrees // servo moves 3 degrees each time left/right is pushed // Set initial position
}
Manufacturing process
- Automatic Drip Coffee Maker: History, Design, and Future Trends
- Build a Remote Temperature Sensor with Raspberry Pi and Python – Step‑by‑Step Guide
- Control an LED with a PIR Motion Sensor on Raspberry Pi
- Integrating the Phantom YoYo High‑Sensitivity Water Sensor with the MCP3008 ADC on Raspberry Pi
- Smart Motion-Activated Water Gun Built with Arduino Nano
- Capacitive Touch LED Switch with Arduino UNO – Easy DIY Project
- Precision Arduino Guitar Tuner: Fast, Accurate Automatic Tuning for Musicians
- Industrial IoT Monitoring: Essential Hardware Components and Setup Guide
- SRF04-Based Automatic Water Level Controller for Residential & Commercial Use
- Automatic Water Pumps: How They Operate & Why They Matter




