kiran20
Posts: 4
Joined: Fri Sep 18, 2015 3:28 pm

Trouble with I2C tsl45315

Fri Sep 18, 2015 3:37 pm

Hallo,

i had a trouble while connecting multiple TSL45315 light sensors. When i did
i2cdetect -y 1
to check the devices connected, i can only see one device address even though there is multiple devices. i removed each device and checked the address, but it shows 0x29 even it is connected with mulitple or single device.

Hope you understand the problem.

Thanks in advance....

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13142
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Trouble with I2C tsl45315

Fri Sep 18, 2015 5:24 pm

You can only use one TSL45315 on any I2S bus, as the address of the device cannot be changed.

kiran20
Posts: 4
Joined: Fri Sep 18, 2015 3:28 pm

Re: Trouble with I2C tsl45315

Wed Sep 23, 2015 9:21 am

okay, thanks for information...But in some tutorials i saw they using multiple TSL2561!..how its possible in the other sensor and not in tsl45315??

Massi
Posts: 1691
Joined: Fri May 02, 2014 1:52 pm
Location: Italy

Re: Trouble with I2C tsl45315

Wed Sep 23, 2015 9:52 am

kiran20 wrote:okay, thanks for information...But in some tutorials i saw they using multiple TSL2561!..how its possible in the other sensor and not in tsl45315??
look at sensors datasheet.
the datasheet of the TSL45315 tells you that the sensor has a fixed i2c address.
the datasheet of the TSL2561 tells you that the sensor can be set to three different i2c addresses, so three sensors can be used on the same i2c bus

kiran20
Posts: 4
Joined: Fri Sep 18, 2015 3:28 pm

Re: Trouble with I2C tsl45315

Tue Sep 29, 2015 1:46 pm

Thanks for the information!!

Return to “Beginners”