Arduino Temperature Controller

52,791

56

12

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

Be the First to Share

    Recommendations

    • Mason Jar Speed Challenge

      Mason Jar Speed Challenge
    • Bikes Challenge

      Bikes Challenge
    • Remix Contest

      Remix Contest

    12 Discussions

    1
    titanren
    titanren

    3 years 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);

    0
    lot12345678910
    lot12345678910

    Reply 1 year ago

    What helped me is to change the #include <DallasTemperature.h> to
    #include <DS18B20Events.h>

    0
    AuntM
    AuntM

    Reply 2 years ago

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

    0
    alibaba42
    alibaba42

    1 year ago

    Very urgent help

    Error.png
    0
    JimW11
    JimW11

    Question 1 year ago

    Could multiple sensors and relays be hooked up? I have a DIY anodizing setup and want to make ardunio control for my heated baths rather than manually with thermometers. I would need to have 2-3 sensors set to different temps

    0
    nedne
    nedne

    Question 2 years 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

    0
    ChristopherF103
    ChristopherF103

    Answer 2 years 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
    timoteij
    timoteij

    Question 2 years 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?

    0
    tomatoskins
    tomatoskins

    3 years ago

    What a great use of an aurduino!

    0
    titanren
    titanren

    Reply 3 years ago

    Hi, do you know how to fix the error

    OneWire oneWire(ONE_WIRE_BUS);

    Thanks

    OneWire oneWire(ONE_WIRE_BUS);.jpeg
    1
    titanren
    titanren

    3 years ago

    anyone can help with

    OneWire oneWire(ONE_WIRE_BUS);

    when I upload the code . it show the error

    how to fix it .