README.md 608 B

#WiFi-connected Lux-sensor

This project is for building a WiFi-connected Lux-sensor for the garage.

The sensor used is Adafruit TSL2561 with I2C-Id: 0x39

WiFi ssid and password are stored in a file called config.h, which is not commited but looks like this:

#define WIFI_SSID "WiFi-ssid"
#define WIFI_PASSWORD "password"

Cable-connection to sensor:
Red: +3.3V
Black: GND
Yellow: SDA -> GPIO4
Blue: SCL -> GPIO5

Useful links:
http://blog.abarbanell.de/arduino-esp8266/iot/i2c/
https://github.com/esp8266/Arduino#documentation
https://github.com/adafruit/Adafruit_TSL2561