Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

USING TCS34725 WITH TCA9548A, UNABLE TO SET INTERRUPT TO TRU
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

USING TCS34725 WITH TCA9548A, UNABLE TO SET INTERRUPT TO TRU

by pvvdprasad on Tue Mar 31, 2020 2:00 pm

Hi,

I am working with TCS34725 color sensor and TCA9548A multiplexer, need to set interrupt to true to turn off the LED light, i had connected the LED and INT using jumper wires. I am using adafruit-circuitpython-tca9548a and adafruit-circuitpython-tcs34725 libraries with raspberry pi. Firstly, is it possible with these libraries to complete the requirement. If so, please provide a possible solution

pvvdprasad
 
Posts: 4
Joined: Tue Mar 31, 2020 1:07 pm

Re: USING TCS34725 WITH TCA9548A, UNABLE TO SET INTERRUPT TO

by adafruit_support_carter on Tue Mar 31, 2020 3:38 pm

The INT pin is for interrupt output from the TCS34725. You can leave it alone if all you want to do is control the LED.

To control the LED, connect the LED pin to an available digital pin. Set LOW to turn LED off, HIGH to turn ON. The pin is pulled up on the breakout so that the LED is on by default without any connections.

adafruit_support_carter
 
Posts: 15963
Joined: Tue Nov 29, 2016 2:45 pm

Re: USING TCS34725 WITH TCA9548A, UNABLE TO SET INTERRUPT TO

by pvvdprasad on Fri Apr 03, 2020 8:06 am

I had connected the color sensor to multiplexer tca9548a, i am newbie to adafruit, can you suggest how can i set digital pin with multiplexer.

pvvdprasad
 
Posts: 4
Joined: Tue Mar 31, 2020 1:07 pm

Re: USING TCS34725 WITH TCA9548A, UNABLE TO SET INTERRUPT TO

by adafruit_support_carter on Fri Apr 03, 2020 10:48 am

You won't be able to via the multiplexer since it is for the I2C pins only. There are I2C based GPIO expanders you could use in conjunction with the TCA9548A if that would work for your application.

What kind of general arrangement with the hardware are you trying to achieve?

adafruit_support_carter
 
Posts: 15963
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.