pic16f877a interface with real time clock

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

pic16f877a interface with real time clock

Postby IsaacChuah90 » Mon Jun 06, 2011 7:53 pm

can i use real time clock this component with pic16f877a?because i'm doing the alarm clock.can this used to keep track of the current time?i'm new to pic16f877a...thx...
IsaacChuah90
Apprentice
 
Posts: 52
Joined: Mon Jun 06, 2011 7:35 pm

Re: pic16f877a interface with real time clock

Postby shahrul » Tue Jun 07, 2011 3:20 am

This I2C Lesson will help you.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: pic16f877a interface with real time clock

Postby ober » Tue Jun 07, 2011 9:19 am

Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: pic16f877a interface with real time clock

Postby IsaacChuah90 » Tue Jun 07, 2011 10:54 am

I have watched the video.Both of the video also using DS1307 real time clock chip.It is also capable with P1C6F877A right?In the video the real time clock chip is interface with PIC16F876A.
IsaacChuah90
Apprentice
 
Posts: 52
Joined: Mon Jun 06, 2011 7:35 pm

Re: pic16f877a interface with real time clock

Postby Brian Griffin » Tue Jun 07, 2011 7:22 pm

IsaacChuah90 WROTE:I have watched the video.Both of the video also using DS1307 real time clock chip.It is also capable with P1C6F877A right?In the video the real time clock chip is interface with PIC16F876A.


You need to change a bit of the coding, especially the port pins and some other things inside.
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool
User avatar
Brian Griffin
Enthusiast
 
Posts: 403
Joined: Mon Jan 17, 2011 9:36 am

Re: pic16f877a interface with real time clock

Postby robosang » Tue Jun 07, 2011 9:22 pm

IsaacChuah90 WROTE:I have watched the video.Both of the video also using DS1307 real time clock chip.It is also capable with P1C6F877A right?In the video the real time clock chip is interface with PIC16F876A.


Any microcontroller with I2C feature can communicate with DS1307, some even use software I2C to do it.

You really need to understand the feature first, the technical magic behind the interface.... it is useless if you are asking can or cannot do it, sooner or later, you will be asking the same question, can I do this, can I do that, how? You see what I mean?
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: pic16f877a interface with real time clock

Postby IsaacChuah90 » Wed Jun 08, 2011 3:52 pm

ya.I get what you mean.thanks a lot guys.
IsaacChuah90
Apprentice
 
Posts: 52
Joined: Mon Jun 06, 2011 7:35 pm


Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 6 guests