-
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 / ESP8266 / Arduino + NRFL01.
External links:
- http://www.homeautomationforgeeks.com/guides.shtml
- http://www.raspberrypi-spy.co.uk/2015/06/basic-temperature-logging-to-the-internet-with-raspberry-pi/
- https://medium.com/@rotemtam/build-a-homemade-spying-machine-with-a-raspberry-pi-firebase-and-some-python-9ef74bec301c#.133q3uti6
version 1.7.x
External links:
-
http://forum.mysensors.org/topic/1238/how-to-receive-data-on-openhab-using-udp-solved/2
-
http://www.makeuseof.com/tag/getting-started-openhab-home-automation-raspberry-pi/
-
https://github.com/HomeAutomationForGeeks/openhab-controlpanel
-
https://community.spiceworks.com/how_to/116586-how-to-install-openhab-on-a-raspberry-pi-rpi
-
https://github.com/openhab/openhab/wiki/Transformations#java-script-transformation-service
-
https://github.com/openhab/openhab/wiki/How-To-Implement-A-Binding
External links:
- https://github.com/openhab/openhab/wiki/Samples-REST
- https://code.google.com/p/openhab-samples/wiki/RESTExamples
- https://github.com/openhab/openhab/wiki/REST-API
- https://github.com/onmachine/sensall/tree/gh-pages/sketches
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
- http://mqtt.org/
- https://en.wikipedia.org/wiki/MQTT
- http://mosquitto.org/
- http://www.homeautomationforgeeks.com/MQTTController.shtml
- http://forum.mysensors.org/topic/302/openhab-mqtt-tips-hints/8
External links:
External links:
- https://www.openhomeautomation.net/cloud-data-logger-particle-photon/
- https://github.com/llad/spark-restclient/tree/master/examples
- https://www.hackster.io/yleguesse/spark-core-smart-air-conditioner-c147db
There are two version of the Pro Mini.
- runs at 3.3V and 8 MHz
- runs at 5V and 16 MHz
External links:
-
http://www.engineersgarage.com/electronic-components/arduino-pro-mini-pinout
-
http://adlerweb.deviantart.com/art/Arduino-R-like-Pro-Mini-Pinout-Diagram-555078152
-
http://adlerweb.deviantart.com/art/N-Ch-MOSFET-IRFZ44N-an-Arduino-Pro-Mini-552434059
External links:
-
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://microcontrollerkits.blogspot.nl/2015/05/arduino-esp8266-sensor-IoT-Thingspeak.html
-
http://adlerweb.deviantart.com/art/ESP8266-ESP-201-Module-Pinout-Diagram-Cheat-Sheet-575951137
-
http://michaelteeuw.nl/post/113107637802/esp8266-no-strings-attached
-
http://blog.huntgang.com/2015/01/20/arduino-esp8266-tutorial-web-server-monitor-example/
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:
- http://iot-playground.com/esp8266-led-dimmer http://blog.quindorian.org/2014/12/esp8266-wifi-led-dimmer-part-1-of-x.html
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
- http://www.hobbytronics.co.uk/ds18b20-arduino
- http://bildr.org/2011/07/ds18b20-arduino/
Example code
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
- http://microcontrollerkits.blogspot.nl/2015/05/arduino-esp8266-sensor-IoT-Thingspeak.html
- http://code.primaryblogs.net/2015/02/19/arduino-dht11-temp-sensor/
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
External links
433MHz communication to send and receive signals from 3rd party devices.
Components
- 433MHz receiver
- 433MHz transmitter
External links
- https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=108152 (RPi)
- https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=92627 (RPi)
- https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=84168 (RPi)
- https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=58127 (RPi)
- http://cdn.disk91.com/wp-content/uploads/2013/10/RcOok.zip (RPi)
- http://www.disk91.com/2013/technology/hardware/oregon-scientific-sensors-with-raspberry-pi/ (Oregon / RPi)
- http://www.disk91.com/2015/technology/systems/rf433-raspberry-pi-gpio-kernel-driver-for-interrupt-management/ (RPi)
- http://www.disk91.com/2014/technology/internet-of-things-technology/getting-start-with-rfrpi-card-v1-0-rf433-for-raspberry-pi/ (RPi)
- http://www.disk91.com/2013/technology/hardware/rf433-different-receiver-in-test/ (HW)
- http://hackspark.fr/fr/433mhz-rf-link-kit.html (HW)
- http://www.princetronics.com/how-to-read-433-mhz-codes-w-raspberry-pi-433-mhz-receiver/ (Decoding)
- http://www.princetronics.com/how-to-read-433-mhz-codes-w-arduino-433-mhz-receiver/
- http://www.susa.net/wordpress/2012/08/raspberry-pi-reading-wh1081-weather-sensors-using-an-rfm01-and-rfm12b/ (Decoding Weather Sensors)
- https://github.com/Cactusbone/ookDecoder (OOK)
- https://github.com/CapnBry/Powermon433 (OOK)
- https://github.com/ninjablocks/433Utils/tree/master/RPi_utils (RPi RF Sniffer) || https://github.com/ninjablocks/433Utils
- https://code.google.com/p/rc-switch/ || https://github.com/r10r/rcswitch-pi
- http://shop.ninjablocks.com/blogs/how-to/7501042-adding-rf-433mhz-to-your-arduino (Arduino)
- http://shop.ninjablocks.com/blogs/how-to/7506204-adding-433-to-your-raspberry-pi (RPi)
Components
- TCRT5000
- 2 kOhm en 100 Ohm
External links
-
http://blog.huntgang.com/2014/06/17/arduino-tcrt5000-build-ir-sensor/
-
(GAS) http://sustburbia.blogspot.nl/2010/10/gas-meters-revisited.html
- http://abyz.co.uk/rpi/pigpio/piscope.html (Pi Scope)
- http://www.raspberrypi.org/forums/viewtopic.php?t=79978&p=570023
- http://www.pilight.org/
- 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 !!!