Loading... Please wait...

SmartPlantPi - Raspberry Pi based Smart Plant Kit - No Soldering!

Hover over image to zoom

  • Image 1
  • Image 2
  • Image 3
  • Image 4
  • Image 5
  • Image 6
  • Image 7
  • Image 8
  • Image 9
  • Image 10
$135.00
SKU:
0310-SMARTPLANTPI-DSBT
Current Stock:
33

 Product Description

SmartPlantPi - Raspberry Pi Plant Watering and Environmental Kit

This is a perfect project kit for kids with some help from the adults and for adults trying to learn some new things.   We have done this before with our successful OurWeather kickstarter so we know what we are talking about.   People all over the world have built the OurWeather weather station with great success. SmartPlantPi (or Smart Plant for short) is an introductory, easy to build Raspberry Pi based environmental monitoring and plant watering system using advanced sensors to monitor the soil moisture, monitor the sunlight, watch the air quality and monitor temperature and humidity.   It is designed to be easily and simply put together and tested with No Soldering Required Please go to the Product Support Forum for SmartPlantPi at the top of the page for comments and questions.

Now all Kits include the 3D Printed Stand!

 

Please go to the Product Support Forum for SmartPlantPi on www.switchdoc.com for comments and questions.

News

- (May 18, 2017) Released SmartPlantPi Advanced Features Manual

- (May 15, 2017) Released Assembly Addendum for the new High Reliability Grove Moisture Sensor (now included in all new SmartPlantPi kits)

- (March 13, 2017) Updated Assembly Manual to Version 1.1 - Fixed Install problem

What is SmartPlantPi?

SmartPlantPi (or Smart Plant for short) is an introductory, easy to build Raspberry Pi based environmental monitoring and plant watering system using advanced sensors to monitor the soil moisture, monitor the sunlight, watch the air quality and monitor temperature and humidity.   It is designed to be easily and simply put together and tested with No Soldering Required!

What Will you Learn with SmartPlantPi?

  • - Learn about the Raspberry Pi and installing software on the Pi
  • - Connecting up sensors to the Raspberry Pi
  • - Learning about Feedback loops and regulating water to plants
  • - Understand your indoor environment and what affects it
  • - Learn about the new technology called the Internet of Things

 

 

See Your Plant on the Internet!

