Things used in this project

Hardware components:
Photon new
Particle Photon
×1
VH400 Soil Moisture Sensor Probe
×1
Particle relay shield
×1
Software apps and online services:
Ubidots
Ubidots
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

Schematics

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

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

initState:
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
@enduml

Credits

Img 20160904 wa0001
Gustavo Gonnet

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

Contact
Img 1265 xocwbn7lv3
Mark Wilkinson

I have been growing food products for sale since I was 10. Have been orcharding for near 40 years, growing peaches and cherries.

Contact

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

Mailbox 2.0
Advanced
  • 4,308
  • 81

Work in progress

Real time notifications for when your precious packages and letters arrive.

Mailbox 2.0

Team CKTS

Networked RGB Wi-Fi Decorative Touch Lights
Advanced
  • 10,449
  • 133

Full instructions

Easy to use Wi-Fi enabled touch lights that network to give you a beautiful and unobtrusive way to stay connected with the people you love.

Use the Force... Or your Brainwaves?
Advanced
  • 17,248
  • 72

Full instructions

Thought controlled system with personal webserver and 3 working functions: robot controller, home automation and PC mouse controller.

The Minimalist Thermostat
Advanced
  • 5,402
  • 34

Full instructions

A thermostat you won't see

Car or Motorbike Tracker
Advanced
  • 3,057
  • 35

Work in progress

A GPS tracker for your car, motorcycle, bike and flying saucer, with data storage and map visualization. Not too hard, but no easy either...

Email Notifications Using Amazon Web Services
Advanced
  • 3,983
  • 20

Protip

When the Particle Cloud meets the Amazon Cloud

Add projectSign up / Login