SlideShare a Scribd company logo
1 of 51
Download to read offline
Growing Food
with Open Source
    OSCON 2011
    Sarah Sharp
    @sarahsharp
Hello!
✔ Linux Kernel hacker
✔ Gardener
I'm still a lazy hacker
github.com/sarahsharp/GardenGeek
Problem #1: Scheduling
Garden Calendar tool
●   904 lines of C
●   Object oriented representation of plants
●   Takes a CSV file for input
    ●   11 magic fields
    ●   not all are required



oregon spring tomatoes,1,7,3,2010-04-13,0,75,.80,6,14,0
Garden Calendar tool: Phase I
●   Started Feb 21, 2010
●   Plain text output on Mar 7, 2010
Issues with Phase I
●   Worked pretty well
●   Seed germination
    rates are optimistic!
●   Often forgotten
●   No integration with
    other calendaring
    tools
Garden Calendar tool: Phase II
●   Goal: output iCalendar and integrate with
    google calendar.
●   Issues: RFC 2445
Issues with Phase II
●   Google calendar update lag
●   Really should be a todo list
    ●   Integration with Remember The Milk?
    ●   Need an easy way to defer tasks
●   Web front end?
●   Storage for users
Problem #2: Frost
How Frost Works
How Gardeners deal with frost
Dealing with Spring Weather:
        “Cold Snaps”




      Data Source: WunderGround.com,
           Portland, Oregon, USA,
                  April 2010
Lazy Hacker: Polling vs. Interrupts
Search for the Perfect Android App
●   Need an alert for frosts
●   Alert must be timely
●   Nice: open source app


    Weather Checker
Search for the Perfect Android App
●   Need an alert for frosts
●   Alert must be timely
●   Nice: open source app


    Weather Checker
●   Alerts too often
●   Alerts at the wrong time
●   “average” temperature?
DIY
“You may not use the Wunderground
     Data Feed for use in a mobile
application for mass distribution, even if
there is no monetary cost for the mobile
               application.”
Open Government Data
●   NOAA weather data
●   No history, only future predictions
●   Only for the United States
●   SOAP interface that returns XML
Garden Weather Alert
Garden Weather Alert TODO
●   Add a background task for alerts
●   Alert on hail, wind, extreme heat
●   Use GPS coordinates
●   Support international locations
●   Options for °F vs. °C
Automatic Watering
  with Arduinos
Garduino: Gardening + Arduino
 ●   Automatically
     waters your plants
     based on soil
     moisture
 ●   Good tutorial on
     instructables.com




http://www.instructables.com/id/Garduino-Gardening-Arduino/
Soil Moisture Sensor




http://www.cheapvegetablegardener.com/2009/11/how
-to-make-cheap-soil-moisture-sensor-2.html
Soil Moisture Sensor Science




              V=I*R
R = infinite ohms     R is finite
I = 0 amps            I > 0 amps
V = 0 volts           V > 0 volts
Garduino Step 1:
Build Soil Moisture Sensors
Garduino Step 2:
Hello Blinky LEDs
Garduino Step 2:
Hello Blinky LEDs
Garduino Step 2:
Hello Blinky LEDs
Garduino Step 3:
Hello digital output
Garduino Step 4:
Set up watering system
Garduino Step 4:
Set up watering system




  http://powerswitchtail.com/
Garduino Step 5:
                 Calibrate System
●   Soil moisture sensor takes a while to react
●   Need Arduino code to:
    ●   Limit how often the pump runs
    ●   Don't water more often than N seconds
●   Issues:
    ●   No RTC on the Arduino
    ●   Use milliseconds from start
●   ~80 lines of code (with detailed comments)
Final Garduino

Arduino                    wall
                          power




       soil      power
     moisture     tail
      sensor     switch
Garduino
 Demo
What's next?
●   Wireless communication
    ●   JeeNodes - $22 kit
●   Finish irrigation system
Want get involved?
●   http://www.gardengeek.org
●   http://github.org/sarahsharp/GardenGeek
●   Twitter/Identica: @gardengeekery
Thank you!

More Related Content

Viewers also liked (7)

Food source (hele)
Food source (hele)Food source (hele)
Food source (hele)
 
Population and food supply
Population and food supplyPopulation and food supply
Population and food supply
 
Class IV Food- Basic Need
Class IV Food- Basic NeedClass IV Food- Basic Need
Class IV Food- Basic Need
 
8. nutrition and food preparation
8. nutrition and food preparation8. nutrition and food preparation
8. nutrition and food preparation
 
Components of food
Components of foodComponents of food
Components of food
 
Food & Nutrition Project for 4th graders
Food & Nutrition Project for 4th gradersFood & Nutrition Project for 4th graders
Food & Nutrition Project for 4th graders
 
Stage 5 – Food Technology Production & Presentation
Stage 5 – Food Technology Production & PresentationStage 5 – Food Technology Production & Presentation
Stage 5 – Food Technology Production & Presentation
 

