Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

need some rtc based on 8051 with alarms code

Status
Not open for further replies.

engraxate

Member level 3
Joined
Sep 2, 2001
Messages
63
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
376
need some rtc based on 8051 with alarms code or any help how to do that.
I have to do this using assembler. I can't use c or basic :(
 

S

sick_man

Guest
to make an rtc in an 8051

like any cpu you can use several technique

software rtc are tricky the mellenium bug proves this one
so you need too use timers and wasted timing cycles get added back on again too keep actual time

the timer events drive the actual count and any correction is added
before the time is called and the dat used or stored passed or updated

too do this you use timer based interupts
i found a page of source code onthe net with lots of projects

http://www.iguanalabs.com/library.htm


dont know if there is any use here

proteus vsm samples also has a clock design using an 8051 in asm

so perhaps you can mod this too suite
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top