-
Notifications
You must be signed in to change notification settings - Fork 0
Home
#Welcome to the photon-home wiki!
This wiki will describe an OpenHAB domotica setup which makes use of several Photon Wifi microprocessor boards. Connected to the Photons are sensors and other hardware.
version 1.7.x
T.B.D.
MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport.
External links
External links:
External links:
- http://www.esp8266.com/
- http://iot-playground.com/component/tags/tag/11-esp8266
- http://www.instructables.com/id/Using-the-ESP8266-module/
- http://www.instructables.com/id/ESP8266-WiFi-Shield-for-Arduino-and-other-micros/
- http://makezine.com/2015/04/01/esp8266-5-microcontroller-wi-fi-now-arduino-compatible/
- http://benlo.com/esp8266/
Many of the Photons have an LDR sensor to measure and log the light situation in the room. We need a 10 kOhm resistor between de LDR and de GND.
Components
- 1x LDR
- 1x 10kOhm resistor
External links: http://www.instructables.com/id/How-to-Use-a-Light-Dependent-Resistor-LDR/
A 12V RGB LED strip is connected to a Photon which can be controlled over the internet. It is possible to control the color of the light of the strip. It is possible to turn LED on/off and to control (dim) the light brightness.
Components
- 3x TIP120 / 3x TIP31 / 3x ZTX689B
- 3x 100 Ohm , 220 Ohm Resistor
- 1x 12V adaptor
- 1x 12V -> 5V Polulu D24V10F5 (option)
External links:
- https://learn.adafruit.com/rgb-led-strips/usage
- https://community.particle.io/t/wifi-led-driver/12835/7
- http://blog.falafel.com/controlling-an-rgb-led-on-a-photon-with-a-uwa-color-picker/
- https://github.com/adafruit/LPD8806
- https://github.com/adafruit/HL1606-LED-Strip-PWM
- https://community.particle.io/t/pwm-rgb-led-on-the-photon/14941
- http://mitchtech.net/raspberry-pi-pwm-rgb-led-strip/
- http://www.instructables.com/id/RGB-LED-Strip-Controller/
- https://community.particle.io/t/wiring-to-drive-an-rgb-led-strip/3888
- https://upverter.com/happymeerkat/3b8cb71b986b611b/Spark-Led/
A 12V LED strip is connected to a Photon which can be controlled over the internet. It is possible to turn LED on/off and to control (dim) the light brightness.
Components
- 3x TIP120 / 3x TIP31 / 3x ZTX689B
- 3x 100 Ohm , 220 Ohm Resistor
- 1x 12V adaptor
External links:
Several Photons have a PIR attached to sense motion. Upon motion it is possible to e.g. turn on a LED strip or send an alert.
Components
- 1x PIR
External links:
Many of the Photons have a temperature sensor to measure and log the temperature in the room.
Components
- 1x DS18S20 sensor
- 1x 4.7 kOhm resistor
External links:
- http://iot-playground.com/esp8266-wifi-ds18b20-temperature-sensor
- http://stuff.nekhbet.ro/2009/08/23/how-to-use-the-ds18s20-and-ds18b20-temperature-sensors-with-arduino.html
- http://datasheets.maxim-ic.com/en/ds/DS18S20.pdf
- https://arduino-info.wikispaces.com/Brick-Temperature-DS18B20
To send a command to the system an IR LED receiver can be added.
Components
- 1x TSOP-1838 sensor / 1x TSOP-38238 sensor
External links
- https://arduino-info.wikispaces.com/IR-RemoteControl
- http://www.sbprojects.com/knowledge/ir/index.php
- https://learn.adafruit.com/ir-sensor
To transmit a command via IR e.g. to turn off the TV.
To measure temperature and humidity
Components
- 1x resistor ?? Ohm
- 1x DHT11 / DHT22 sensor
External links
- http://akizukidenshi.com/download/ds/aosong/DHT11.pdf
- http://iot-playground.com/2-uncategorised/70-esp8266-wifi-dht22-humidity-sensor-easyiot-cloud-rest-api
To measure the air pressure and temperature e.g. to forecast the weather.
Components
- 1x BMP180 or BMP85 sensor (breakoutboard)
External links:
Sensor to check whether a door/window is open or closed.
Components
- 1x Reed relay (MC-38)
- 1x 100nF ceramic capacitor
External links:
- http://iot-playground.com/nrf24l01-low-power-door-window-sensor
- http://iot-playground.com/esp8266-door-window-sensor-nodemcu-lua-no-arduino
T.B.D
Relay to switch 220/230V current.
External links:
Components
- NRFL01 board
External links
- https://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo
- https://arduino-info.wikispaces.com/nRF24L01-RF24-Examples
Real-Time Clock
Components
- DS1307 (board)
External links
- https://arduino-info.wikispaces.com/Arduino-Libraries
- https://arduino-info.wikispaces.com/Arduino-Libraries#NewLib
- https://arduino-info.wikispaces.com/CombiningArduinoSketches
- http://arduino.cc/en/Reference/Libraries
Enjoy !!!