Skip to content
garthoff edited this page Jan 26, 2016 · 32 revisions

#Welcome to the photon-home wiki!

Overview

This wiki will describe an (OpenHAB) domotica setup which makes use of several Photon Wifi microprocessor boards / ESP8266 / Arduino + NRFL01.

External links:

OpenHAB

version 1.7.x

External links:

RESTfull

External links:

MQTT

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

Hardware

Raspberry Pi (version B)

External links:

Particle Photon

External links:

Arduino Mini Pro 328

There are two version of the Pro Mini.

  1. runs at 3.3V and 8 MHz
  2. runs at 5V and 16 MHz

External links:

ESP8266###

External links:

Sensors and peripheral

LDR (Light measuring)

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/

RGB LED strip (color LED light)

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:

White LED strip (white LED light)

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:

PIR (motion detection)

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:

DS18S20 (Temperature)

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:

Example code

IR LED Receiver

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

IR LED Transmitter ()

To transmit a command via IR e.g. to turn off the TV.

DHT22 / DHT11 (Temperature and humidity sensor)

To measure temperature and humidity

Components

  • 1x resistor ?? Ohm
  • 1x DHT11 / DHT22 sensor

External links

BMP180 (Barometer, Temperature)

To measure the air pressure and temperature e.g. to forecast the weather.

Components

  • 1x BMP180 or BMP85 sensor (breakoutboard)

External links:

DoorContact Sensor (MC-38)

Sensor to check whether a door/window is open or closed.

Components

  • 1x Reed relay (MC-38)
  • 1x 100nF ceramic capacitor

External links:

DoorBell (two wires)

T.B.D

Relay switch

Relay to switch 220/230V current.

External links:

NRFL01 (Wireless 2.4GHz communication)

Components

  • NRFL01 board

External links

RTC (DS1307)

Real-Time Clock

Components

  • DS1307 (board)

External links

TSL2561 Luminosity sensor

External links

433MHz RF RX/TX

433MHz communication to send and receive signals from 3rd party devices.

Components

  • 433MHz receiver
  • 433MHz transmitter

External links

Dumb meter

Components

  • TCRT5000
  • 2 kOhm en 100 Ohm

External links

Information

Libraries

Input / Output

Cables

LCD