Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Connection between PIC16f877 and PCF8583

Status
Not open for further replies.

handsprince

Member level 2
Joined
Feb 7, 2006
Messages
43
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,583
anyone can provide me the connection between PIC16f877 and pcf8583??
 

Re: Pcf8583 connection

hi handsprince
any pins of microcontroller can be used.
for application information you can refer to philips application note for RTC PCF8563-73-83-93.
i attached it's connection. rp=10 K ohm.
and you can use super cap. (0.1-0.47 F/5.5V ) to maintain it running in time of power failure.

Regards,
Davood.
 

Re: Pcf8583 connection

For PIC16F877 and RTC PCF8583 connections see picture below ..

In that diagram an external oscillator of 32.768kHz is used with PCF8583.

But in the datasheet it says

The built-in 32.768 kHz oscillator circuit and the first
8 bytes of the RAM are used for the clock/calendar and
counter functions.

I'm confused with this and can anybody please explain.

Further my design is to get the time once a second and transmit it to a PC via PIC16F877A with other data of my sensors. I hope I can use "Counter function modes" for that purpose. I'll be very grateful if u can sent me the proper connection diagram as i dont hav any understanding about the calculation of values of capacitors and resistors used here. Thanks
 

Re: Pcf8583 connection

Hi,

Like Davood Amerion says, you can use most any pins of the CPU. BUT, if you choose ones with an internal weak pullup (and enable those weak pullups), you'd require 2 components less, and make your PCB that much simpler.

Regards,

Anand Dhuru
 

Re: Pcf8583 connection

Thanks Anand Dhuru. But I want to know whether I have to connect an external oscillator too. If we have to, how to calculate the frequency of the oscillator?
 

Re: Pcf8583 connection

In that diagram an external oscillator of 32.768kHz is used with PCF8583.
I can't see an external oscillator. There's just a crystal. Some RTC devices have a built-in crystal, e.g. from Epson. For NXP PCF8583
or DS1307, you have to add it externally. Only the oscillator circuit is provided by the RTC device.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top