Buzzer and led

Hi,
I just did digital clock watch using arduon Uno and display time and date in the LCD

How can I design buzzer and led for alarm clock

so i want to build alarm clock and set the time e.g. at8 clock ring and light

at 9 clock ring and light as well

This is my code for the clock

#include <Wire.h>
#include "RTClib.h"
#include <LiquidCrystal.h>

RTC_DS1307 RTC;
LiquidCrystal lcd (7, 8, 9, 10, 11, 12);

void setup () {
Serial.begin(9600);
lcd.begin(16, 2);
Wire.begin();
RTC.begin();

if (! RTC.isrunning()) {
Serial.println("RTC is NOT running!");
RTC.adjust(DateTime(F(DATE), F(TIME)));
}
}

void loop () {
DateTime now = RTC.now();

lcd.setCursor(0,0);
lcd.print("TIME: ");
lcd.print(now.hour(), DEC);
lcd.print(":");
lcd.print(now.minute(), DEC);
lcd.print(":");
lcd.print(now.second(), DEC);

lcd.setCursor(0,1);
lcd.print("DATE: ");
lcd.print(now.year(), DEC);
lcd.print("/");
lcd.print(now.month(), DEC);
lcd.print("/");
lcd.print(now.day(), DEC);

delay(1000);
}

You will need to give us the link for your "buzzer" before we can advise.

Please go back and modify your post to use "code" tags to mark up the code.

Hi,

This is the diagram which I did it and the buzzer which I'have and ive normal button to set the sec/min/hour.

Thank you

buzzer.jpg

Any help?

Maybe, if you fix the "code" tags.

read more on how to use time and to add and subtract time.
then you can put in lines like

if (the_time_it_is_now == the_alarm_time_setting)
digital write(buzzer, HIGH);

and add things like sleep
and duration of alarm

and if you like, start soft, then get louder after a minute.