Similar to Growing Food With Open Source (Sarah Sharp)

Environmental Monitoring With a Raspberry Pi - Daniel Chen
Environmental Monitoring With a Raspberry Pi - Daniel ChenEnvironmental Monitoring With a Raspberry Pi - Daniel Chen
Environmental Monitoring With a Raspberry Pi - Daniel Chen
Daniel Chen
 

Similar to Growing Food With Open Source (Sarah Sharp) (20)

IRJET- Irrigation System for Greenland using Soil Moisture Sensor
IRJET-  	  Irrigation System for Greenland using Soil Moisture SensorIRJET-  	  Irrigation System for Greenland using Soil Moisture Sensor
IRJET- Irrigation System for Greenland using Soil Moisture Sensor
 
IRJET-Automated Water Irrigation System using Arduino Uno and Raspberry Pi wi...
IRJET-Automated Water Irrigation System using Arduino Uno and Raspberry Pi wi...IRJET-Automated Water Irrigation System using Arduino Uno and Raspberry Pi wi...
IRJET-Automated Water Irrigation System using Arduino Uno and Raspberry Pi wi...
 
Automated irrigation system based on soil moisture using arduino
Automated irrigation system based on soil moisture using arduinoAutomated irrigation system based on soil moisture using arduino
Automated irrigation system based on soil moisture using arduino
 
Monitoring and Automatic Watering Based on Microcontroller Arduino Uno Using ...
Monitoring and Automatic Watering Based on Microcontroller Arduino Uno Using ...Monitoring and Automatic Watering Based on Microcontroller Arduino Uno Using ...
Monitoring and Automatic Watering Based on Microcontroller Arduino Uno Using ...
 
Smart Agriculture and Farming
Smart Agriculture and FarmingSmart Agriculture and Farming
Smart Agriculture and Farming
 
IRJET - Smart Refrigerator using IoT
IRJET -  	  Smart Refrigerator using IoTIRJET -  	  Smart Refrigerator using IoT
IRJET - Smart Refrigerator using IoT
 
Environmental Monitoring With a Raspberry Pi - Daniel Chen
Environmental Monitoring With a Raspberry Pi - Daniel ChenEnvironmental Monitoring With a Raspberry Pi - Daniel Chen
Environmental Monitoring With a Raspberry Pi - Daniel Chen
 
20190805 pwa ian, aldy,& thariq
20190805 pwa ian, aldy,& thariq20190805 pwa ian, aldy,& thariq
20190805 pwa ian, aldy,& thariq
 
Smart Irrigation System
Smart Irrigation SystemSmart Irrigation System
Smart Irrigation System
 
Hydroponic System.pptx
Hydroponic System.pptxHydroponic System.pptx
Hydroponic System.pptx
 
Thingsboard Gateway - Remote temperature monitoring tool for Industries
Thingsboard Gateway - Remote temperature monitoring tool for IndustriesThingsboard Gateway - Remote temperature monitoring tool for Industries
Thingsboard Gateway - Remote temperature monitoring tool for Industries
 
Beginner-Friendly IoT Arduino Projects to Try.pdf
Beginner-Friendly IoT Arduino Projects to Try.pdfBeginner-Friendly IoT Arduino Projects to Try.pdf
Beginner-Friendly IoT Arduino Projects to Try.pdf
 
EVAPOTRANSPIRIATION CON TROLLER PPT.pptx
EVAPOTRANSPIRIATION CON TROLLER PPT.pptxEVAPOTRANSPIRIATION CON TROLLER PPT.pptx
EVAPOTRANSPIRIATION CON TROLLER PPT.pptx
 
IRJET- Soil Irrigation System using Moisture Content
IRJET-  	  Soil Irrigation System using Moisture ContentIRJET-  	  Soil Irrigation System using Moisture Content
IRJET- Soil Irrigation System using Moisture Content
 
IRJET- Design and Implementation of IoT based Greenhouse Environment Monitori...
IRJET- Design and Implementation of IoT based Greenhouse Environment Monitori...IRJET- Design and Implementation of IoT based Greenhouse Environment Monitori...
IRJET- Design and Implementation of IoT based Greenhouse Environment Monitori...
 
Internet of the land
Internet of the landInternet of the land
Internet of the land
 
Arduino
ArduinoArduino
Arduino
 
Autogardening 2014 with Arduino
Autogardening 2014 with ArduinoAutogardening 2014 with Arduino
Autogardening 2014 with Arduino
 
IRJET- Raspberry-Pi Based Automated Greenhouse
IRJET- Raspberry-Pi Based Automated GreenhouseIRJET- Raspberry-Pi Based Automated Greenhouse
IRJET- Raspberry-Pi Based Automated Greenhouse
 
