0
  • MENU
  • SHOP
    • HOME
    • NEW PRODUCTS
    • ARDUINO
    • RASPBERRY PI
    • BEAGLEBONE
    • NEOPIXELS
    • WEARABLES
    • COSPLAY/COSTUMING
    • YOUNG ENGINEERS
    • PROTOTYPING
    • HALLOWEEN
    • KITS & PROJECTS
    • BREAKOUT BOARDS
    • DEVELOPMENT BOARDS
    • RESELLER & UNIVERSITY PACKS
    • LCDS & DISPLAYS
    • LEDS
    • POWER
    • CABLES
    • TOOLS
    • ROBOTICS & CNC
    • ACCESSORIES
    • COMPONENTS & PARTS
    • SENSORS
    • EL WIRE/TAPE/PANEL
    • 3D PRINTING
    • BOOKS
    • SOFTWARE
    • WIRELESS
    • GIFT CERTIFICATES
    • INTERNET OF THINGS - IOT
    • PARTICLE
  • BLOG
    • HOME
    • 3D PRINTING
    • ART
    • RASPBERRY PI
    • RANDOM
    • ARDUINO
    • WEARABLES
    • SCIENCE
    • COSTUMING
    • COSPLAY
  • LEARN
    • HOME
    • COMPONENTS
    • SENSORS
    • HACKS
    • ADAFRUIT PRODUCTS
    • MAKER BUSINESS
    • PROJECTS
    • LEDS
    • RASPBERRY PI
    • LCDS & DISPLAYS
    • EL WIRE/TAPE/PANEL
    • TOOLS
    • MICROCONTROLLERS
    • LEARN ARDUINO
    • CUSTOMER PROJECTS
    • BEAGLEBONE
    • CIRCUIT PLAYGROUND
    • 3D PRINTING
    • TRINKET
    • ROBOTICS
    • COLLIN'S LAB
    • COMMUNITY SUPPORT
    • WEARABLES
    • ADAFRUIT IO
    • ARDUINO
    • FEATHER
    • WIRELESS
  • VIDEOS
  • SIGN IN
  • SIGN OUT
  • Shop
  • Learn
  • Blog
  • Forums
  • LIVE!
  • AdaBox
  • IO
0
  • Popular Categoriesview all
    • 3D printing (11335)
    • Raspberry Pi (8254)
    • art (7555)
    • wearables (4424)
    • arduino (4033)
    • science (3787)
    • random (3548)
    • costuming (2935)
    • cosplay (2683)
    • educators (2466)
    • robotics (2430)
    • music (2309)
    • community (2255)
    • adafruit learning system (2061)
    • CircuitPython (1861)
    • leds-lcds (1840)
    • space (1824)
    • maker business (1821)
    • history (1713)
    • ask-an-engineer (1649)
    New Postsview all
    • April 21, 2021 at 8:45 pm
      Making Simple, Effective Game Terrain Without…
    • April 21, 2021 at 8:00 pm
      ASK AN ENGINEER is THURSDAY THIS WEEK ONLY…
    • April 21, 2021 at 5:35 pm
      JP’s Product Pick of the Week 4/20/21 QT Py RP2040…
    Featured Postsview all
    • April 16, 2021 at 2:00 pm
      There are now over 200 boards that support…
    • March 30, 2021 at 8:20 am
      New Gift Guide: Books
    • March 30, 2021 at 12:00 am
      Celebrating 200 Volumes of New nEw NEWs From…

BLOG

November 25, 2017 AT 5:00 am

Solar Powered Internet Connected Lawn Sprinkler

Esp8266 patio

Here is an inventive project with a great write up. Part watering system and part pest deterrent, this sprinkler uses a Feather HUZZAH operate over wifi. Thanks to Lenin for sharing this with us. Via Moving Electrons:

I’ve been looking for an excuse to do a little project with Adafruit’s Feather HUZZAH board and MicroPython. As an engineer who graduated some years ago, having a Wi-Fi enabled micro-controller which runs (Micro) Python 3 and costs less than $20 is really amazing.

My initial plan was to use this automatic lawn sprinkler to be a rodent deterrent to keep rabbits and squirrels out of my lawn, but I have also used it to keep flower beds and newly planted trees hydrated. It can also be used to prank your friends. In any case, those are just excuses, I really wanted to tinker with electronics and Python.

This project has several moving parts, but I’ll go through each step in detail and will link to key tutorials and instructions.

Esp8266 diagram

A fundamental part of this project is the MQTT protocol, which is a Client-Server Internet of Things connectivity protocol. It’s fast, easy to implement and allows communication between the Feather Huzzah (MQTT client) and the MQTT Server/Broker.

MQTT comes bundled within MycroPython, and since it’s widely used, it allows the Feather Huzzah to talk with several automation services like IO – Adafruit, Cayenne or Initial State. I’ll be using Home Assistant which is a popular home automation system built on Python that runs on Unix/Linux based computers and NAS devices (I’m running it on a Mac Mini) . Although Home Assistant comes with an MQTT server, it’s fairly bare bones, so I’ll be using Mosquitto to be the link (i.e. broker) between the MQTT client on the Feather Huzzah and Home Assistant.

I tried several configurations and settled on this one because of its versatility: the lawn sprinkler can be operated manually from the host computer or mobile devices running Home Assistant. It can also be activated through automation setup on Home Assistant or even through standalone python scripts interacting with Mosquitto. My final goal is to have it operate based on image recognition/computer vision, but that’s going to take me some time to implement.

Learn More!


Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Join 27,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — To make it through a tough business cycle, layoffs should be a last resort

Wearables — Frame it with PVC

Electronics — Tristates!

Python for Microcontrollers — Python on Microcontrollers Newsletter: CircuitPython available for 200 boards, MicroPython release and more! #Python #Adafruit #CircuitPython @micropython @ThePSF

Adafruit IoT Monthly — ESP Earrings, RP2040 WiFi, and more!

Microsoft MakeCode — Mechanical Coin Bank

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — JP’s Product Pick of the Week — 4pm Eastern TODAY! 4/20/21 @adafruit @johnedgarpark #adafruit #newproductpick

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.

Filed under: projects, python —
Tags: feather, huzzah, project, python, User Submitted — by Ben

Comments Off on Solar Powered Internet Connected Lawn Sprinkler
  • Contact Us
  • Tech Support Forums
  • FAQs
  • Shipping & Returns
  • Terms of Service
  • Privacy & Legal
  • About Us
  • Press
  • Educators
  • Distributors
  • Jobs
  • Gift Cards
“Striving for excellence motivates... striving for perfection is demoralizing”
Harriet B. Braiker
A Minority and Woman-owned Business Enterprise (M/WBE)