Tutorial – Adafruit GA1A12S202 Log-scale Analog Light Sensor @ The Adafruit Learning System

1384 Lrg-1

Tutorial – Adafruit GA1A12S202 Log-scale Analog Light Sensor @ The Adafruit Learning System.

This GA1A12S202 based sensor breakout is a big step-up from the basic CdS photo-cell. The biggest improvement over plain photocells is a true log-lin relationship with light levels. Most light sensors have a linear relationship with light levels, which means that they’re not very sensitive to changes in darkened areas and ‘max’ out very easily when there’s a lot of light. Sometimes you can tweak a resistor to make them better in dark or bright light but its hard to get good performance at both ends.

This sensor is logarithmic over a large dynamic range of 3 to 55,000 Lux, so it has a lot of sensitivity at low light levels but is also nearly impossible to “max out” so you can use it indoors or outdoors without changing code or calibration. Since the sensor is fabricated on a chip, there are also fewer manufacturing variations, so you won’t have to re-calibrate the sensor from one board to another.
The GA1A12S202 sensor breakout is small and easy to integrate into any project. It makes a nice upgrade from a CdS photo-cell. It does not require a microcontroller, the analog voltage output increases with the amount of light shining on the sensor face. Use it to build a photovore, an automatic lighting system, a photo-meter or any number of light sensitive/light-reactive projects.

For more information including graphs, power consumption, etc check out the datasheet. On this breakout we placed a 68KΩ resistor from OUT to ground to turn the current into a voltage.

Learn more!


Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Join 27,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — To make it through a tough business cycle, layoffs should be a last resort

Wearables — Hot glue’s undo button

Electronics — Servo Pulses

Python for Microcontrollers — Python on Microcontrollers Newsletter: CircuitPython 6.2.0 released, and More! #Python #Adafruit #CircuitPython @micropython @ThePSF

Adafruit IoT Monthly — ESP Earrings, RP2040 WiFi, and more!

Microsoft MakeCode — Mechanical Coin Bank

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — Adafruit New Products this Week: featuring Adafruit FunHouse – WiFi Home Automation Development Board!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.