free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
mov

doubt in rtc
actually you did not edited the code properly.
you removed many things which were necessary for the clock. I am giving you one example...
In your code above there is a mistake..
CODE:
done:
mov sec,#00h ;For more information about the RTC DS1307
mov min,#0h ;Please refer to the datasheet
mov hour,#51h ;21h for 24 hour format
mov days,#01h
mov date,#1h
mov month,#1h
mov year,#05h
;;;LINE MISSING;;;
...[more]
mov   rtc   r7   r6   wave generator   
Posted by Ajay Bhargav on Sunday 29 April 2007 - 12:29:48

HOW TO SET 5 DIFFERNET ALARMS IN THE DIGITAL CLOCK PGM
In the display RTC routine i am checking for the Alarm
CODE:

PASS:   inc r1
        mov a,#0C7h
        acall command
        mov a,@r1
        mov 51h,@r1
        mov alarm_chk_min,@r1
        acall disp_val
PASS1:  inc r1
        mov a,#0c4h
  ...[more]
r1   mov   setb   chk   
Posted by Ajay Bhargav on Friday 27 April 2007 - 00:07:48

HOW TO SET 5 DIFFERNET ALARMS IN THE DIGITAL CLOCK PGM
setting alarm, this is just an example...

eg you create two variables, alarm_hr and alarm_min
alarm_hr will have the address where hr of the alarm is going to be stored and alarm_min will have the address where min of the alarm is going to be stored, so before calling the alarm set routine, you fill these variables with the addresses, where you want to store the alram.
say...
for alarm 1: hr is store...[more]
24h   variables   alarm time   time is going   mov   
Posted by Ajay Bhargav on Sunday 22 April 2007 - 07:28:28



Facebook Fans


Google Search for Microcontrollers!

Google
 

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems