Example code to use an Adafruit TSL2561 light sensor with Python on a RaspberryPi
Python
Switch branches/tags
Nothing to show
Clone or download
Latest commit 3fbed5d Feb 1, 2013
Permalink
Failed to load latest commit information.
.gitignore Initial commit Feb 1, 2013
README.md linebreaks Feb 1, 2013
TSL2561.example.py import first version into git Feb 1, 2013
TSL2561.py import first version into git Feb 1, 2013

README.md

TSL2561

Tags: RaspberryPi, FoxBox G20, Arduino, i2c, quick2wire, python

Example code to use an Adafruit TSL2561 light sensor with Pyhton on a RaspberryPi and FoxBox G20. This is just the first version. It hasn't been thoroughly tested nor did I made an attempt to write some high-class code. Also, I used my FoxBox G20 and not my Raspberry to test the stuff, but it should run on a Raspberry!

I used the following stuff:

http://www.adafruit.com/products/439

http://learn.adafruit.com/tsl2561/overview

https://github.com/adafruit/TSL2561-Arduino-Library

http://quick2wire.com wrote the i2c lib that I'm using

https://github.com/quick2wire/quick2wire-python-api

http://www.acmesystems.it/FOXG20

http://www.acmesystems.it/i2c