Code Monkey home page Code Monkey logo

powerplant's Introduction

PowerPlant

This project documents how I'm automatically watering my patio plants with a solar powered Arduino and aquarium pump.

I wrote this code before I left for an extended vacation. My wonderful neighbor refilled the 8L container every few days and watered the parts the soaker tube did not water well. Water is pumped vertically from the reservoir in 1/4" tubing, then pushed through three rows of soaker tubing on the three rows of herbs. The water feeds down off the pallet and runs the length of my balcony, covering all my plants.

This photo was taken the day we got back!

This is a 10W solar panel with a small 12V 7Ah Sealed Lead Acid Battery. The only other electrical components are a insanely cheap 99 cent shipped eBay charge controller and some male/female barrel plugs.

The Arduino is powered from the solar panel's battery, through an automotive phone charger . It takes 12-24V and has a pair of 2.1A 5V USB ports. My aquarium/fountain pump is designed for 12V but runs fine on unregulated 11-14V DC from the battery.

Note: The above links to Amazon products are affiliate links. Any income earned will fund future open source automated gardening projects!

Here's a Fritzing image of the circuit breadboarded out. The ? PCB is an INA219 breakout for monitoring the power consumption of the pump.

The circuit

Components

  • Rectifier Diode 1N4001
  • 12V aquarium Pump (Motor on diagram)
  • Arduino
  • Male + Female Power plugs for pump. Pass-through ports for power.
  • TIP120 NPN-Power transistor to switch the pump on and off
  • 4k Ω Resistor
  • $2 RTC Module DS1302 from eBay
  • INA219 for current monitoring.

powerplant's People

Contributors

dannyiland avatar

Stargazers

James Hurford avatar Stefano Zaghi avatar

Watchers

James Hurford avatar  avatar

Forkers

jlokimlin

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.