Skip to content

bschlagheck/automatic-chicken-feeder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic chicken feeder

Overview

The automatic chicken feeder is a project developed to automate the feeding of chickens. This system is designed to increase efficiency in poultry farming, optimize feeding, and reduce the daily maintenance effort for poultry care.

Feeder

Features

  • Automated feeding at scheduled times
  • Configurable feeding schedules and quantities through a web-based user interface
  • Secure storage of feeding data in the microcontroller's permanent memory
  • Creates a secure Wi-Fi network for system configuration and monitoring
  • Can enter a power-saving mode to extend battery life

Hardware

  • ESP32 microcontroller
  • Motor control module (e.g., servo motor)
  • DS3231 Real-Time Clock module for accurate timekeeping
  • Smartphones, tablets, or computers with a web browser and Wi-Fi
  • Power supply (battery or power adapter)

Installation and Configuration

  1. Clone this repository.
  2. Rename data/config.json-template to data/config.json and change the default values to your preferences.
cp data/config.json-template data/config.json
  1. Install dependencies (VSCode extension PlatformIO IDE and PlatformIO Core).
  2. Configure the platformio.ini file to select the correct board and port, or start a Nix shell.
nix-shell

Makefile

The Makefile provides a set of commands to build, flash, and monitor the microcontroller. You might need to adjust the PORT variable in the Makefile to match your system configuration. The default value is /dev/ttyUSB0. The following commands are available:

  • make help: Show help message
  • make shell: Start a Nix shell
  • make build: Build firmware
  • make flash: Flash firmware to microcontroller
  • make monitor: Monitor serial output
  • make clean: Clean build files
  • make fs: Build the SPIFFS file system
  • make uploadfs: Upload the SPIFFS file system
  • make reupload: Reupload the SPIFFS file system and open a serial monitor
  • make reload: build, flash and monitor
  • make start: build SPIFFS file system, upload SPIFFS file system, build firmware, flash firmware, and open a serial monitor

Helpful Links

Usage

When you use the ESP32 in Access Point mode, the ESP32 creates its own WiFi network. The default IP address to access the ESP32's web server is: http://192.168.4.1 You can open your web browser and enter this IP address to access the web services and features provided by the ESP32.

Contributions and Collaboration

We welcome contributions and collaboration on this project. If you would like to make improvements, fix bugs, or add new features, please create an issue or a pull request.

Author

About

An automatic chicken feeding system. Features include scheduled feeding, web-based configuration and power saving functions.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • C++ 62.0%
  • JavaScript 20.6%
  • CSS 9.3%
  • HTML 4.1%
  • Makefile 3.8%
  • Nix 0.2%