Posts | Comments

Planet Arduino

Archive for the ‘ajax’ Category

There are many different ways to keep your plants watered on a schedule. [Luca Dentella] just created a new one by building the irrighino watering system. He used standard off the shelf, hardware to keep it simple. Irrighino is a complete watering system based on the Arduino Yun, featuring a user friendly AJAX interface. This allows scheduling in a manner similar to creating appointments in Outlook. It’s also possible to manually control the various water solenoids. The code is fully customizable and open source, with code available from [Luca’s] github repository. The web interface is divided in to three tabs – “runtime” for manual control, “setup” to configure the scheduling, and “events” to view system logs.

The Arduino Yun activates solenoid valves via a relay shield. A switch panel has indicator Status LED’s and three position switches. These allow the outputs to be switched off or on manually, or controlled via the Yun when in auto mode. [Luca] describes how to read three states of the switch (On-Off-On) when connected to a single analog input of the Arduino. He’s also got another tutorial describing how to connect a USB WiFi adapter to the Yun. This is handy since the Yun is mounted inside an enclosure where the signal strength is very weak. While the Yun has on-board WiFi, there is no possibility to attach an external antenna directly to the test SMA socket.

One interesting part is the commercial rain sensor. It’s a switch surrounded by a spongy material. When this material absorbs rain water, it begins to expand and triggers the switch. The Arduino sees the sensor as a simple digital input.

Check a short demo of his system in the video after the break.


Filed under: Arduino Hacks, green hacks
Nov
17

wJsonduino

ajax, gallery, Json, web server Comments Off on wJsonduino 

Is a web server page that show the Arduino’s analog and digital input pin status, the status of the pin is transmitted with json, the page detect connection problems with the Arduino device and alert the user.
All refresh code run in browser and is write in javascript and ajax.

You can find it on the [webpage] coded by [bigjohnson].



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook