Author |
Message |
Topic: Need help with pcf8583 program |
Curtisbeef
Replies: 21
Views: 15821
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 6:10 pm Subject: Need help with pcf8583 program |
Got it working again but still getting the same old values. |
Topic: Need help with pcf8583 program |
Curtisbeef
Replies: 21
Views: 15821
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 6:03 pm Subject: Need help with pcf8583 program |
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? |
Topic: Need help with pcf8583 program |
Curtisbeef
Replies: 21
Views: 15821
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 2:38 pm Subject: Need help with pcf8583 program |
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
... |
Topic: Need help with pcf8583 program |
Curtisbeef
Replies: 21
Views: 15821
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 12:32 pm Subject: Need help with pcf8583 program |
I just tried your exact code and all im getting is this
255 45 165 165 45 25 \0A\0D
255 45 165 165 45 25 \0A\0D ... |
Topic: Need help with pcf8583 program |
Curtisbeef
Replies: 21
Views: 15821
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 12:24 pm Subject: Need help with pcf8583 program |
CCS PCH C Compiler, Version 4.057, 5565
i have tripple checked the hardware not sure whats going on |
Topic: Need help with pcf8583 program |
Curtisbeef
Replies: 21
Views: 15821
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 11:57 am Subject: Need help with pcf8583 program |
just got my serial port hooked up and im getting the same old values throught it
Year = 255
Hours = 1
Minutes = 14
Seconds = 15
Day = 110
Month = 0 |
Topic: Need help with pcf8583 program |
Curtisbeef
Replies: 21
Views: 15821
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 1:16 am Subject: Need help with pcf8583 program |
Yup i have them all enabled
also im going to be going a different route than the max232 i have a bunch of DS275 gonna use one of those |
Topic: Need help with pcf8583 program |
Curtisbeef
Replies: 21
Views: 15821
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 12:01 am Subject: Need help with pcf8583 program |
hmm its still not working. still getting same values
I changed my the Pins over to E1 and E2 im using D for the LCD
I know my PCF8583 is wired correctly i have this board and everything is pre w ... |
Topic: Need help with pcf8583 program |
Curtisbeef
Replies: 21
Views: 15821
|
Forum: General CCS C Discussion Posted: Mon Apr 14, 2008 11:01 pm Subject: Need help with pcf8583 program |
Thanks alot
I was wondering do you know of the simplest implementation of USB to virtual RS232? Because deluging stuff with a LCD is a pain in the [spam] i tried using the examples included with ... |
Topic: Need help with pcf8583 program |
Curtisbeef
Replies: 21
Views: 15821
|
Forum: General CCS C Discussion Posted: Mon Apr 14, 2008 8:01 pm Subject: Need help with pcf8583 program |
Im using basically a unmodified copy of the standard Microchip USB bootloader made for the 4550
Displaying normal text on a LCD works fine so i know thats working... |
Topic: Need help with pcf8583 program |
Curtisbeef
Replies: 21
Views: 15821
|
Forum: General CCS C Discussion Posted: Mon Apr 14, 2008 6:33 pm Subject: Need help with pcf8583 program |
1. I have the pull-up resistors im using this board http://www.futurlec.com/Mini_PCF8583.shtml
2. I set my time using the code in the driver example but i don't really have a way to check that its ... |
Topic: Need help with pcf8583 program |
Curtisbeef
Replies: 21
Views: 15821
|
Forum: General CCS C Discussion Posted: Mon Apr 14, 2008 12:42 am Subject: Need help with pcf8583 program |
Hi I seem to be having some trouble with this code i'm getting weird values on my LCD screen and there always the same values.
Here are the values i always get out
Year = 255
Hours = 1
Minutes ... |
|