Temp controller for a farm
A temperature controller for a piglets farm. It has to control the temp of a nest by pwm a 230V lamp. 30 of this will be controlled by a central unit.
It will control the temp using pwm like AC phase shifting. An optocoupler will detect each zero-crossing on the mains AC line and will trigger the triac after a delay dependent on the duty cycle required. This duty cycle will be calculated by a PID control in software.
Dependending on the age of the piglets, they need diferent temperature(they are 21 days in the farm before being transferred to a fattening farm). This temps will be stored in a table.
Through the central unit, the farmer will set the temps for the table and check the diferent nests temp.
This wil be a prototype with 2 controllers (probably esp8266) and a central unit (hopefully the unit you will give to me).
The central unit wil act as an wifi AP for the other controllers.

Discussion (0 comments)