electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

RTC-DS1307 with 8051


Post new topic  Reply to topic    EDAboard.com Forum Index -> Embedded Systems and Real-Time OS -> RTC-DS1307 with 8051
Author Message
adhiteev



Joined: 06 Nov 2006
Posts: 7


Post02 Feb 2007 10:52   

ds1307 application


Hiii,
I am working on a board which has the RTC and working with AT89s52 chip. I downloaded some sample codes from the net for RTC but could get anyting which works.
have any of you come across any RTC code which works?

Thanks
Adhiteev
Back to top
techie



Joined: 05 Feb 2002
Posts: 850
Helped: 43
Location: Pakistan


Post02 Feb 2007 12:59   

ds1307 application note


For Ds1307, the exact code of 24C0x (the I2C eeprom) works perfectly. Both are I2C devices.
Back to top
IanP



Joined: 05 Oct 2004
Posts: 6490
Helped: 1542
Location: West Coast


Post02 Feb 2007 14:45   

ds1307 with 8051


Check out this application note:

"Interfacing the DS1307 with an 8051-Compatible Microcontroller"
http://www.maxim-ic.com/appnotes.cfm/appnote_number/95

Regards,
IanP
Back to top
NguyenHai



Joined: 18 Jan 2003
Posts: 51
Helped: 2


Post11 Feb 2007 3:05   

ds1307+8051


Hi,
I have program for read and write data to ds1307. Use keil complier.
Best regard.



Sorry, but you need login in to view this attachment

Back to top
H_D_R



Joined: 31 Jan 2008
Posts: 351
Helped: 18
Location: India


Post02 Feb 2008 9:48   

application note ds1307


NguyenHai wrote:
Hi,
I have program for read and write data to ds1307. Use keil complier.
Best regard.


Thank you so much NguyenHai..

but i want it in ASM language.

can you help me please...

Thanks again..
Back to top
Google
AdSense
Google Adsense




Post02 Feb 2008 9:48   

Ads




Back to top
aks_shre



Joined: 17 Jul 2009
Posts: 3
Location: kathmandu


Post14 Oct 2009 11:17   

Re: ds1307+8051


[what is XTAL for ds1307 in ur code.i think it is working but the time calculation is not exact.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Embedded Systems and Real-Time OS -> RTC-DS1307 with 8051
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
how will RTC (DS1307) Interfacing with 8051 source code in c (4)
DS1307 RTC with PIC16F877 (15)
need help with DS1307 RTC (6)
ATMEGA128 interface with DS1307 RTC (2)
Problem with RTC Chip DS1307 with PIC18F452 using Hi-Tech C (3)
RTC DS1307 Interfacing with MCU 89S52 (45)
interface 8051 with DS1307 (asm code) (3)
RTC ds1307 (70)
RTC INTERFACING WITH 8051 (3)
Questions about DS1307 RTC... (5)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS