View previous topic :: View next topic |
Author |
Message |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Apr 16, 2008 1:02 pm |
|
|
I installed vs. 4.057 and moved SDA and SCL to pins E1 and E2.
It worked.
I just did a few tests. If you do any of the following things wrong,
you will get the output shown below:
1. Swap the SDA and SCL wires, so that SDA goes to SCL by mistake.
2. Forget to install either (or both) of the pull-up resistors.
3. Forget to connect the Vdd pin of the PCF8583 to +5v.
4. Connect pin A0 on the PCF8583 to a high logic level.
5. PCF8583 chip not installed at all.
Here is the bad output:
Quote: |
255 45 165 165 45 25
255 45 165 165 45 25
255 45 165 165 45 25
255 45 165 165 45 25
255 45 165 165 45 25
255 45 165 165 45 25
|
At this point, I don't think there is any more I can do. It's up to you
to find the hardware problem. When you do, it will start working. |
|
|
SET
Joined: 15 Nov 2005 Posts: 161 Location: Glasgow, UK
|
|
Posted: Wed Apr 16, 2008 1:18 pm |
|
|
Add to that list:
Futurelec board should be set to RTC mode, not Counter - Im sure you checked this but as well to check everything! |
|
|
Curtisbeef
Joined: 13 Apr 2008 Posts: 12
|
|
Posted: Wed Apr 16, 2008 2:38 pm |
|
|
1. Tried and also double check to make sure its correct
2. Resistors are installed and enabled
3. Vdd is connected to 5V
4. Connected pin A0 to 5V still nothing
5. PCF8583 chip is installed
still dont know whats up i saw that the A0 was unconnected and connected it to 5v i was sure that would be the end to all these problems but still getting nothing |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Apr 16, 2008 2:45 pm |
|
|
Quote: | A0 was unconnected and connected it to 5v |
My post was a list of things not to do.
Please disconnect pin A0 (on the PCF8583) from +5v.
It should be connected to Ground. |
|
|
Curtisbeef
Joined: 13 Apr 2008 Posts: 12
|
|
Posted: Wed Apr 16, 2008 6:03 pm |
|
|
ok its connected to ground but now that i had it connected to 5v and changed it back it doesnt work anymore i get no values at all could i have burnt it out by connecting 5V to that? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Apr 16, 2008 6:08 pm |
|
|
Connecting the A0 pin of the pcf8583 to +5v won't hurt the chip.
The A0 pin is pin 3 of the PCF8583.
If you slipped and touched +5v to another pin, then maybe it
damaged the chip. |
|
|
Curtisbeef
Joined: 13 Apr 2008 Posts: 12
|
|
Posted: Wed Apr 16, 2008 6:10 pm |
|
|
Got it working again but still getting the same old values. |
|
|
|