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

Two Person Weasley Clock with Particle Photon and IFTTT
Easy
  • 735
  • 10

Full instructions

Taking inspiration from the Harry Potter character's Weasley clock, this one uses Particle and IFTTT to tell you where two people are.

Mushroom  cultivation
Easy
  • 395
  • 8

Control the parameters of temperature, humidity, lighting and check the access to the crop to automate the process.

IR Lasertag with Raspberry Pi 3 and Nerf
Easy
  • 751
  • 6

Work in progress

Learn to build your own working IR lasertag weapon using nothing but a common Nerf gun and a Raspberry Pi 3.

Security system and temperature monitor for your home
Easy
  • 311
  • 1

Full instructions

This system sends alerts to your smartphone when there is movement in the house, also allows monitoring the temperature of the place.

Security+ 2.0 MyQ Garage Door Opener
Easy
  • 798
  • 3

Full instructions

Interface newer garage door openers with more than a relay.

Programming 8x8 LED Matrix
Easy
  • 435
  • 4

Protip

Sending Bytes to an 8x8 LED Matrix

ProjectsCommunitiesContestsLiveJobsBetaFree StoreBlogAdd projectSign up / Login
Respect project