View previous topic :: View next topic |
Author |
Message |
ziko89
Joined: 25 Apr 2012 Posts: 2
|
Problem PIC 16F877 and PCF8583 |
Posted: Wed Apr 25, 2012 10:55 am |
|
|
hi
I have a problem using PCF8583. I don't understand how to extract data from the PCF and use it in the 16F877. I tried but I can't do it. Please help me. I've copy the driver that I've found here http://www.ccsinfo.com/forum/viewtopic.php?t=27988
but I can't use the data extracted from the PCF. My goal is to output the date and time on led Matrix.
Please help. |
|
|
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
|
Posted: Wed Apr 25, 2012 11:38 am |
|
|
Hi,
Your post is very ambiguous. Do you mean you can't run the code supplied by PCM programmer in the link you provided, or that you can run that code, you just can't display it to your LED matrix?
John |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Apr 25, 2012 3:18 pm |
|
|
1. Post the part number of your LED matrix.
2. Post a schematic of your design, showing the PIC and the LED matrix
and all required circuits. Use a free image hosting service such as
http://www.imageshack.us (or a similar service) and post the link to your
schematic here.
3. Tell us if you can make the PCF8583 driver work OK with RS-232
output displayed on a Terminal window in your PC. In other words,
get the PCF8583 driver working first. Next, get the LED matrix working
by itself, with just a simple "1234" displayed on it. Finally, combine the
PCF8583 code with the LED matrix code and try to make them work
together. Solve the problem in small steps. |
|
|
ziko89
Joined: 25 Apr 2012 Posts: 2
|
|
Posted: Wed Apr 25, 2012 3:45 pm |
|
|
i can't make the PCF 8583 work |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Apr 25, 2012 3:51 pm |
|
|
Are you trying to make it work with RS-232 output going to a Terminal
window on your PC ? That's what I suggested to do first. |
|
|
|