Things used in this project

Hardware components:
Mcp23008 scio6r2g5v1 a 1 Particle Photon I²C 2-Channel SPDT 1-Amp Signal Relay
We used one of these boards with 4 channels instead.
Photon new
Particle Photon
Adafruit ds18b20 waterproof digital temperature sensor
Software apps and online services:
porter app
Particle 2.0 iOS App


Plant UML code for the state machine of the firmwarePlain text
To draw the FSM image, copy paste this code in
skinparam backgroundColor LightYellow
skinparam state {
  BackgroundColor LightBlue
  BorderColor Gray
  FontName Impact

[*] --> initState

note left of initState : The system boots\nin this state

initState -down-> offState: 10 seconds

offState: heating off
offState -down-> onState: temperature < target

onState: heating on
onState -up-> offState: temperature > target
github repo
flash this code in your photon


Img 20160904 wa0001
Gustavo Gonnet

If you need professional help with a project, contact me at

Thanks to Sergio Boyd.


Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Similar projects you might like

IoT Alcohol Tester
  • 1,735
  • 14

Full instructions

This project explains how to build a device for estimating blood alcohol content from a breath sample.

Security+ 2.0 MyQ garage door opener
  • 26
  • 0

Full instructions

Interface newer garage door openers with more than a relay.

Temperature and humidity monitor
  • 280
  • 2

Full instructions

This is a project that uses SHT30 to get the current temperature and humidity. And then displays it on a no-chip embeded LCD.

Measuring temperature and humidity with Particle Photon
  • 431
  • 3

Full instructions

Measure temperature and humidity with Particle Photon and Adafruit Si7021 using the Adafruit Si7021 library for I2C based communication.

Automatic garage door opener using geolocation on Android.
  • 529
  • 2

Full instructions

Control and monitor your garage door remotely and open it automatically when approaching your house using geolocation.

Study Buddy
  • 2,348
  • 140

Full instructions

Know when an assignment is coming up!

Study Buddy

Team Alexa and Shannon

Add projectSign up / Login
Respect project