- Make a radar by Ultrasonic Sensor
- Input: 1 pin for ultrasonic sensor (Echo pin)
- Output: 5 pins for LEDs
1 pin for Trig
1 pin for servo motor
2. Conditions of the distance
- Divide 5 detecting sections
- If detecting something at any section, light on LED which indicates its section
- Ex) something is in section 1, then turn on the LED light indicated it
- If that is located over some sections, you should turn on all related LEDs.
No comments:
Post a Comment