User Manual

115
Step 2: Open the code file
Step 3: Select correct Board and Port
Step 4: Upload the sketch to the SunFounder Uno board
Now, after the startup, the LCD1602 first displays Thermostatic Water Tank and then the
value of the current temperature. Press the button on the Button module to enter setup
mode. Then rotate the Rotary Encoder to change the threshold of the temperature value.
After setting a value, like 30, you can press the switch on the Rotary Encoder module to
confirm.
If the current temperature is lower than 30 (the threshold you just set), the normally open
contact of the relay is closed. Thus, the characters on the LCD become blurred and the LED
on the SunFounder Uno goes out. Touch the thermistor. Then the value displayed on the LCD
will increase and at last the LED on the Uno board will light up. Release your fingers and the
value of temperature displayed on the LCD will decrease. When the value reaches the
threshold, the contact is open, characters on the LCD blurred, and LED out.