Upgrade a project that uses a photocell with the GA1A12S202 analog light sensor. Like a CdS photo-cell, the sensor does not require a microcontroller, the analog voltage output increases with the amount of light shining on the sensor face. This sensor has a lot of improvements that make it better for nearly any project.
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 calibrate the sensor from one board to another.
Using the sensor is easy as pie: connect the Vin to 2.3-6VDC, Gnd to ground and measure the analog output on OUT. It will range up to 3V (at extremely bright outdoor sunlight). On an Arduino, just use analogRead() with the OUT pin connected to an analog pin. For more information including graphs, power consumption, etc check out the datasheet in the Tech Details tab. On this breakout we placed a 68KΩ resistor from OUT to ground to turn the current into a voltage.
GA1A12S202 Log-scale Analog Light Sensor (6:52)
El Makey Makey es un kit de creación interactiva que convierte prácticamente cualquier objeto común en diferentes teclas táctiles con lo que se puede ...
Varios colores. Longitud 30cm. 2 unidades de cada ...
Este kit incluye: Micro:bit V2 Cable USB corto Portapilas para 2 pilas AAA 2 pilas ...
El Robot Maqueen para Micro:bit de DFRobot está diseñado específicamente para fomentar el interés de los niños en la ciencia y el pensamiento lógico a través de la educación STEM. ...
Incluye La placa Micro:bit V2 y el robot Maqueen El Maqueen es un robot de programación ...
Utiliza este kit para convertir tu Maqueen y Maqueen Plus en un Escarabajo Mecánico! El kit Maqueen Mechanic-Beetle incluye un servo metálico, piezas mecánicas, tornillos, etc. Con una simple instalación, tu coche Maqueen estará listo para ...
Equipa tu Maqueen con este kit Mecánico para que pueda simular el movimiento de una carretilla elevadora! Prográmalo para que levante un objeto, baje una horquilla y traslade objetos, igual que una carretilla elevadora real en una fábrica. ...
Este mapa multifuncional de 120 x 90 cm está especialmente diseñado para aplicaciones de seguimiento de líneas. Hay líneas negras con una anchura de 2 cm impresas en el papel de mapa de 120 g, que es de alta calidad y no es fácil de ...