Arduino Temperature Controller

Published

Introduction: Arduino Temperature Controller

Control the temperature of your aquarium or greenhouse

The sensor (DS18b20) measures the temperature of your aquarium or greenhouse.
The display shows the current temperature and the status: cooling or heating.

<25°C -> Relay Channel 1 active -> heating
>25°C -> Relay Channel 2 active -> cooling

You can easily change the temperature values in the arduino code.

Step 1: Parts

Step 2: Arduino Board

Step 3: Code

Share

    Recommendations

    • Water Contest

      Water Contest
    • Oil Contest

      Oil Contest
    • Creative Misuse Contest

      Creative Misuse Contest

    8 Discussions

    0
    user
    nedne

    Question 3 months ago

    I get the following error message, how can it be solved?

    Arduino: 1.8.5 (Windows 10), Board:"Arduino/Genuino Uno"

    C:\Users\Administrator\Downloads\FNPV303IWE4P0QR\FNPV303IWE4P0QR.ino:10:31: fatal error: DallasTemperature.h: No such file or directory

    #include <DallasTemperature.h>

    ^

    compilation terminated.

    exit status 1

    Error by compileren board Arduino/Genuino Uno

    1 more answer

    Hopefully you got this to work! If not check to see if you've downloaded the DallasTemperature Arduino library. The error you have usually means it wasn't installed or done properly. If you don't know how to do that, check out a YouTube video on how to install Arduino libraries.
    Happy Hacking!

    Hello, how can i put 5 key button pad in this project, so i can manualy set the wanted temperature with these 5 buttons?

    please help me to fix this problem

    when I upload the code show me it

    LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);

    1 reply

    replace "0x3F" with "0x27" (your lcd address)

    Hi, do you know how to fix the error

    OneWire oneWire(ONE_WIRE_BUS);

    Thanks

    OneWire oneWire(ONE_WIRE_BUS);.jpeg

    anyone can help with

    OneWire oneWire(ONE_WIRE_BUS);

    when I upload the code . it show the error

    how to fix it .