Microduino Light indicator-OLED(TSL2561)
|Language:||English • 中文|
This tutorial will teach you to use the TSL2561 sensor and use Microduino OLED to dispaly the result.
Plug in the OLED to Microduino-Weatherstation.
Step 1: Download TSL2561 library, and uncompress it to libraries folder of Arduino IDE, then restart IDE. http://learn.adafruit.com/tsl2561/use
Step 2: Copy the code to IDE and compile it.
Step 3: Set up circuit, as follows:
Step 4: Run program.
Step 5: Observe OLED, cover the light sensor with the hand and then let it see the light again, look at the digital tube change.
Cover the TSL2561 sensor with the hand, the OLED's value will decrease, put the hand away, the value will increase.