Busy Meter

by vin0617 in Circuits > Arduino

313 Views, 1 Favorites, 0 Comments

Busy Meter

Lights
How it Works

This Instructable will teach you how to make a machine that tells people how busy you are and shoos people away when you are busy.

This machine allows you to show how busy you are using three levels: not busy, a bit busy, and busy. The levels are shown with LEDs that have different colors. You can adjust the level by pressing the button. The machine uses an ultrasonic sensor that will sound an alarm when a person is too close to you when you are "busy".

Supplies

Arduino Leonardo

Breadboard

Jumper wires

1x green LED

1x yellow LED

1x red LED

1x buzzer

1x button

1x ultrasonic sensor

4x resistors

Assembling

螢幕快照 2020-05-27 下午8.09.16.png
IMG_3076.JPG

Assemble the supplies according to the image shown. Make sure:

-Button is linked to d2

-Trig and echo of ultrasonic sensor is linked to d6 and d7

-Buzzer is linked to d8

-Green LED is linked to d10

-Yellow LED is linked to d11

-Red LED is linked to d12

Coding

Here is the code I used tor this project:

https://create.arduino.cc/editor/vin0617/fb9cd73f-...

Decorating

IMG_3040.JPG
IMG_3069.JPG

Use a cardboard box (or other things you wish) to cover your work to make it look better.