Dog — Doghouse v3 Configuration v3.2

Project for home automation of a dog house. The main tasks will be heating and feeding the pet.

Indicators
  •  SelfTemp Controller temperature
  •  AirTemp Air temperature
  •  HeatTemp Heater temperature
  •  AirHum Air humidity
  •  WaterLevel Level in the drinking bowl
Devices
  •  SelfFan Controller cooling
  •  AirHeat Air heating
  •  WaterBowl Drinking bowl
  •  FoodBowl Nutrition

Dog PCB v3.1  

This is the basic version of the project, which contains a compact power supply, as well as various relays for controlling all devices. Some devices assume 12V power supply. However, the board has device signal connectors and you can connect various universal modules to them, such as Universal B , Universal D , Universal E

Printed circuit board and description

Typical board size is 92x92mm .

The SelfFan fan is controlled directly from the board U=5V, Imax=200mA .

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

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

Contains a compact HLK-PM12 12V power supply.

Contains LM7805 stabilizer to convert voltage to 5V .

The power voltage is connected directly to the AirHeat air heating relay with a maximum current of 16A .

Contains a solid state relay block based on IRF540N for   control of WaterBowl drinking fountain with a voltage of 12V and a power of no more than 2W .

Contains a solid state relay block based on IRF540N to control FoodBowl power supply with a voltage of 12V and a power of no more than 2W .

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.



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

Radial fan 30x30x10mm, 5V 150mA
I2C BME280 Module - Temperature, Humidity and Pressure Sensor
I2C GY-21 HTU21 Module - Temperature and Humidity Sensor
1-Wire Sensor DS18B20 - Temperature Sensor
Capacitive soil moisture sensor
Resistive Soil Moisture Sensor LM393
Water level sensor
Plastic Solenoid Valve DCF-HS15
Pneumatic Diaphragm Water Pump Motor R365
Motor engine JGA25-370 with gearbox