TSL2561 and DS1307

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
daz1761
 
Posts: 130
Joined: Sun Mar 24, 2013 1:52 pm

TSL2561 and DS1307

Post by daz1761 »

I need some advice on connecting a TSL2561 and DS1307 simultaneously. It states I need to remove the pull-up resistors on the DS1307. Luckily, I have one DS1307 brand new that has not been assembled, so will it be okay to build it up without the pull up resistors, sync the time and date using the RTClib sketch from the computer. Then combine it with the TSL2561 and other components, or combine them both when running the same RTClib sketch? Its just that if the pull-up resistors on the DS1307 are not required I'd rather keep the board clean and free from solder where they would normally be placed.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: TSL2561 and DS1307

Post by adafruit_support_bill »

Both of these devices will be sharing the I2C bus. In most cases, you only need one set of pullups on the bus. The TSL2561 has pullup resistors to 3.3v. This is high enough to register and logic HIGH on most 5v devices like the DS1307.

daz1761
 
Posts: 130
Joined: Sun Mar 24, 2013 1:52 pm

Re: TSL2561 and DS1307

Post by daz1761 »

Thanks, so I will build the DS1307 up with no pull-ups, but make sure the TSL2561 is always connected on the same bus in order for its 3v pull-ups to do the job of the vacant ones on the DS1307.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: TSL2561 and DS1307

Post by adafruit_support_bill »

That should do it!

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”