• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Buried in cloud files? We can help with Spring cleaning!

    Whether you use Dropbox, Drive, G-Suite, OneDrive, Gmail, Slack, Notion, or all of the above, Dokkio will organize your files for you. Try Dokkio (from the makers of PBworks) for free today.

  • Dokkio (from the makers of PBworks) was #2 on Product Hunt! Check out what people are saying by clicking here.


AMBI Light Sensor

Page history last edited by sarith.ong@liquidware.com 9 years, 10 months ago



The “AMBI” is a small board that carries a Sharp GA1A1S201WP surface-mount ambient light sensor. The AMBI’s 3-pin interface mounts directly onto the analog pins on an Arduino.

The light sensor has a spectral response similar to that of the human eye, which means the sensor is highly accurate when used as the basis of an ambient light sensor, or camera exposure sensor. It’s also capable of digitally quantifying the brightness of ambient light in a very small form factor setup.

The OPIC light detector has an integrated photodiode and amplifier circuit providing a logarithmic output that works with a wide range of illumination, both indoors and outdoors (3 to 55000 lux). It performs similarly to a light meter. The sensor works at up to +7V, and operates accurately across a wide temperature range between -40 and +85 C.

The board comes assembled, with a 3-pin header soldered on. Available as a single unit or 5-pack.




  • Mobile handhelds – automatic screen brightness
  • Detecting camera exposure
  • Remote light monitor for managing power consumption
  • Proximity (by light obstruction) sensor 




  • Supply voltage: -0.3 to +7.0V
  • Output current: 1 mA
  • Operating temperature: -40 to +85 C
  • 3-pin interface: GND, +5Vin, and readout 




Link to the cheatsheet as a PDF...




Source Code


void setup() {
pinMode(18, OUTPUT);
pinMode(19, OUTPUT);
digitalWrite(18, HIGH);
digitalWrite(19, LOW);
void loop() {
int Light = analogRead(3);




Comments (0)

You don't have permission to comment on this page.