:: PROJECT DESCRIPTION ::
The goal of this project is to create an automatic trash can that uses an ultrasonic sensor to open and close the lid automatically. When an object approaches within a certain distance, the lid opens automatically and closes after the object moves away.
:: FUNCTIONS ::
To improve hygiene and prevent the spread of germs, reduce physical contact with trash cans.
We develop simple and effective Arduino Nano-based solutions that are easy to implement in public spaces.
:: COMPONENTS USED ::
Arduino Nano: A microcontroller used to manage the automated system.
Sensor Ultrasonik HC-SR04: Used to detect objects within a certain distance.
Motor Servo: In charge of opening and closing the trash can lid when an object is detected.
Breadboard, Cable Jumper: To connect all electronic components in the system.
:: SCHEMATIC ::
Description:
Pin PWM Motor Servo (Orange) ===> Pin D4 Arduino Nano
Pin VCC Motor Servo (Red) dan VCC Sensor Ultrasonic HC-SR04 ===> 5V Arduino Nano
Pin GND Motor Servo (Black) dan GND Sensor Ultrasonic HC-SR04 ===> GND Arduino Nano
Pin Trigger Sensor Ultrasonic HC-SR04 ===> Pin D7 Arduino Nano
Pin Echo Sensor Ultrasonic HC-SR04 ===> Pin D6 Arduino Nano
:: RESULTS ::
The automatic trash can was successfully implemented with an object detection range of 10 to 15 cm, which opens the lid. Once the object moves away, the lid closes automatically.
The project was implemented at several schools to improve hygiene without physical contact.