If you wear glasses with heavy prescriptions it may be hard to find your glasses at night. It may be in the same location every night but there is always that moment when you're reaching around trying to find it. I wanted to create a self contained system that could easily light up your glasses without turning on all the lights in the room.
MaterialsI wanted to make the device as simple as possible. I decided to use the ATtiny85 due to its low power consumption and capabilities. I also used an LED and an ultrasonic distance sensor. I also used MDF for the case.
Case DesignThe case has to:
- Hold large glasses
- Have a port for the ultrasonic sensor
- Have a hole for an LED to shine on the glasses
- Have a space to discretely hide the program
I used Carbide Create to make the design. The files are attached in this project.
This will result in the following result:
I tried to make it as simple as possible so follow the circuit below. Placing it on a very small breadboard and it should fit in the case designed. I used a LiPo battery but you could wire it to a plug and then wouldn't have to worry about battery life. This lasted three days on a 500mA battery.
Because I used the ATtiny85, I used SparkFun's Tiny AVR Programmer. You can follow their guide on how to use it - https://learn.sparkfun.com/tutorials/tiny-avr-programmer-hookup-guide/?_ga=2.162942908.1042667328.1572384673-140107291.1524005299
The program I made can be found in the attachments.
Here are images of the completed design:
Video of the completed design:
Comments