Discussion in "Project Help" started by    venkat    Jun 22, 2007.
Fri Jun 22 2007, 06:28 AM
#1
hai friends,
please send me the schematic and c code to inteface the 12c887 rtc with at89c51ed2 mcu, waiting in anticipation
Tags interfacing 12C887 RTCinterfacing 12C887 RTC with 8051RTC interfacing
Fri Jun 22 2007, 08:10 AM
#2
I think one thread is already open for this discussion. Please do not make duplicate posts..
and make a schematic yourself i have also given you the pin configuration, if there is any error in the schematic i will help you correcting it.
and as it is memory mapped so you can simply read and write as you write in a memory location. first you finish your schematic then i will help you.

Note: Please do not create duplicate posts. If you have already opened a discussion with similar topic, its better to continue in the same thread Try not to mess up the forum.
Thanks!
Rickey's World
Fri Jun 22 2007, 08:57 AM
#3
Do you have assembly code for that?
Fri Jun 22 2007, 02:35 PM
#4
i said.. write the code if you get error i will help you removing it why you all want ready made things
Mon Jun 25 2007, 08:25 AM
#5
sir, Thank you for your replies,
I have already tried the circuit for dispalying the time on hyperterminal. I am getting the time which is not updating, for the first time i run the project i am getting whatever the time i have set without updating. if i switch off and on the controller i get another time which is still not updating. Even after i remove the rtc (i.e., po) iam still getting the un-updated time, in this case there is no connection between the rtc registers and the microcontroller. what could be wrong?
Mon Jun 25 2007, 09:10 AM
#6
no.. it could be cause.. you did not activate the oscillator. so clock is kind of halted.
see page 11 for more information on turning the oscillator on. :-)
Sat Jul 14 2007, 09:09 AM
#7
please refer "The 8051 microcontroller and Embedded System" By Mazidi." it has a very good tutorial for interface with 12c887 RTC
i have make a project using this with asm and working fine

note: before using the RTC u must enable the internal osc by proper configuration
Sat Jul 14 2007, 09:44 AM
#8
I told him to read page 11 and after that i am sure he will get the output.. coz he already made everything just for got to enable oscillator
Tue Jul 17 2007, 10:42 AM
#9
sir, I have enabled the oscillator, and used the attached code to read the initialized data and the updated clock. I am not getting the updated time. plz help me to debug.
Tue Jul 17 2007, 12:49 PM
#10
then post your work so that we can help u to find out the problem

Get Social

Information

Powered by e107 Forum System

Conversation

Thu Jun 11 2020, 06:27 AM
anudee
sir could please send the code for I2C and wifi interfacing with 8051
scena
Tue May 19 2020, 10:29 PM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sat May 02 2020, 07:38 PM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks
Wed Mar 25 2020, 01:39 PM
Tajammul
Sir kindly send the code file i2c for 8051
ExperimenterUK
Fri Mar 13 2020, 10:36 PM
@ Rohitnani,ABEBE..which project ?

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 107, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123