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

Tue Jan 14 2020, 07:08 AM
shubham kharade
when i am trying to simulate the program in Proteus 8 professional, I am getting some errors as cannot find module file dhtxx.md can u help me
Tue Dec 17 2019, 01:44 PM
Devangi
hello..i am programming industrial timer using 8051 with 24lc64 eeprom. i have query in storing the 3 diff value in eeprom with enter button. can anyone share c code ?
Tue Dec 17 2019, 10:30 AM
Andrius
Hello. Can anyone share the code in Bascon and scheme in Proteus?
Thu Nov 21 2019, 12:30 PM
raj2555
how to interface 8051 microcontroller with NRF24L01+ module
ExperimenterUK
Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
Nathaniel
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Thank you for your time,
ExperimenterUK
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 04:33 PM
Ismail balghmi
Hello. Please I won't download

Downloads

Comments

usb5962
Sat Jan 11 2020, 10:42 AM
elt
Tue Jan 07 2020, 06:53 PM
mg3914697
Tue Jan 07 2020, 12:42 PM
afds43
Sun Dec 29 2019, 05:54 AM
Rupeshpatil
Fri Dec 27 2019, 06:14 PM
pyxus
Sat Dec 14 2019, 12:31 PM
Istika
Thu Dec 12 2019, 12:04 PM
nabiha_anaya
Sun Dec 08 2019, 09:16 AM

Online

Guests: 42, Members: 0 ...

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

Members: 38115
Newest member: usb5962
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jan 17 2020, 10:24 PM
We will need the circuit diagram.A Proteus simulat...
Billz Avatar
Posted By Billz
Sat Jan 11 2020, 05:43 PM
hi everyone please attached files are my c code fo...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Jan 07 2020, 08:18 PM
Not a stupid question.Setting up "Eclipse" can be...
elt Avatar
Posted By elt
Tue Jan 07 2020, 07:06 PM
So i have just began learning programming micros a...
Billz Avatar
Posted By Billz
Mon Jan 06 2020, 09:22 PM
I think it would be better if you guys try to come...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Jan 06 2020, 12:22 AM
Can you post a circuit diagram and any code you ha...
Billz Avatar
Posted By Billz
Sun Jan 05 2020, 08:17 PM
Need help regarding C code (specifically for PIC 1...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Dec 30 2019, 06:42 PM
Can you give more details of your problem.
Rupeshpatil Avatar
Posted By Rupeshpatil
Fri Dec 27 2019, 06:21 PM
How to copy program my old microcontroller to new ...
ilylily07 Avatar
Posted By ilylily07
Thu Dec 12 2019, 02:26 PM
wil do.thank you for your advice!