The SmartPlant software comes preconfigured to display your Plant on the Internet (for all to see it in it's glory!) using an IOT dashboard.   This is done by using Pubhub and Freeboard (both in Free mode!) to display all the information.   We are publishing a very straight forward tutorial to make this work with your Smart Plant. Want to see the Live Link to our Smart Plant?  Click here. It will take about 15 seconds to refresh.

Features

  • Compatible with all Raspberry Pi Models
  • Automatic Plant Watering System with Feedback
  • Senses your Indoor Environment
  • Uses standard GROVE connectors. No Soldering!
  • Great kit for beginners or experts
  • Full Open Source Code for SmartPlantPi Provided.  You can change everything!
  • Step by Step Assembly and Operations Manual with Pictures
  • Sensors and Functions can be added with Extender Kits

Videos

Downloads

Kit Contents

   
Plastic Pipe 0226-SSPPIPE-DSBT
Plastic Plug 0227-SSPPLUG-DSBT
Plastic Pipe Stakes 0228-SPPPIST-DSBT
OLED Display 0070-GRVOLED128x64-DSBT
P2Grover Board 0100-GRV2PIA-DSBT
USB PowerControl EN 0043-USBPCEN-DSBT
Rotary Switch 0220-GROTARYB-DSBT
Push Button Switch (P) 0221-GBUTTONP-DSBT
4 Channel ADC 0058-GRV4CADC-DSBT
Air Quality Sensor 0090-GRVAQS-DSBT
Sunlight Sensor 0105-GRVSLS-DSBT
HDC1000 Temp/Humidity sensor 0024-GHDC1000-DSBT
USB Pump 0223-USBPMP-DSBT
Flow Sensor and Cable 0024-GFLOWS-DSBT
Moisture Sensor 0225-GMOSN-DSBT
6 20cm Grove Cables 0075-GRV20C-DSBT
1 50cm Grove Cable 0079-GRV50C-DSBT

What is a Grove Connector?

GroveAlone There are hundreds of Grove Devices from multiple manufacturers around the world.  Over 100 boards and sensors available. You can't plug it in backwards. If you put the connector in the wrong plug it just doesn't work. No smoke. No fire. This makes us happy as we look over into our Box Of Death, filled with boards we have ruined. No more additions to the BOD! Well, hopefully. Have faith. We quickly found the connectors and their respective cables very useful. With the large selection of Grove I2C devices available, we decided to include a Grove connector on all our future boards and products. Grove Connectors are a standard way of connecting a variety of devices quickly and safely.   See our full tutorial here.

 Sensors

Here are the sensors that come with SmartPlant.

  • - Soil Moisture Sensor
  • - Temperature Sensor
  • - Humidity Sensors
  • - Sunlight Visible/IR/UV Index Sensor
  • - Air Quality Sensor

Smart Plant also comes with a USB controlled Pump, water flow sensor, plastic tubing for the water and buttons for control.

 

Open Source Software!  Change it to your liking!

Smart Plant comes will all the source code and instructions for installing it on your Raspberry Pi.   You can learn from the Pure Python code, customize it, add more plants and sensors.   It's a major part of the learning process for the Raspberry Pi and Smart Plant.  Not to mention having your own IOT device!


3D Printer Stand and files

We provide the 3D Print openSCAD and STL files.  For those that have access to a 3D Printer, you can print your own and modify them!  They are also available in our store here.

Theory

This was a great project to design and build.   It was really an interesting process learning about the sensors, how to interconnect them and then learning about flow meters, USB Pumps and especially the software bringing them all together. Where is the science and engineering in this project?  All through it from the bottom to the top. We could go through the entire system, but that will have to wait.  The most interesting points?   One, we are using feedback in the system.  Negative feedback to be exact.    We aren't just watering on a timer, we are looking at the soil moisture and if it is high enough, we don't water.  We don't water unless we need to.   Very cool. Secondly, the sensors we have in this project are amazing.   For example, the Air Quality sensor is very, very sensitive.   We can detect hairspray from 50 feet away (more on that in an update). Thirdly, we got a lot out of learning how to display the data from Smart Plant on the Freeboard IOT Dashboard and I had a lot of fun designing the Alexa app

The Hardware

The big choice we made in the hardware design was the decision to go with the Grove connector system.   The Grove system is a standard plug used to connect a variety of small computer devices together.  All told, there are about 200 different Grove sensors out there from a number of different manufacturers. .   All of the Grove connectors are the same size and have four wires but come in four flavors:  I2C, Digital, Analog and Serial.   The magical part of these devices is since the plugs are keyed, you cannot plug them in backwards.  This means that you can’t destroy the boards.  

Moving to this connector system for all of our products means that far less parts get blown up and put in the SwitchDoc Labs “Box of Death” of destroyed parts.  If you plug them in the wrong slot (Like an digital board into an I2C slot), it doesn’t destroy the part, it just doesn’t work. Going with an all Grove design means there is absolutely no soldering required for SmartPlantPi which makes the project much more accessible for all levels of makers. We had most of the sensors and boards already built or sourced for this design but we had to build two additional boards.   We built an inexpensive Grove Humidity/Temperature sensor because the ones on the market were just too expensive and Texas Instruments had just come out with the HDC1080 at a much lower price with an amazing set of specifications.  So we built a special board for SmartPlantPi.

The second device we had to build was an USB plug power controller.   Most of the small pumps available on the market used 12 volts and  required wring to connect it and then used a relay to control it.  We really wanted to avoid that (to stay more Maker friendly) extra set of steps and wiring and then we spotted a 5V USB powered submersible pump for aquariums and the like.   We bought a few, found out their power requirements were low (about 1 W) and that they would work just fine being powered by the Raspberry Pi USB ports.   So then we took our current USB PowerControl solid state relay and we could control the pump via the GPIOs of the Raspberry Pi.   Perfect.  Well, almost. Because of the way Pi2Grover (the hat which converts the Raspberry Pi over to Grove connectors) works, when the Raspberry Pi started up, the USB PowerControl would turn on and run the pump until the SmartPlantPi program was run, turning it off. This was not a good situation.   So, we redesigned the USB PowerControl to use Grove connectors (the previous version required a single jumper wire.  No soldering, but not very friendly) and build the device so it always powered up in an OFF state when connected to the Raspberry Pi through the Pi2Grover board.   Now everything worked.

 

The last piece of the hardware puzzle was building a rotary dial for input.   While there were some Grove rotary dials out on the market, none of them supported the push button function that was part of the rotary dial.   So we designed and built a rotary dial that had two Grove connectors on the device, one for the rotary turning dial and one for the button (you push the shaft in to activate the button).

 

The key piece of the hardware was the 4 channel 16 bit  Analog to Digital Converter (ADC).   In our opinion, this is the missing piece of hardware on the Raspberry Pi.  Arduinos have this built in, but there isn’t one on the Raspberry Pi.   Luckily, we had successfully funded a Kickstarter about a year ago to build one that was easily connected to the Raspberry Pi via a Grove connector, so we had it already done.   We connect the moisture sensor and the air quality sensor to the Raspberry Pi though this I2C device. With all these pieces in place, we could design the software.

 

 

 

 

 

The Software

We first built a test program that actuated all of the hardware devices (including the pump) one by one and reported to the screen.   This allowed us to get all of the pieces working with the Raspberry Pi before we started the SmartPlantPi system. The software for SmartPlantPi is written in Python.   We chose Python because it comes pre-installed on the Raspberry Pi and it is a good accessible language for beginners to modify. While the SmartPlantPi system is pretty simple, the architecture of the software is pretty sophisiticated.  SmartPlantPi is a real time system.   What we mean by “real time” is that the program has to monitor environmental variables and then do certain actions at certain times.   In a nutshell, we used a scheduler to build and run a set of tasks to check the moisture content of the plant and then turn the pump on if applicable.   We detect that we are out of water by monitoring the flow of water from the glass to the plant.   No water pumped?  We are out of water.   Note we have no way built in to tell the water level, although if you fill the water reservoir the next time SmartPlantPi tries to water your plant, it will notice that you have filled it.  You can also tell SmartPlantPi you have filled the water by pushing the button once. So, we have a task to check the water, update all the environmental sensors and a variety of other tasks.   All source included, all open source.   Here is just a little snipped of the code.  This is where we put all the tasks into the scheduler for periodic execution:

# prints out the date and time to console
scheduler.add_job(tick, 'interval', seconds=60
# blink optional life light
scheduler.add_job(blinkLED, 'interval', seconds=5, args=[1,0.250])

# update device state
scheduler.add_job(updateState, 'interval', seconds=10)

# check for alarms
scheduler.add_job(checkForAlarms, 'interval', seconds=15)

# send State to PubNub
scheduler.add_job(publishStateToPubNub, 'interval', seconds=10)

# check and water
scheduler.add_job(checkAndWater, 'interval', minutes=15)

# save state to pickle file
scheduler.add_job(saveState, 'interval', minutes=30)

We also have software for sending information up to PubNub and Freeboard.io so every SmartPlantPi maker gets their own IOT Dashboard. We also have developed an interface to the Amazon Alexa and Echo, so we can ask SmartPlant questions and SmartPlant will answer them through Alexa.   Unfortunately, it is very complex to set up so we didn’t include that in the SmartPlantPi project and won’t until we develop a much simpler way of allowing makers to hook up to Alexa with SmartPlantPi.

What about Alexa and the Amazon Echo and Dot?

We have this working right now in the laboratory. It's pretty cool to be able to ask your SmartPlant how it is doing! While we will be publishing a tutorial on how to connect your SmartPlant Pi up to your own Alexa skill, it is a pretty complicated process for a beginner. That will be the real magic!

 Product Videos

SmartPlantPi Kickstarter Video
  • SmartPlantPi Kickstarter Video
    Short video describing the SmartPlantPi Raspberry Pi Project Kit
  • KS9ButtonDisplay
  • SmartPlantPi Rotary Button Display
    Video showing how the SmartPlantPi Rotary Button works with th...
  • SmartPlantPi Alarm Displays
    Alarms showing on the SmartPlantPi Raspberry Pi Project OLED d...

 Find Similar Products by Category

 Product Reviews

  1. Great Starter For Plant Care

    Posted by Ted Revenue on May 17th 2017

    Just received my kit but as an avid gardener one thing I would like to see in the future, as an add-on, would be an affordable Ph sensor !!


You Recently Viewed...

 

What's News

newsletter

Copyright 2017 SwitchDoc Labs. All Rights Reserved.
 Sitemap

Click the button below to add the SmartPlantPi - Raspberry Pi based Smart Plant Kit - No Soldering! to your wish list.