CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 7 matches
CCS Forum Index
Author Message
  Topic: DS1307 to PIC18F452
Andrew

Replies: 14
Views: 26466

PostForum: General CCS C Discussion   Posted: Fri Aug 13, 2004 2:38 pm   Subject: DS1307 to PIC18F452
Alright so I got a simple interface to the DS1307 working. It reads the time from the DS1307 and relays it out the serial port to display the time in hyperterminal.
However, it seems like the initia ...
  Topic: What's a good software to design a circuit board?
Andrew

Replies: 35
Views: 43627

PostForum: General CCS C Discussion   Posted: Fri Aug 13, 2004 10:57 am   Subject: What's a good software to design a circuit board?
EAGLE from [url=http://www.cadsoftusa.com/]CadSoft, they've got a free version which you can use to create a double sided 100x80mm board.
  Topic: DS1307 to PIC18F452
Andrew

Replies: 14
Views: 26466

PostForum: General CCS C Discussion   Posted: Thu Aug 12, 2004 4:40 pm   Subject: DS1307 to PIC18F452
I never really used the EEPROM part of the code to do serious reading/writing, I just wrote a value to address 0x0000, verified that it read back correctly several times, and shifted my focus to the D ...
  Topic: DS1307 to PIC18F452
Andrew

Replies: 14
Views: 26466

PostForum: General CCS C Discussion   Posted: Thu Aug 12, 2004 3:29 pm   Subject: DS1307 to PIC18F452
Alright thinking along the lines of the write command not being acknowledged, I modified the read_rtc() to wait for an ack...


unsigned int read_rtc(unsigned int adr)
{
unsigned ...
  Topic: DS1307 to PIC18F452
Andrew

Replies: 14
Views: 26466

PostForum: General CCS C Discussion   Posted: Thu Aug 12, 2004 3:05 pm   Subject: DS1307 to PIC18F452
Mark:
The DS1307 (along with everything else) is being run at 5V.
Following your post, I grounded the Vbat pin just to be sure the DS1307 wasn't switching over to battery power and disallowing acces ...
  Topic: DS1307 to PIC18F452
Andrew

Replies: 14
Views: 26466

PostForum: General CCS C Discussion   Posted: Thu Aug 12, 2004 2:43 pm   Subject: DS1307 to PIC18F452
I've decided to keep the EEPROM out of its socket for now and focus solely on getting the RTC to interface correctly. The EEPROM did, however, function as expected (with or without the DS1307 on the ...
  Topic: DS1307 to PIC18F452
Andrew

Replies: 14
Views: 26466

PostForum: General CCS C Discussion   Posted: Thu Aug 12, 2004 2:08 pm   Subject: DS1307 to PIC18F452
Hello

I'm going to be using a real-time clock in a project and the DS1307 RTC looked to be the best one. I can't seem to read from or write to it very reliably though.
My test program is set up t ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group