Author |
Message |
Topic: another question on time project |
mcnscott2
Replies: 10
Views: 10124
|
Forum: General CCS C Discussion Posted: Sun Apr 15, 2007 11:47 am Subject: another question on time project |
John
Your note about the capacitor gave me an idea and I did a bit of research I aways put a .1uF cap between ground and an IC well you can't do this with the DS1307. When I turned the power off t ... |
Topic: another question on time project |
mcnscott2
Replies: 10
Views: 10124
|
Forum: General CCS C Discussion Posted: Sun Apr 15, 2007 9:12 am Subject: another question on time project |
The DS1307 keeps time good when the power is on for the entire circuit.
When I turn the power off the backup battery keeps the time the clock was at just when it was turned off. I have the program ... |
Topic: another question on time project |
mcnscott2
Replies: 10
Views: 10124
|
Forum: General CCS C Discussion Posted: Sun Apr 15, 2007 7:59 am Subject: another question on time project |
Thanks for your responses,
The battery I'm using is a 3 volt lithium battery, I've tested it and it's putting about about 2.8 volts right now, and it is keeping time great. |
Topic: another question on time project |
mcnscott2
Replies: 10
Views: 10124
|
Forum: General CCS C Discussion Posted: Sat Apr 14, 2007 8:12 pm Subject: another question on time project |
What I would really like to do is test this program on the MPLAB simulator, but I have no clue how I would even go about it. I've tried reading the manual and looking at the examples but they are som ... |
Topic: another question on time project |
mcnscott2
Replies: 10
Views: 10124
|
Forum: General CCS C Discussion Posted: Sat Apr 14, 2007 5:36 pm Subject: another question on time project |
hi John
here is the entire program code from Rentron's website
File name: SLED4C_1620a.c
Talking time & temp with display of time & temperature on the
SLED4C serial LED display ... |
Topic: another question on time project |
mcnscott2
Replies: 10
Views: 10124
|
Forum: General CCS C Discussion Posted: Sat Apr 14, 2007 1:28 pm Subject: another question on time project |
I'm trying to add on more stuff to the time and temp project. I've added a battery back up now, however when I turn the clock off and then on it stays at the same time. This happens because the init ... |
Topic: need a bit of help with this snippet of code |
mcnscott2
Replies: 10
Views: 9133
|
Forum: General CCS C Discussion Posted: Sun Apr 08, 2007 11:21 pm Subject: need a bit of help with this snippet of code |
I'll give it a try thanks !
well your code worked for me, but it had me perplexed because I was sure, I had tried that operator arrangement many times, I finally figured out the problem.
I was ... |
Topic: need a bit of help with this snippet of code |
mcnscott2
Replies: 10
Views: 9133
|
Forum: General CCS C Discussion Posted: Sun Apr 08, 2007 10:59 pm Subject: need a bit of help with this snippet of code |
I know the hex numbering looks strange but it's not hex really, I have to put in the decimall minutes I want for the function to work, instead of 1E it has to be 30, 45 instead of 2D etc. Here is th ... |
Topic: need a bit of help with this snippet of code |
mcnscott2
Replies: 10
Views: 9133
|
Forum: General CCS C Discussion Posted: Sun Apr 08, 2007 9:31 pm Subject: need a bit of help with this snippet of code |
I gave that a shot, and tried to change the false true statements in a couple places but nothing worked, still says time and temp on the quarter hour then never again, I changed my times though 30, 31 ... |
Topic: need a bit of help with this snippet of code |
mcnscott2
Replies: 10
Views: 9133
|
Forum: General CCS C Discussion Posted: Sun Apr 08, 2007 9:09 pm Subject: need a bit of help with this snippet of code |
I'll give that a shot anything is better than pulling my hair out |
Topic: need a bit of help with this snippet of code |
mcnscott2
Replies: 10
Views: 9133
|
Forum: General CCS C Discussion Posted: Sun Apr 08, 2007 8:36 pm Subject: need a bit of help with this snippet of code |
I'm still working on this time and temp clock, I'm trying to make it say the time and temp on the quarter hours now, so I've modified the code some. The problem I'm having is the program works when th ... |
Topic: question about time temp project |
mcnscott2
Replies: 6
Views: 8244
|
Forum: General CCS C Discussion Posted: Wed Apr 04, 2007 8:11 am Subject: question about time temp project |
Another question, following the link on the website PCM Programmer provided, they are using an MPX4115 and an eeprom to store the data, for my project adding a pressure sensor I don't need to keep th ... |
Topic: question about time temp project |
mcnscott2
Replies: 6
Views: 8244
|
Forum: General CCS C Discussion Posted: Mon Apr 02, 2007 11:02 pm Subject: question about time temp project |
Thanks for the tip! I'm looking at using the unused pins to make a barometer now for the circuit using the MPX4115 and the PIC's internal ADC to reference the supply voltage, thereby making the barom ... |
Topic: question about time temp project |
mcnscott2
Replies: 6
Views: 8244
|
Forum: General CCS C Discussion Posted: Mon Apr 02, 2007 8:49 am Subject: question about time temp project |
I've started looking at the DS 1 wire protocol, do you think it is possible to apply it to this setup? I'm already using RS-232 for the text-to-speech card, so I'm a bit confused how to use RS-232 fo ... |
Topic: question about time temp project |
mcnscott2
Replies: 6
Views: 8244
|
Forum: General CCS C Discussion Posted: Sun Apr 01, 2007 11:41 pm Subject: question about time temp project |
wonderful! Thanks a bunch PCM. I'll begin to analyze this and work to apply it into my project. |
|