Project tutorial
Touch Less Switch

Touch Less Switch © GPL3+

How to make Touch Less Switch using Arduino UNO for Corona Safety

  • 118 views
  • 0 comments
  • 0 respects

Components and supplies

A000066 iso both
Arduino UNO & Genuino UNO
×1
IR obstacle sensor
×1
Relay (generic)
×1
11026 02
Jumper wires (generic)
×1

Necessary tools and machines

09507 01
Soldering iron (generic)
Hy gluegun
Hot glue gun (generic)

About this project

In this video, I show you how to make touch less switch by using Arduino UNO and IR obstacle sensor. I make this project specially for corona safety. Its very simple and easy. Watch full video, Please subscribe and like...For making this project I am using:-

Arduino UNO

IR obstacle sensor

5 volt Relay

Jumper wires

Code

CodeArduino
#define r1 13
int relay1 = LOW;

int obstaclePin = 7;  // This is our input pin
int hasObstacle = HIGH;

void setup()
{
  pinMode(r1, OUTPUT);
  pinMode(obstaclePin, INPUT);
  Serial.begin(9600);  
}
void loop() {
  hasObstacle = digitalRead(obstaclePin);
  if (hasObstacle == LOW)
  {
            relay1 = ~ relay1;
            digitalWrite(r1,relay1);
            delay(1000);
   }
 
  delay(200);
}

Comments

Similar projects you might like

Smart Touch Switch Board

Project tutorial by Ashwini kumar sinha

  • 3,936 views
  • 5 comments
  • 14 respects

Control TV Using A Touch Remote

Project tutorial by the lonely programmer

  • 1,773 views
  • 2 comments
  • 9 respects

Bluetooth Controlled Light Switch

Project showcase by The Instrumentation Crustaceans

  • 29,383 views
  • 5 comments
  • 28 respects

How to control your light switch from your smartphone?

Project in progress by Mahmoud Ahmed

  • 24,754 views
  • 3 comments
  • 15 respects

Auto Battery Charger Switch

Project showcase by John Wood

  • 8,405 views
  • 6 comments
  • 25 respects

Paint Your Dimmer Switch on the Wall

Project tutorial by Brian Carbonette

  • 13,585 views
  • 0 comments
  • 40 respects
Add projectSign up / Login