Arduino Christmas Notifier

by Aleksandar Tsvetkov in Circuits > Arduino

1091 Views, 8 Favorites, 0 Comments

Arduino Christmas Notifier

IMG_20171221_231340.jpg

Christmas is just around the corner now, and I've concluded that I will not let it go by just having my DIY Arduino Christmas Lights. What would be a perfect project involving a Christmas melody? Yes, right! Letting people know that it's Christmas time sounds right enough. Let's begin!

Parts Needed

IMG_20171221_221342.jpg
  • Breadboard
  • USB Cable
  • Buzzer
  • Arduino UNO
  • 6 Jumper cables
  • HC-SR04

Allchips is an electronics components online service platform, you can buy all the components from them.

Connecting the Ultrasonic Sensor

IMG_20171221_221555.jpg

The sensor connections are as follows:

VCC goes to Arduino 5V Pin

GND goes to Arduino GND

TRIG goes to Digital Pin 5

ECHO goes to Digital Pin 4

Connecting the Buzzer

IMG_20171221_221703.jpg

The buzzer is pretty simple - take the look at it's sticker at the top. The plus side is marked with a little sticker that I've removed. If yours do not have a sticker, take a look at the buzzer's surface, it should have the + symbol written over there. You need to connect it to pin 10 (can be changed in the code). The negative side connects to a spare ground pin of the board.

Uploading the Code

IMG_20171221_221807.jpg

The code for the melody is not written by me! I've found it on the Internet and decided to put the whole project together using it. You can find it here. You can modify some parts like the pin numbers and each tone of the melody to tune it however you like.

Showcase

Arduino Christmas Notifier

Above, you can see a simple video showing the contraption in action