Search Engine www.edaboard.com

ds1307 Interfacing With 8051

Add Question

20 Threads found on edaboard.com: ds1307 Interfacing With 8051
Hello friends, I am interfacing ds1307 with 8051, i have written code in KEIL overall working fine :-D except reading date & time :sad: please guide me finding the bug. I am able to receive only 1 byte of data. why? I am attaching my keil project with proteus simulation. Please help
Hello All, I'm interfacing ds1307 RTC with 8051 using proteus simulator , I have written the code and the seconds part is working fine but the hour and minutes are showing as 0 and is not getting updated . I believe there's some timing issue or the ds1307 register is not getting updated (...)
when compiling this code it will give warning c(2): warning C318: can't open file 'ds1307.h' is this a problem??how to solve it Yes, it is a problem. If the ds1307.h header file is located with the other C source files of your project, you may have to change the <> to "" as such: #include
hello, wich kind of RTC DS1302 SPi ds1307 I2C other ? LCD 4bits 2x16 , 4x20 ? direct or trough I2C ? so with 2 wires SDA,SCL you can drive LCD,EEPROM,RTC
how do i write on a i2c bus as well as read data from a I2C. i want to read and write data from the ds1307 ic. and i want to know how do i code it in c to interface it. See some examples: Real Time Clock interfacing (ds1307) with AT89S51
Hi friends, Am posting the code this code am getting a problem that clock runs quickly without going accordingly with our real time clock please help me out please..... Thanks in advance #include sbit set=P1^2; sbit mov=P1^3; sbit inc=P1^4; sbit dec=P3^7; sbit ent=P3^6; void all_disp(); void time_set(); #define
CAN ANYONE HELP ME IN interfacing RTC ds1307 with 8051 MICROCONTROLER:PROGRAM THAT should turn on AN LED WHEN TIME IS 6pm and it turns off led when time is 6am.
You coding error... here I have tested this one, it works except for the am/pm display on LCD... Best Regards, waqas
Hi friends, I am doing a Digital Clock using RTC ds1307 and 89C4051 micro controller. Time is displayed on LCD and different alarms can be set through 3 switches. I have written the following code for updating RTC registers first time. Only minutes code is shown //Minutes min++; if((min>15)&&(min<20)) { onmin=min+6; } else i
hi, i have build my own program (interfacing 8051 with ds1307) but i want to do this steps: lets say that the day now is 21/5/2011 so i want from ds1307 to get the micro controller a pulse output from rtc after 3 days i.e: at day 24 i want to get pulse from rtc how can i do it using square output pin in (...)
Check out this application note: "interfacing the ds1307 with an 8051-Compatible Microcontroller" interfacing the ds1307 with an 8051-Compatible Microcontroller - Maxim IanP :wink:
hi people, i really need rtc c code to interface ds1307 with freescale 20-bit microcontroller mc9s08sh8.the code can be analogous to interfacing with normal 8051 controller..i'll make the necesarry changes..pls reply soon..its urgent.. Thanking u in advance. Pratik Shah
Hello Ram, Hav a luk at the attachment. This code is written for 89c51(interfacing 89c51 with RTC ds1307 using I2C communication) Hope this will help yu. Feel free to contact me if yu have any queries regarding this. Best Regards, Viswanath.
I AM WORKING with ds1307 TO GENERATE AN ALARM .I JUST WANTED TO WRITE THE DATA TO AND TO READ THE DATA FROM ds1307 .I TRIED TO WRITE THE DATA TO GENERATE A SQUARE WAVE BUT I AM NOT ABLE TO WRITE AND HAVING SAME PROBLEM FOR READING THE DATA
This will be a good starting point: 8051 Projects Digital clock using ds1307 Source Code in C Rgds, IanP
The following application note from MAXIM explains in details how to connect the ds1307 to 8051-derivatve including an example of asm code .. "interfacing the ds1307 with an 8051-Compatible Microcontroller" Regards, IanP
For ds1307, the exact code of 24C0x (the I2C eeprom) works perfectly. Both are I2C devices.
Please also check this: ds1307 RTC and p89v51rd2 with C.
I am sure, here is interfacing RTC (ds1307) with 8051 Link:
I use ds1307 as RTC intercing with 8051.