Chick — Chicken Coop v3 Configuration v3.3

The project is designed to automate the maintenance of birds, for example, for a chicken coop. The emphasis is on maintaining a comfortable climate and automatic feeding.

Indicators
  •  SelfTemp Controller temperature
  •  AirTemp Air temperature
  •  HeatTemp Heater temperature
  •  AirHum Air humidity
  •  SunLight Illumination
  •  WaterLevel Level in the drinking bowl
  •  EggAmount Egg production
  •  WindowPos Window position
Devices
  •  SelfFan Controller cooling
  •  AirFan Ventilation
  •  AirHeat Air heating
  •  SunLamp Lamp
  •  WaterBowl Drinking bowl
  •  FoodBowl Nutrition
  •  Window Window

Chick PCB v3.2  

The project involves the use of a large number of sensors and devices, so the PCF8574 chip is used to increase the number of GPIO pins. This basic version of the project is used most often, plus it provides for the connection of all declared sensors and devices. Of course, it is not necessary to connect them all. Please note that this version of the printed circuit board does not have built-in relays for controlling devices. Instead, the board contains connectors for connecting various universal modules, such as Universal B , Universal D , Universal E

Printed circuit board and description

Typical board size is 92x92mm .

Управление вентилятором  SelfFan  осуществется прямо с платы U=5V, Imax=200mA .

The SelfTemp module temperature control sensor can be placed directly on the board without connecting via a connector.

The circuit can be powered from a single 12V power source, thanks to the built-in voltage converter based on the LM7805 stabilizer, which is activated by DC5V jumper.

The circuit provides for connection of an external Led , signaling the operation of the controller.

The circuit provides for the supply of power to PwrSens sensor for the WaterLevel sensor only at the time of measurements. This is done in order to reduce the corrosion effect of sensor degradation.

To determine the water level in the drinker, a WaterLevel sensor with an analog output is used. It can be of a capacitive or resistive type, the maximum signal voltage is up to 3.2V . The sensor is calibrated in the "Controller Service" section, "Configuration" tab. To do this, set the minimum and maximum values when it is completely wet and dry. Based on these values, the resulting reading from 0 to 100% will be formed. You can check the readings in the "Controller Service" section, "Report" tab, where the current analog value WaterLevelRaw is displayed.

EggAmount and WindowPos pins use interrupts and are connected via an optocoupler. The sensors are powered by 12V . The circuit includes a pull-up resistor, so a reed switch or an A3144 Hall sensor can be connected directly.


Universal! The designed board provides for partial placement of elements. For example, if you do not plan to use any sensor or device, then you can not solder their radio components.
Attention! When working with high voltage, remember that it is life-threatening and can cause a fire!

Schematic diagram

Attention! The proposed scheme is typical and can be modernized according to your preferences and requirements. You do not have to use all the components indicated in the scheme and connect them! Similarly, you can use this project not for its intended purpose, replacing devices and components with any others.

Recommended components

Power supply HLK-PM12 from 220V to 12V
Radial fan 30x30x10mm, 5V 150mA
PCF8574 Port Expander
1-Wire Sensor DS18B20 - Temperature Sensor
I2C BME280 Module - Temperature, Humidity and Pressure Sensor
I2C GY-21 HTU21 Module - Temperature and Humidity Sensor
Capacitive soil moisture sensor
Water level sensor
Light sensor BH1750
Reed switch MKA-14103
Hall sensor A3144 digital
Relay SSR-40 DA solid state and silent
Pneumatic Diaphragm Water Pump Motor R365
Plastic Solenoid Valve DCF-HS15
Motor engine JGA25-370 with gearbox