If your introduction to digital electronics came more years ago than you’d care to mention, the chances are you did so with 5V TTL logic. Above 2V but usually pretty close to 5V is a logic 1, below ...
I have OpenHAB running at home for home automation. I also run an HRV for my house. The Control Panel obviously displays house and roof temperatures and controls the fans to dump air into the house ...
The project illustrates the control of a PC fan speed and using an Arduino microcontroller to read a LM35 temperature sensor. The use of an optocoupler is covered along with Pulse Width Modulation ...