Code Monkey home page Code Monkey logo

arduino-irrigation's Introduction

Arduino-irrigation

Arduino-irrigation is a GSM-based remote controller for irrigation systems.

Requirements

This was built on an Arduino Uno with a SIM900-based GSM shield (here's an eBay link to the one I used), and the GSMlib library.

Installation

To build and install it, I use Ino. You may be able to do it from the Arduino IDE, but I haven't tried it.

To build and install using Ino, copy the GSMSHIELD directory to lib/, tweak the pin configurations to suit your pins (the defaults should be good, though), and run:

ino build
ino upload

That will build and upload the software to the Arduino, and in a minute or so you will be able to call the Arduino and have it toggle the relay on or off (as well as send you SMS when the inputs change).

Arduino-irrigation uses authorization, which means that you will have to store up to two numbers on the SIM card (in positions 1 and 2). Those two numbers are the only ones that will be able to control it. Whenever an input event happens, Arduino-irrigation will send an SMS to the number in position 1, so that will be your main number.

Usage

The main functionality of Arduino-irrigation is that you can call it and have it toggle your system (a relay) on and off. It supports push-button relay systems (two relays, each is activated for 0.5 seconds, one turns the system on and one turns it off), for a system that has two on/off buttons, and single-relay systems that just keep one relay on while the system is on, and turn it off to shut the system down.

It also supports an "enable" input that enables SMS sending (you turn it off if you're changing things manually so you don't get notified all the time), an "in operation" input that tells the software whether the system is on or off, and three "error" relays that send SMS if they are triggered (for various failure conditions).

For a better description of how it all works, the code is (hopefully) easy to understand and concise, so I will refer you to that.

arduino-irrigation's People

Contributors

skorokithakis 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.