Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Salah UddinSabiha Sultana
Published © LGPL

Shoe Sanitizing System (Automated)

An automated sanitizing system for shoes is presented throughout this project. Shoe sanitizer is used to disinfect shoes.

IntermediateFull instructions provided24 hours4,589
Shoe Sanitizing System (Automated)

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
IR Range Sensor
Digilent IR Range Sensor
×1
DC motor (generic)
×1
MOSFET Transistor, Switching
MOSFET Transistor, Switching
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Hot glue gun (generic)
Hot glue gun (generic)
Premium Female/Male Extension Jumper Wires, 40 x 6" (150mm)
Premium Female/Male Extension Jumper Wires, 40 x 6" (150mm)

Story

Read more

Schematics

Circuit

Code

source

Arduino
const int buttonPin = 2;     
const int ledPin =  13;      
const int motorPin =  8;      
int buttonState = 0;         

void setup() {
    pinMode(ledPin, OUTPUT);
    pinMode(buttonPin, INPUT);
    pinMode(motorPin, OUTPUT);
}

void loop() {
  buttonState = digitalRead(buttonPin);
  if (buttonState == HIGH) {
    digitalWrite(ledPin, HIGH);
    digitalWrite(motorPin, LOW);
  } 
  else {
    digitalWrite(ledPin, LOW);
    digitalWrite(motorPin, HIGH);
  }
}

source

Arduino
const int IrInputPin = 2;
const int MosfetPin = 8;
int IR_state = 0;

void setup()
{
	pinMode(IrInputPin, INPUT);
	pinMode(MosfetPin, OUTPUT);
}

void loop()
{
	IR_state = digitalRead(IrInputPin);
	if (IR_state == HIGH)
	{
		digitalWrite(MosfetPin, LOW);
	}
	else
	{
		digitalWrite(MosfetPin, HIGH);
	}
}

Credits

Salah Uddin
44 projects • 148 followers
Technology and IoT Hacker, Robot Killer and Drone lover.
Contact
Sabiha Sultana
5 projects • 12 followers
Contact

Comments

Please log in or sign up to comment.