ISL29125 and ESP32
-
- Posts: 3
- Joined: Sat Aug 19, 2023 9:24 am
ISL29125 and ESP32
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. ...
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: ISL29125 and ESP32
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)?
-
- Posts: 3
- Joined: Sat Aug 19, 2023 9:24 am
Re: ISL29125 and ESP32
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
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
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: ISL29125 and ESP32
Any chance you can stick a scope or logic analyzer on the I2C pins to check the communications?
Re: ISL29125 and ESP32
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?
Did you solve it?
-
- Posts: 3
- Joined: Sat Aug 19, 2023 9:24 am
Re: ISL29125 and ESP32
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 87 guests