Things used in this project

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

Code

Plant UML code for the state machine of the firmwarePlain text
To draw the FSM image, copy paste this code in http://www.plantuml.com/plantuml/uml
@startuml
skinparam backgroundColor LightYellow
skinparam state {
  BackgroundColor LightBlue
  BorderColor Gray
  FontName Impact
}


[*] --> initState

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

initState:
initState -down-> offState: 10 seconds

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

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

Credits

Img 20160904 wa0001
Gustavo Gonnet

If you need professional help with a project, contact me at gusgonnet@gmail.com

Thanks to Sergio Boyd.

Replications

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

Comments

Similar projects you might like

IoT Alcohol Tester
Easy
  • 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
Easy
  • 26
  • 0

Full instructions

Interface newer garage door openers with more than a relay.

Temperature and humidity monitor
Easy
  • 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
Easy
  • 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.
Easy
  • 529
  • 2

Full instructions

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

Study Buddy
Easy
  • 2,348
  • 140

Full instructions

Know when an assignment is coming up!

Study Buddy

Team Alexa and Shannon

Add projectSign up / Login
Respect project