The goal of this project is to figure out how to embed the ultrasonic sensor (HC-SR04) and two kind of led lights to achieve three state:
1. When the person is far away from the mirror, e.g. more than 3 meters away (In the prototype : >30cm), both lights are off.
2. When the person is approaching the mirror, e.g. 1.5-3 meters away (15-30cm), a mild blue light is on.
3. When the person is using the mirror, e.g. less than 1.5 meters away. (<15cm), a bright white light is on.
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .