Arduino Temperature Controller

38,619

41

12

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

    • Classroom Science Contest

      Classroom Science Contest
    • Paint Challenge

      Paint Challenge
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest

    12 Discussions

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

    2 replies
    0
    None
    lot12345678910titanren

    Reply 2 months ago

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

    0
    None
    AuntMtitanren

    Reply 1 year ago

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

    0
    None
    alibaba42

    4 months ago

    Very urgent help

    Error.png
    0
    None
    JimW11

    Question 6 months 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
    None
    nedne

    Question 1 year 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 answer
    0
    None
    ChristopherF103nedne

    Answer 1 year 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 1 year 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
    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 .