Ambient light detection

From OLPC
Revision as of 17:28, 9 April 2012 by Pgf (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Note that XO-1.75 laptops have a built-in Ambient Light Sensor. The scheme outlined below hasn't ever been implemented, partially because of the privacy questions that it raises.

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.