Buzz Wire Alarm Clock

by hertzgamma in Circuits > Clocks

12339 Views, 36 Favorites, 0 Comments

Buzz Wire Alarm Clock

Clock3.jpg
IMG_6409.JPG
IMG_6594-001.JPG
IMG_6600-001.JPG
IMG_6715-003.JPG

Does it happen to you to slide your finger across your phone's screen and turn the alarm off ... just because you have automated this task and don't even need to open your eyes?

Well, let me present to you the alarm clock that WILL MAKE YOU:

..... stand from the bed ..... open your eyes ..... get you absolutely focused ..... and finaly WAKE UP !!!







Check out the video above!

Here are some stories from life that may encourage you to buld such a 100%-wake-up-clock for yourself ...

I am an engineering student in third year now and this speaks that I do not get enough sleep during the term time.

For me being prepared means actually managing to wake up for the 9am lecture which is very tough ..... and unfortunately I have to do it every day except Thursday and the weekends. It comes hard when I have an assessment in the lab and really have to do it that early.

I have joined the Instructables Be Prepared Contest because it is quite dramatic when I oversleep and then rush without having breakfast and miss the bus ... and have to walk another 40mins going to the second lecture. I hate myself when this happens.

I want to add a happy-ending story that once happened to me to wake up at 7am while I had a flight at 8:30am and now I'm scared to oversleep whenever I'm going to bed.

Buzz Wire Alarm Clock

Screen8.gif
IMG_6354.JPG
IMG_6381-001.JPG
IMG_6367-001.JPG
IMG_6625-001.JPG
IMG_6357-001.JPG
I was inspired by some sort of a game that you need to focus and move a hook across a wire and not touch the wire ...

