Heads Up!!

Introduction: Heads Up!!

Students and adults usually have lots of works to write or books to read; however, their heads often come closer and closer to the books without themselves noticing. In order to solve this problem, I create a device to avoid people getting myopia when they come closer to the books. The device has two LEDs, one green and another is red, one ultrasonic sensor to measure the distance and an LCD panel to shows the distance. When your head is too close to the book, the ultrasonic sensor will detect it and the LEDs will blink to remind you to maintain the proper distance.

Supplies

  • 1 Ultrasonic Sensor
  • 1 LCD panel
  • Wires
  • LEDs (any colors)
  • 1 Breadboard
  • 1 Arduino board
  • Cardboards
  • Tapes or glues

Step 1: Programming

This is my programming code link:

https://create.arduino.cc/editor/ricky0601/610b425b-840a-4050-94c5-3e877d04aa8d/preview

Step 2: Wiring

Ultrasonic:

Vcc to 5v (+)

Trig and Echo to any two Digital Pin

GND to GND (-)

LED:

LED long leg to GND (-)

LED short leg to resistor

Resistor to Digital Pin

LCD Panel (i2c):

SCL to SCL

SND to SND

GND to GND (-)

Vcc to 5V (+)

Step 3: Final

Take the cardboard and stick them together to any shape you want as long as you are able to put your board into and doesn't affect the ultrasonic distance sensor works. After that, you FINISHED the device, CONGRATS!!!!

Be the First to Share

    Recommendations

    • Lamps and Lighting Contest

      Lamps and Lighting Contest
    • Tinkercad Student Design Contest

      Tinkercad Student Design Contest
    • Halloween Contest

      Halloween Contest

    Comments