ISL29125 and ESP32

uwe.schmidt
Posts: 3
Joined: Sat Aug 19, 2023 9:24 am

ISL29125 and ESP32

Postby uwe.schmidt » Sat Aug 19, 2023 12:28 pm

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. ...

ESP_Sprite
Posts: 9052
Joined: Thu Nov 26, 2015 4:08 am

Re: ISL29125 and ESP32

Postby ESP_Sprite » Sat Aug 19, 2023 12:33 pm

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)?

uwe.schmidt
Posts: 3
Joined: Sat Aug 19, 2023 9:24 am

Re: ISL29125 and ESP32

Postby uwe.schmidt » Sat Aug 19, 2023 1:17 pm

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

ESP_Sprite
Posts: 9052
Joined: Thu Nov 26, 2015 4:08 am

Re: ISL29125 and ESP32

Postby ESP_Sprite » Sun Aug 20, 2023 12:44 am

Any chance you can stick a scope or logic analyzer on the I2C pins to check the communications?

isaacmn24
Posts: 1
Joined: Tue Aug 29, 2023 3:55 am

Re: ISL29125 and ESP32

Postby isaacmn24 » Tue Aug 29, 2023 4:00 am

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?

uwe.schmidt
Posts: 3
Joined: Sat Aug 19, 2023 9:24 am

Re: ISL29125 and ESP32

Postby uwe.schmidt » Sun Sep 17, 2023 4:48 pm

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...

Who is online

Users browsing this forum: No registered users and 127 guests