The Buzz Wire Alarm Clock shares exactly the same idea ...
  • First you set the time / screen brightness
  • You have a nice clock that even beeps every exact hour!
  • Then you set two alarms - Alarm 1 and Alarm 2 ON/OFF/Set time
  • Wait for the alarm to start beeping the buzzer and flashing the lights - Now you want to turn the alarm off
  • Get the hook and touch either end of the alarm stand
  • Carefully get the hook across the other end of the alarm stand without touching the wire - ALARM OFF :)
  • If you happen to touch the wire :( Now repeat again starting from either end of the alarm stand
As simple as that.
  • And what's more cool - you can customize the buzz wire to your own preferences - make it look like a roller coaster or maybe simple and with minimum bends.
  • You can also choose the hole diameter of the hook!
Below is the settings video:




Parts List

IMG_6575-002.JPG
IMG_6677-001.JPG
IMG_6674-001.JPG
To complete this instructable you will need:
  1. Arduino board (I used Arduino Uno, but similar would do ... Arduino Mega etc.)
  2. Arduino Prototyping shield OR any breadbord would do
  3. 4-digit 7-segment display - the one I used is from Adafruit (If you want to use my Arduino code, you will need the same display, but if you decide to connect 4 separate 7-segment displays ... then write your own code)
  4. Resistors - 5pcs, anything between 20 kOhm and 50 kOhm
  5. Button swithes - 3pcs
  6. Buzzer
  7. Wires
  8. Heat shrink tubing
  9. Cable shield
  10. Piece of foam - 10 x 3 x 3 cm (could use cardboard or wood)
  11. Sticky notes for decoration
Basic tools required:
  • Soldering iron & wire
  • Cable strippers/cutters
  • Lighter or heat gun

The Display

IMG_5858-001.JPG
IMG_5859-001.JPG
IMG_5861-001.JPG
IMG_5863-001.JPG
IMG_5862-001.JPG
Plug the 4-digit 7-segment display into the board using the correct orientation - the four lower dots are marked on the board.

Solder the 14 pins and trim the excess wires. 

Plug and solder the 4-pin header.

Arduino Hardware Set Up

Clock_bb.jpg
IMG_6559-001.JPG
IMG_6580-001.JPG
IMG_6577-001.JPG
IMG_6567-001.JPG
IMG_6571-001.JPG
I have not specifically shown the building process as it is very straight forward. Also, there is an unlimited number of ways you can put your components around just at your best convenience.

The pins as programmed are:

Analog:
  • A4 - Screen data
  • A5 - Screen Clock signal
Digital:
  • 2 - Buzzer (output)
  • 3 - LED set one (output)
  • 4 - LED set two (output)
  • 5 - Button switch for minutes (input)
  • 8 - Button switch for hours (input)
  • 10 - Button switch for settings/in/out (input)
  • 11 - One contact ring of alarm stand (input)
  • 12 - Other contact ring of alarm stand (input)
  • 13 - Buzz wire (input)
  • 14 - Used as ground

Arduino Software Set Up

Libraries.jpg
  • Download the Adafruit LED Backpack library from github
  • You'll also need to download the Adafruit GFX library that provides the graphics drawing routines, and must be installed!

    To download click the DOWNLOADS button in the top right corner, download, uncompress. The uncompressed folders Adafruit_LEDBackpack & Adafruit_GFX are what you need. Check that the Adafruit_LEDBackpack folder contains Adafruit_LEDBackpack.cpp and Adafruit_LEDBackpack.h Place the Adafruit_LEDBackpack & Adafruit_GFX library folders in your arduinosketchfolder/libraries/ folder. You may need to create the libraries subfolder if its your first library. 
*If you get stuck at some point here, do not hesistate to ask me.

I have uploaded a pic to show you the folder structure.

Coding

IMG_6359-001.JPG
Here is the developed version of the software that you should upload to the Arduino Uno.

It took me around a week to complete it.

You may notice some new functions like:
 
     matrix.writeDigitRaw(0,B01110111); //"A"     < This is the bit to the left
     matrix.writeDigitRaw(1,B00111000); //"l"      < This is the middle left bit
     matrix.writeDigitRaw(3,B11010000); //"r."     < This is the middle right bit
     matrix.writeDigitRaw(4,B00000000); //" "      < This is the bit to the right
     matrix.writeDisplay();                                         < This is needed to "put" your symbols to the display

This is all to do with the 4-digit display and the way that you write characters to it.
The above lines of code would mean that "Alr. " is written on the screen where "B11010000" is an 8-bit mask.

Program code:

Alarm Stand and Deactivation Circuit: Contact Rings

IMG_6296.JPG
IMG_6294-001.JPG
Clock.jpg
Clock1.jpg
Make two 1.5cm diameter rings from the cable shield. You can also make another one - the hook. We will need it later.

Solder a piece of cable on each ring insulating the solder joints with heat shrink tube.

Feed the cables through the styrofoam leaving the rings lay on top of the styrofoam.

Alarm Stand and Deactivation Circuit: Lights

IMG_6394.JPG
IMG_6286-001.JPG
IMG_6290-001.JPG
IMG_6293-001.JPG
RGB_LEDs.jpg
IMG_6324-001.JPG
IMG_6325-001.JPG
RGB_LEDs2.jpg
IMG_6404.JPG
IMG_6389-001.JPG
I have chosen 6 colourful LEDs for my project. When voltage is applied across the LED's terminals, it lights up in Red, Green and Blue at random.

  • Choose a number of LEDs that you wish to put around the styrofoam.
  • Group the LEDs to two distinctive groups - one for each contact ring.
  • Solder short cables to all LEDs' legs and feed the LEDs through the styrofoam.
  • Place the LEDs inside the contact rings.
  • Now solder each group's anodes (+) separately x3 and cathodes (-) all together x6.

Buzz Wire

IMG_6342-001.JPG
IMG_6331-001.JPG
IMG_6333-001.JPG
Buzz wire:
  • Use a piece of thick wire that is somewhat tough to bend.
  • Bend it in a shape that you prefer. If you want to wake up 100%,make it swirl round and round and round .... and so on.
  • Then solder a cable to one of the ends of your wire and insulate the connection.
  • Using heat shrink tubes insulate the end bits that stay in the styrofoam.

Buzz Hook

IMG_6346-001.JPG
IMG_6343-001.JPG
IMG_6344-001.JPG
IMG_6345-001.JPG
Make a hook from the cable shield and solder a 35-45cm long wire on its end. Vary the diameter of the ring depending on your preferences.

Insulate the connection with some heat shrink tube.

Alarm Stand and Deactivation Circuit: Assemble

IMG_6348-001.JPG
IMG_6350-001.JPG
IMG_6409.JPG
Feed the hook through the Buzz wire.

Feed the Buzz wire through the styrofoam where the contact rings are.

The last picture shows the LED's in action!

Get Creative

IMG_6600-001.JPG
IMG_6589-001.JPG
IMG_6597-001.JPG
IMG_6594-001.JPG
Make your display the colour you want it to be!

Use some sticky notes and cut a piece with the size of the display. Then simply stick the piece of note to the display.

Mounting Options

IMG_6682-001.JPG
IMG_6689-001.JPG
IMG_6686-001.JPG
IMG_6683-001.JPG
IMG_6691-001.JPG
IMG_6700-001.JPG
I have tried two mounting methods:

 - On my camera tripod
 - On the wall using a piece of cardboard

All you need is wire or cable ties and bluetag or similar stuff.

Buzz Wire Mod

IMG_6698-001.JPG
IMG_6715-003.JPG
Depending on how you personally feel it and the ability to focus in the morning, bend the buzz wire as you wish.

The trickier the bends swivel around - the more annoyed you are going to wake up! ........ be careful with that :D



TO DO

  • I will be adding code comments in a few days time.

Thanks for watching!