Git Product home page Git Product logo

esp8266-chicken-coop's Introduction

Chicken Coop Door

powered by esp8266

The controller will sync the date/time from a GPS or using a NTP server. If you have a GPS, the controller will get the coordinates of the place to calculate the sunrise and sunset.

The door opens automatically at sunrise and closes one hour after the sunset.

Here is the code

Code

If you use a GPS, the coordinates will be updated automatically The coordinates are used to calculate the sunrise/sunset time. If you are not using a gps, replace the values of:

float latitude = 44.9308; float longitude = -123.0289;

with your own values.

At first boot, you'll have to connect to the Access Point created by the esp8266 (go to 192.168.4.1) and configure your wifi network.

After esp8266 connects to your wifi, open in your browser the IP assigned, for the available commands.

Main Page

Wifi

The code allows the "coop door" to run connected to your wifi, or as stand alone in AP mode.

Wifi Mode

##DynDNS

DynDNS

The esp8266 controller commands a servo modified for continuous rotation to lift and lower a door (with two relays to reverse the rotation direction). The door mechanism is using pulleys (F/3), that way the servo doesn't have to work too hard.

Click on the image below to see a video of the door operating:

Coop door video

Everything is powered by a 10 Watt 12 Volt solar panel

Solar panel

TO DO: Use MQTT

esp8266-chicken-coop's People

Contributors

e1ioan avatar

Watchers

James Cloos avatar Marcelo Rodrigues Alves 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.