This university project utilizes an Arduino Uno microcontroller to construct a distance detection and relay activation system. The system employs three HY-SRF05 modules for distance measurement, an Liquid LCD for displaying information, and a Relay Board for output control.
- The system continuously measures the distance of objects or individuals using the HY-SRF05 modules.
- If the measured distance falls below a specified threshold value, the system activates the relay.
- The relay remains activated until the measured distance returns above the threshold or the on-time reaches a defined limit.
- The system displays information on the LCD, including the distance, relay on-time, and a bar graph representing either the distance or the on-time.
- Security systems
- Access control systems
- Home automation systems
- Educational projects
- Easy to use
- Low cost
- Customizable
- Expandable
- Arduino Uno
- 1 HY-SRF05 modules
- 1 Liquid LCD
- 1 relay board
- Jumper wires
- Breadboard
- Connect the HY-SRF05 modules to the Arduino Uno.
- Connect the LCD to the Arduino Uno.
- Connect the relay board to the Arduino Uno.
- Upload the Arduino code.
- Test the system.