Doing Auto Brightness on a SSD1306 (OLED) Using APDS 9960 any idea how to do that ?

We have a ESP 32 and SSD1306 (OLED) and APDS 9960 (RGB sensor ) we are trying to sence the brightness of atmosphire and then the APDS 9960 will sence that and it will reduce/increase the brightness of SSD1306(OLED).

NEED HELP

This atmosphere must be within 100mm of the sensor.

Please define the term "atmosphere." To me, it refers to the air in the surrounding area. I am assuming you have not created a perfect vacuum, but clarification would help provide a more accurate response.

Lady Ada says no
"OLED displays arent really dimmable - they're supposed to be bright -"
Their forum has a discussion on this.

1 Like

The brightness can be adjusted in software , a function not often used.

Writing a value to one of the OLED registers.Check the data sheet .

https://forum.arduino.cc/t/128x32-i2c-oled-display-can-it-be-dimmed/668244

The 100mm reference is the sensor's limit... so whatever "atmospher" is must be that close.

You might want to look at this How to get the best out of this forum before you proceed any further.

I moved your topic to an appropriate forum category.
The place you posted it is not suitable for asking for help with a project, it was for discussing projects already in the showcase area.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the link above. The guide contains a lot of other useful information. Please read it.