Go Down

Topic: Please need help on complex alarm-clock project!! (Read 783 times) previous topic - next topic

People If you really know how to use an arduino please help!!!I need to design an alarm clock that at 10:00am will go on. When it goes on i need to somehow start music(airplane sounds if possible), LED lighs going on and off continiously, and also a small motor to go clockwise continously until the alarm goes off.

PaulS

First, how is the Arduino supposed to know the time? Do you have an RTC?

Second, what do you have attached to the Arduino to make noise? By itself, the Arduino is very quiet.

Blinking LEDs is trivial, but do not even think of using delay().

Turning a motor on is trivial, if you have the proper shield.

What is supposed to stop the alarm?


modeller


People If you really know how to use an arduino please help!!!I need to design an alarm clock that at 10:00am will go on. When it goes on i need to somehow start music(airplane sounds if possible), LED lighs going on and off continiously, and also a small motor to go clockwise continously until the alarm goes off.


What code have you written for it so far?

MaJiG

The Arduino is not really sited for keeping time over a long period, thus I would suggest that you use a Real Time Clock (RTC) module, such as this one:https://www.sparkfun.com/products/99

The rest is fairly straightforward.  Search the forums for debounced switches, LED control, and DC motor control.

Good luck!

Thanks a million everybody for answering so far!!!
Ok so first ,honestly i am a beginner to arduino so i havent started the project. I am willing to buy other parts if i have to but i dont know what is needed for the project nor the codes but you can find those on the website. Please inform me on the parts i need for lights, music, motor, and alarm-clock, how to set them up. At least point me in the right direction.

My respects
R.P

Erdin

The most common RTC (clock) is DS1307.
http://learn.adafruit.com/ds1307-real-time-clock-breakout-board-kit
The link by MaJiG to the Sparkfun website is the same DS1307.

An alarm clock, you mean a display ? Like a red led 7 segment display ?
http://learn.adafruit.com/adafruit-led-backpack/0-dot-56-seven-segment-backpack

Music is something that can be very simple and very hard.
Perhaps a Wave Shield, http://www.adafruit.com/products/94
Or using the Arduino itself with the Mozzi library, http://sensorium.github.com/Mozzi/
Here is a page with all sorts of synths, http://playground.arduino.cc/Main/ArduinoSynth

A small motor to go clockwise ? A normal DC motor, a servo, a stepper motor. What is it for ?

Thanks Erdin for the help. 
Please advise me on my project, so i have to create an alarm that will go off at a certain time and start a motor that rotates continously connected to an airplane model made of styrofoam. Also, when the alarm goes on it has to start music(United States Anthem, and/or airplane sounds if possible), as well as, start flashing LED lights on and off that will be connected to the airplane.
Please help.
Thanks again.
R.P

Go Up