Chick - chicken coop v3 Configuration v3.3

The project is designed to automate the keeping of birds, e.g. for a hen house. The focus is on maintaining a comfortable climate and automatic feeding.

Readings
  •  SelfTemp Board temperature
  •  AirTemp Air temperature
  •  HeatTemp Heater temperature
  •  AirHum Air humidity
  •  SunLight Illumination
  •  WaterLevel Water level
  •  EggAmount Egg production
  •  WindowPos Window position
Devices
  •  SelfFan Cooler
  •  AirFan Ventilation
  •  AirHeat Air heater
  •  SunLamp Lamp
  •  WaterBowl Water Bowl
  •  FoodBowl Food Bowl
  •  Window Window

Chick PCB v3.2  

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

Printed circuit board and description

Typical board size is 92x92mm.

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

The temperature sensor of the module SelfTemp, can be placed directly on the board without connection via a connector.

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

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

The circuit provides power supply PwrSens for the sensor WaterLevel, only at the moment of measurement. This is done in order to reduce the corrosive effect of sensor degradation.

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

The outputs EggAmount and WindowPos use interrupts and are connected via an optocoupler. The supply voltage of the sensors is 12V. The circuit provides a pull-up resistor, so a reed switch or Hall sensor A3144 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, you can not solder their radio components.
Attention! When working with high voltage, remember that it is dangerous to life and can cause fire!

Schematic diagram

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

Recommended components

HLK-PM12 power supply unit from 220V to 12V
Radial fan 30x30x10mm, 5V 150mA
PCF8574 port expander
DS18B20 1-Wire Sensor - Heat Sensor
I2C module BME280 - temperature, humidity and pressure sensor
I2C module GY-21 HTU21 - temperature and humidity sensor
Capacitive soil moisture sensor
Water level sensor
Light sensor BH1750
Reed switch MKA-14103
Hall sensor A3144 digital
SSR-40 DA solid state and silent relay
Pneumatic diaphragm motor water pump R365
Plastic solenoid valve DCF-HS15
Motor motor JGA25-370 with gearbox

3D models

Enclosure for BME280/HTU21
Enclosure for base board and universal relay units.
Actuator (linear actuator) based on JGA-370 motor
Housing for limit switch KW4-3Z-3
Adapter for 120mm fan
JGY-370 motor-based bulk material metering auger

Video reviews