ESP8266-Based project that reads lux-sensor (I2C) and sends data over WiFi.

Thomas Chef 6e07bce1ed Style of readme. 8 years ago
README.md 6e07bce1ed Style of readme. 8 years ago
lux_sensor.h 3ee4041c69 Starting to add some lux-read functions. 8 years ago
makefile 427ecfc88c Initial test 8 years ago
wifi_lux_sensor.cpp 3ee4041c69 Starting to add some lux-read functions. 8 years ago

README.md

#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