Page 1 of 1

ISL29125 and ESP32

Posted: Sat Aug 19, 2023 12:28 pm
by uwe.schmidt
Hi all, I am trying in vain to use the ISL29125 RGB sensor with ESP32, various ESP models unsuccessfully. it works only with the arduino uno. the script always breaks off at the same point: RGB_sensor.init(). RGB_sensor is an instance of SFE_ISL29125 (SparkFunISL29125.h). the script just stops without any message. I have also tried various options with external voltage. unsuccessful. Does somebody has any idea? The example program in the library doesn't work too. ...

Re: ISL29125 and ESP32

Posted: Sat Aug 19, 2023 12:33 pm
by ESP_Sprite
You sure that the sensor you are using can work with 3.3V IO (like the ESP32 has) instead of only 5V (like the Uno has)?

Re: ISL29125 and ESP32

Posted: Sat Aug 19, 2023 1:17 pm
by uwe.schmidt
Thanks, yes of course, here the extract of the datasheet:
Features
• 56µA operating current, 0.5µA shutdown current
• Selectable range (Via I2C)
• I2C (SMBus compatible) output
• ADC resolution 16 bits
• Programmable interrupt windows
• Two optical sensitivity ranges
- Range 0 = 5.7m lux to 375 lux
- Range 1 = 0.152 lux to 10,000 lux
• Operating power supply 2.25 to 3.63V
• I2C power supply 1.7V to 3.63V
• 6 Ld ODFN (1.65x1.65x0.7mm) package
https://www.renesas.com/us/en/document/ ... -datasheet

Re: ISL29125 and ESP32

Posted: Sun Aug 20, 2023 12:44 am
by ESP_Sprite
Any chance you can stick a scope or logic analyzer on the I2C pins to check the communications?

Re: ISL29125 and ESP32

Posted: Tue Aug 29, 2023 4:00 am
by isaacmn24
Hey, I'm having the same issue, I've tried to look inside the library but I've not managed to make it work.
Did you solve it?

Re: ISL29125 and ESP32

Posted: Sun Sep 17, 2023 4:48 pm
by uwe.schmidt
Hello, no success. The sensor is recognized as a I2C device at adress 0x44, but no data transfer... I bought another sensor, but no success too...