Code Monkey home page Code Monkey logo

growpizero's Introduction

growPi-Zero

Raspberry Pi Zero WH, with GrovePi Zero. Checks ground moisture. If moisture readings are "Dry" for x consecutive intervals, the waterpump will activate. Data is saved to moisture.csv.

growPi

Hardware

Setup

  1. Download and burn Raspbian to SD card.
  2. Do initial Raspbian setup, make sure to setup an internet connection.
  3. Update Raspbian:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
  1. Attach GrovePi Zero To Raspberry Pi Zero and run:
$ sudo curl -kL dexterindustries.com/update_grovepi | bash -s -- --bypass-gui-installation
$ sudo reboot
  1. After reboot run:
$ sudo i2cdetect -y 1
  • If the install was succesfull, you should see "04" in the output.
  • See GrovePi Setup if unsuccesfull.
  1. Connect waterpump to Mini Fan board:
  • Carefully take off the plastic shell of both the jumperwires, on one end.
  • Pull the waterpump wires through the small holes of the shells.
  • Put the waterpump wires in the stripped opening of the jumperwires and attach them with some plyers
  • Pull back the shells.
  • Attach the other end of the jumperwires to the Mini Fan board, where the Mini Fan plug normaly goes.
  • Attach aquarium tubing and put in watercontainer. waterpump
  1. Connect sensors to the GrovePi ports:
Module/Sensor Port
Moisture Sensor A0
Light Sensor A1
Mini Fan board (waterpump) D3

Feel free to use different ports, just be sure to change them in growpi_zero.py.

  1. Launch growPi:
$ python growpi_zero.py

Notes

  • The waterpump in this setup produces about 5ml/second. Make sure to test how much your setup produces, results may vary.

growpizero's People

Contributors

graffenwalder avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.