Things used in this project

Hardware components:
Photon new
Particle Photon
VH400 Soil Moisture Sensor Probe
Particle relay shield
Software apps and online services:
Porter App
Use this app for Android/iOS control of the system
Particle 2.0 iOS App
Use this app for iOS (only) control of the system


Moisture sensor
Connect it to A0
Soil moisture sensor 1luksecacr vvfntxkptw


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 : it lands here\nwhen the system\nboots

initState -down-> idleState: 10 seconds

idleState: valve closed
idleState -down-> valveOnState: moisture < threshold

valveOnState: valve open
valveOnState -> restState: 15 minutes

restState: valve closed
restState -up-> idleState: 30 minutes
github repo


Img 20160904 wa0001
Gustavo Gonnet
25 projects • 180 followers
If you need professional help with a project, contact me at
Img 1265 xocwbn7lv3
Mark Wilkinson
0 projects • 3 followers
I have been growing food products for sale since I was 10. Have been orcharding for near 40 years, growing peaches and cherries.


Add projectSign up / Login