Ambient light detection: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 11: Line 11:


* Every N seconds (suggested: 60 seconds, but we'll have to experiment to find a good polling interval), take a picture.
* Every N seconds (suggested: 60 seconds, but we'll have to experiment to find a good polling interval), take a picture.
* store the picture (for privacy reasons) - instead, average the luminance of the image and square that number. (Why square? [http://en.wikipedia.org/wiki/Luminance See the formula] on how luminance is calculated.)
* Don't store the picture (for privacy reasons) - instead, average the luminance of the image and square that number. (Why square? [http://en.wikipedia.org/wiki/Luminance See the formula] on how luminance is calculated.)
* Use this number (the square of the luminance) to control the backlight.
* Use this number (the square of the luminance) to control the backlight.
* Allow the user to manually override the automatic backlight setting, and to easily turn the auto-backlight-setting mode on and off.
* Allow the user to manually override the automatic backlight setting, and to easily turn the auto-backlight-setting mode on and off.

Revision as of 11:12, 6 May 2011


Olpc logo.jpg
Ambient light detection

Introduction

By using the XO's camera as an ambient light detector and using that data to control the backlight brightness, it may be possible to make the XO's battery life longer when used by kids (who may not walk around adjusting their backlight to optimal power-saving levels all the time).

Features to implement

  • Every N seconds (suggested: 60 seconds, but we'll have to experiment to find a good polling interval), take a picture.
  • Don't store the picture (for privacy reasons) - instead, average the luminance of the image and square that number. (Why square? See the formula on how luminance is calculated.)
  • Use this number (the square of the luminance) to control the backlight.
  • Allow the user to manually override the automatic backlight setting, and to easily turn the auto-backlight-setting mode on and off.

How to help

Contact Chris Ball.