Building a smart temperature controller for your room
To control your room's temperature, we can build a smart temperature controller. In this case, we use a PID (proportional–integral–derivative) controller. When you set a certain temperature, a PID controller will change the temperature by turning either cooler or hotter. A PID controller program is developed using Python, which runs on the Raspberry Pi board.
Assume cooler and heater machines are connected via a relay. We can activate cooler and heater machine by sending HIGH
signal on a relay.
Let's build!
Introducing PID controller
PID control is the most common control algorithm widely used in industry, and has been universally accepted in industrial control. The basic idea behind a PID controller ...
Get Smart Internet of Things Projects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.