Next Steps

Now that you can measure the light, you could do other things with it like using an 'if' command in the program to display a message when it gets dark.

You could also use the project as a light logger, using Python to write the readings to a file, each accompanied by a time stamp. If the readings are written one per line, with a comma between the time and the reading, then you will be able to import it directly into a spreadsheet and produce charts from the data.

You could also use other types of resistive sensor in place of the photoesistor, such as:


About the Author.
As well as contributing lots of tutorials about Raspberry Pi, Arduino and now BeagleBone Black, Simon Monk writes books about open source hardware. You will find his books for sale here at Adafruit.
This guide was first published on Jul 01, 2013. It was last updated on Jul 01, 2013. This page (Next Steps) was last updated on Oct 20, 2019.