Skip to content

hms-11/CoopCommandESP32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoopCommandESP32

Next generation Coop Command using an ESP32 as the MCU

This is the next generation of the original, ATMEGA328P based CoopCommand found HERE.

Overview

Chickens are simple animals with lots of benefits. The downside? Humans are not the only creatures that find chickens tasty and chickens themselves require some basic maintenance and care to keep happy and healthy.

CoopCommand aims to reduce the daily labour of looking after chickens, improve their well-being as well as allow hobby-farmers the ability to go out for the night without worrying if their chickens are in danger from wandering predators.

CoopCommand Picture

Contributors always welcome, I could use people smarter than myself to keep improving this project.

You can also support this project @ Buy Me A Coffee

GOALS:

  • Allow Backyard Chicken owners the ability to increase the security and productivity of their flock while reducing the daily labour costs of chicken ownership.

  • Automatic Coop Door controlled by daylight in order to more closely track chicken behaviour.

  • Monitor and control coop and water temperatures to prevent overheating of the coop and freezing of the water.

  • "LayLight" which monitors daylight light levels and ensures chickens receive at least 14 hours of daylight to maintain laying throughout winter months.

  • Ease of installation and configuration for non-technical individuals.

  • Designed for Off Grid Operation (12-24v DC), can also be powered by a suitably sized 12-24V DC Power Supply from an AC source.

FEATURES:

TACO CHICKEN COOP COMMAND MAIN BOARD:

  • Hardware debouncing on door limit switches. Example Limit Switches

  • Pluggable Terminal Block connectors for all user-installed inputs/outputs.

  • DHT22 Input (requires 10k pullup on DHT22) for interior coop temperature. Example DHT22

  • DS18B20 Input (Pullup resistor already on board TACO CHICKEN board) for water temperature. Example DS18B20

  • GL5539 Photoresistor Input (requires GL5539 with 10K resistor as voltage divider) for daylight sensor. Example GL5539

  • Efficient SMPS for off-grid operation @ 12-24V DC.

  • TI DRV8870 Motor Driver IC w/3.6A current cabilitity & voltages up to maximimum working voltage of CoopCommand.

  • LayLight MOSFET for controlling LED lights for supplementing daylight hours to keep chickens laying even with less than 14 hours of Daylight.

  • Ventilation Fan MOSFET for controlling a fan for cooling the coop in the summer. Example Ventilation Fan

  • Water Heat MOSFET for controlling a heater for heating the water in the winter. Example Water Heater

  • USB-UART CH340 chip wirth auto-reset for ease of programming (just plug in a USB A - USB A cable and go!)

CoopCommand Picture

BLYNK:

  • Override door open or closed.

  • Monitor coop overall status (coop temperature, water temperature, fan and heat and light status).

  • Monitor door status (Open, Closed, Opening/Closing).

  • Adjust settings for all coop operations.

CoopCommand Picture CoopCommand Picture

THE BOARD:

CoopCommand uses the TacoChicken control board. Currently the board is on Rev1. The board is 100% Open Source and all files can be found HERE

If you want to purchase the pre-assembled board, I have them for sale HERE

Getting Started:

All files are included in this git-repository to get CoopCommand up and running. To get started, either create/modify your own based on this OPEN SOURCE board or buy the board HERE.

Once you have the board in hand and assembled, program can be easily loaded in using the Arduino IDE (or your preffered IDE) and a USB A - USB A cable.

First, follow the instructions in the BlynkInfo file. This will setup the needed steps to get the app going and generate a required Template ID and Device Name to be added to your program to be uploaded to the board.

Secondly, download all code files HERE. Extract all files in the CoopCommand folder into a folder all together. If you open the .ino file using Arduino IDE all other files will be loaded at same time. Insert the Template ID and Device Name into the appropriate location at the top of the sketch. Select your board (ESP32 Dev Module), select your Com Port and click upload!

CURRENT KNOWN ISSUES:

  • Loss of wifi can result in the system getting stuck in a blocked loop, resulting in no Coop control operations happening until wifi is restored.
  • Auto/Manual door function does not appear to switch correctly. System is stuck in auto mode.

THANKS

There is an incredible reddit community dedicated to reviewing PCB schematics and layouts. This project, and many others of mine would not be possible without the amazing individuals present in this community. The subreddit is https://www.reddit.com/r/PrintedCircuitBoard/ .

About

Next generation Coop Command using an ESP32 as the MCU

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published