photo.PNG
photo (2).JPG
photo (3).JPG
photo (1).JPG
 So far all I've got the board doing it blinking a LED on and of at varying rates. But its a start, so come back regularly as I'll be updating the project every few weeks or so. 
 UPDATE:  So, major breakthrough today. Have successfully wired a relay to the Arduino to trigger the pump. Need to use a relay as the pump runs on 12V and the Arduino only on 5V or 3,5V. So have hooked up a 12V battery to the relay and pump and its all working fine. Have tested it with a modification to the blinking LED code and can now turn the pump on and off at regular intervals via the Arduino.   Next step is connecting the moisture sensor and configuring that so it triggers the pump when needed. Stay tuned.  
Moisture Sensor
Potentiometer
 I'm leaning slightly towards this approach for the moment as I've set up a Serial.println that and have adjusted the thresholds in the code so when the sensor is in a glass of water (maximum saturation) is says "too much water" when its in moist soil it reads "just right" and when its in air (maximum resistance) it says " thirsty". In the future I'll have this tweeted to a stream but at the moment it displays in the serial monitor.
 Next step is triggering the pump when the reading returns <300 "thirsty" and switching off when is reads "just right" with a failsafe for "too much water" >1000      
Circuit diagram
The housing
Finished, for now
prev / next