Developing a Smart Farm: Using Low-Cost electronics and a Civil Engineering B...
Developing a Smart Farm: Using Low-Cost electronics and a Civil Engineering B...Developing a Smart Farm: Using Low-Cost electronics and a Civil Engineering B...
Developing a Smart Farm: Using Low-Cost electronics and a Civil Engineering B...
 

More from OSCON Byrum

Big Data for each one of us
Big Data for each one of usBig Data for each one of us
Big Data for each one of us
OSCON Byrum
 
Declarative web data visualization using ClojureScript
Declarative web data visualization using ClojureScriptDeclarative web data visualization using ClojureScript
Declarative web data visualization using ClojureScript
OSCON Byrum
 

More from OSCON Byrum (20)

OSCON 2013 - Planning an OpenStack Cloud - Tom Fifield
OSCON 2013 - Planning an OpenStack Cloud - Tom FifieldOSCON 2013 - Planning an OpenStack Cloud - Tom Fifield
OSCON 2013 - Planning an OpenStack Cloud - Tom Fifield
 
Protecting Open Innovation with the Defensive Patent License
Protecting Open Innovation with the Defensive Patent LicenseProtecting Open Innovation with the Defensive Patent License
Protecting Open Innovation with the Defensive Patent License
 
Using Cascalog to build an app with City of Palo Alto Open Data
Using Cascalog to build an app with City of Palo Alto Open DataUsing Cascalog to build an app with City of Palo Alto Open Data
Using Cascalog to build an app with City of Palo Alto Open Data
 
Finite State Machines - Why the fear?
Finite State Machines - Why the fear?Finite State Machines - Why the fear?
Finite State Machines - Why the fear?
 
Open Source Automotive Development
Open Source Automotive DevelopmentOpen Source Automotive Development
Open Source Automotive Development
 
How we built our community using Github - Uri Cohen
How we built our community using Github - Uri CohenHow we built our community using Github - Uri Cohen
How we built our community using Github - Uri Cohen
 
The Vanishing Pattern: from iterators to generators in Python
The Vanishing Pattern: from iterators to generators in PythonThe Vanishing Pattern: from iterators to generators in Python
The Vanishing Pattern: from iterators to generators in Python
 
Distributed Coordination with Python
Distributed Coordination with PythonDistributed Coordination with Python
Distributed Coordination with Python
 
An overview of open source in East Asia (China, Japan, Korea)
An overview of open source in East Asia (China, Japan, Korea)An overview of open source in East Asia (China, Japan, Korea)
An overview of open source in East Asia (China, Japan, Korea)
 
Oscon 2013 Jesse Anderson
Oscon 2013 Jesse AndersonOscon 2013 Jesse Anderson
Oscon 2013 Jesse Anderson
 
US Patriot Act OSCON2012 David Mertz
US Patriot Act OSCON2012 David MertzUS Patriot Act OSCON2012 David Mertz
US Patriot Act OSCON2012 David Mertz
 
OSCON 2012 US Patriot Act Implications for Cloud Computing - Diane Mueller, A...
OSCON 2012 US Patriot Act Implications for Cloud Computing - Diane Mueller, A...OSCON 2012 US Patriot Act Implications for Cloud Computing - Diane Mueller, A...
OSCON 2012 US Patriot Act Implications for Cloud Computing - Diane Mueller, A...
 
Big Data for each one of us
Big Data for each one of usBig Data for each one of us
Big Data for each one of us
 
BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking
BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking
BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking
 
Declarative web data visualization using ClojureScript
Declarative web data visualization using ClojureScriptDeclarative web data visualization using ClojureScript
Declarative web data visualization using ClojureScript
 
Using and Building Open Source in Google Corporate Engineering - Justin McWil...
Using and Building Open Source in Google Corporate Engineering - Justin McWil...Using and Building Open Source in Google Corporate Engineering - Justin McWil...
Using and Building Open Source in Google Corporate Engineering - Justin McWil...
 
A Look at the Network: Searching for Truth in Distributed Applications
A Look at the Network: Searching for Truth in Distributed ApplicationsA Look at the Network: Searching for Truth in Distributed Applications
A Look at the Network: Searching for Truth in Distributed Applications
 
Life After Sharding: Monitoring and Management of a Complex Data Cloud
Life After Sharding: Monitoring and Management of a Complex Data CloudLife After Sharding: Monitoring and Management of a Complex Data Cloud
Life After Sharding: Monitoring and Management of a Complex Data Cloud
 
Faster! Faster! Accelerate your business with blazing prototypes
Faster! Faster! Accelerate your business with blazing prototypesFaster! Faster! Accelerate your business with blazing prototypes
Faster! Faster! Accelerate your business with blazing prototypes
 
Comparing open source private cloud platforms
Comparing open source private cloud platformsComparing open source private cloud platforms
Comparing open source private cloud platforms
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Growing Food With Open Source (Sarah Sharp)