Radiator Project - eseijo/arduino-projects GitHub Wiki

Introduction

This simple project uses an Arduino Nano to control a radiator. In a first approach, it will only be capable of switching on the radiator when the temperature is below a certain min value and switching it off when the temperature reaches certain max value.

Components

  • 1 x Arduino Nano.
  • 1 x 2n2222 transistor.
  • 1 x 1n4148 diode.
  • 1 x DS18B20 temperature sensor.
  • 1 x 10KΩ resistor.
  • 1 x 1KΩ resistor.
  • 1 x 12v relay.
  • 1 x 12v power supply.

Schema

Libraries

In order to use the DS18B20 temperature sensor, it is needed to import the DallasTemperature and OneWire libraries.