Thursday, September 3, 2015

Python on Intel Galileo/Edison - Part6: Light sensor

In this post, we will be using the upm library to interface the Grove Light sensor with the Galileo/Edison using python.

The light sensor is made up of primarily of LDR and opamp:

[caption id="attachment_382" align="aligncenter" width="319"]The Grove light sensor (photo: seeed studio) The Grove light sensor (image: seeed studio)[/caption]

"LDR" stands for light dependent resistor (in above schematic, it is marked as "LIGHT") as the name suggests, it is made up of a material that changes it resistance depending on the intensity of the ambient light.