Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 7th March 2007, 01:11 PM   (permalink)
Default ds12887 interfacing with at89c51

hi,
i'm doing a project to display the temperature using lm35,adc0804 on an lcd.
now i also want to display the time on the second line of lcd using ds12887(or any other rtc),i would like to know how to interface it since it is considered as external memory. rest of my code is in C.
thank u.
kiranmayi is offline  
Old 12th March 2007, 10:05 AM   (permalink)
Default

can anyone provide links for real time clock interfacing to 89c51 microcontroller?
kiranmayi is offline  
Old 12th March 2007, 02:42 PM   (permalink)
Default

i did many clocks using 8051 µCs.. well you simple start with an arbitrary delay, let the watch run for a hour or tow, claculate the error, and adjust your delay in the code.. i did it 3 times before my clock was working perfectly.

note, the higher the value of the crystal you'r using, the better precision you'll get...

i have a C code, where i use those those software delays... (but it's messy! do you still want it? )

as far as i am learning, to perform RealTime as it is sayed in the books, you'll have to program it is asm, and calculate the time it takes to execute every single instructions.. (maybe Kyle can do that?)
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline  
Old 12th March 2007, 05:58 PM   (permalink)
Default

instead of using a software delay i would want to use a real time clock.so i would like to know about interfacing ds12887 to at89c51.
kiranmayi is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
i am big need of interfacing I2C eeprom with AT89C51 pradeepubbala Micro Controllers 1 22nd August 2008 06:42 AM
interfacing AT89C51 with DOT MATRIX PRINTER kishore_calm Micro Controllers 5 28th February 2007 06:31 PM
Help : Interfacing AT89C51 With AT24CXX EEPROM MjWasHere Electronic Projects Design/Ideas/Reviews 3 17th August 2006 07:16 PM
help on interfacing stepper motor to AT89C51 crazytwism Electronic Projects Design/Ideas/Reviews 1 21st March 2005 09:28 AM
interfacing Atmel Microcontroller AT89C51 with LM75 umar abdul sattar Micro Controllers 0 28th June 2003 06:27 AM



All times are GMT. The time now is 06:21 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker