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

    • Toys Contest

      Toys Contest
    • Big and Small Contest

      Big and Small Contest
    • Make it Glow Contest 2018

      Make it Glow Contest 2018

    8 Discussions

    0
    None
    nedne

    Question 8 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
    0
    None
    ChristopherF103nedne

    Answer 7 months ago

    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!

    0
    None
    timoteij

    Question 9 months ago on Step 1

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

    1
    None
    titanren

    1 year ago

    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
    0
    None
    AuntMtitanren

    Reply 11 months ago

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

    0
    None
    titanrentomatoskins

    Reply 1 year ago

    Hi, do you know how to fix the error

    OneWire oneWire(ONE_WIRE_BUS);

    Thanks

    OneWire oneWire(ONE_WIRE_BUS);.jpeg
    0
    None
    titanren

    1 year ago

    anyone can help with

    OneWire oneWire(ONE_WIRE_BUS);

    when I upload the code . it show the error

    how to fix it .