In this tutorial, we will build a thermostat to independently activate and deactivate any domestic device depending on the temperature.

We will be able to display the temperature and the activation status of the device connected to the relay on the 16×2 LCD display. Moreover, on the sketch we can modify the temperature, detected by the LM35 sensor, setting the desired value of switching on and off of the device above a certain threshold.

I2C Sketch

Normal 16×2 LCD


Please enter your comment!
Please enter your name here

− five = two

This site uses Akismet to reduce spam. Learn how your comment data is processed.