real time clock DS1310

Status
Not open for further replies.

Tom2

Full Member level 5
Joined
Nov 11, 2006
Messages
318
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Visit site
Activity points
3,457
I am trying to use a real time clock (DS1310) , my problem is that i don't know how to connect it.

The PCB board it contain a ds1307 and a AT24C32 .


Is anyone who can help me ?
 

i bought something like this :

**broken link removed**

on the PCB exist ds1307 and AT24C32 ICS .

Thats why i don't know how to connected (because of the 2 ics )
 

Tom2,


Note that I2C protocol allow us employ multiple different devices at same bus with no need to perform some selection by hardware, due are adressable by firmware. Unless you intend to use just DS1307 and AT24C32, nothing else to do than just connect them to the board.


+++
 

If I remember correctly the DS1310/DS1311 is a 40-pin DIP socket with a few KB of nonvolatile SRAM and an RTC in the case of the DS1311.

The actual chips are the DS2413 in the case of the DS1310 and the DS2414 in the case of the DS1311.

The DS2413 and the DS2414 are special versions of the 1-wire DS2403 and DS2404, respectively.

Keep in mind the last time I came across a DS1310/DS1311 was about fifteen years ago, I managed to find the datasheets in a hardcopy of the Dallas Semiconductor Product Guide from the 90's.

I have no idea where you are coming up with the DS1310 part number, if it is actually a Dallas DS1310 I would opt for a more recent device.



The DS1307 and AT24C32, which Andre mentioned are I2C devices, largely different devices from the DS2413 or the DS2414, which were 1-wire devices.



What specific microcontroller are you attempting to interface with the DS1307 and AT24C32?



BigDog
 

I was thinking to use a dspic33 microcontroller , what do you think?
 

hello

on the PCB exist ds1307 and AT24C32 ICS

do you want to use the EEPROM 24C32 ?
if not, don't take care about ..
and only use adresse 0xD0 to write into DS1307 and 0xD1 to read it...

i use maybe the same breadboard
 

Attachments

  • DS1307_RTC.jpg
    46.9 KB · Views: 72

Yes paulfjujo,

it looks like is the same board. btw the supply is 3v and not 5

What i will gain if i use also the EEPROM 24C32 ??
 

hello,
Yes paulfjujo,it looks like is the same board. btw the supply is 3v and not 5 What i will gain if i use also the EEPROM 24C32 ??
Battery is 3V, but power supply for DS1307 must be 5V !The only advantage to use 2432 eeprom is to get extra eeprom area,but eeprom size is not very big..it's only depends of your application.In my app,i don't use it because allready 1k eeprominside Pic18f26k22.
 

Important notice:



Inside DS1307 there are avaliable some few R/W bytes which can be used for main program as dynamic memory storage.
Data will not be lost while RTC battery keep charged and connected.



+++
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…