Skip to the content
2 layers54.6 × 71.8 mmThermostat, the printed circuit board in 3D

A programmable thermostat on ATmega8A and DS18B20.

Size
54.6 × 71.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
31
Nets
35
Pads
108
Tracks, vias
218, 10
Routed
Yes
KiCad
KiCad 4
Created
16 Jul 2016
Updated
7 Oct 2017

Overview

Thermostat is an open-source printed circuit board by protaskin, from the protaskin/AVRThermostat repository on GitHub, published under the MIT licence. It is a 2-layer board of 54.6 × 71.8 mm with 31 parts on 35 nets, routed with 218 tracks and 10 vias.

It is built around the ATMEGA8-16PU, DS18B20 and BC547, with the CC56-12EWA among its other parts. Its parts include 8 connectors, 7 resistors, 4 capacitors, 4 switches and 3 diodes. It belongs with the home automation and IoT boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

4

README

README.md

AVRThermostat

AVRThermostat is, as the name implies, a programmable thermostat, which is built on

  • Atmel AVR ATmega8A microcontroller,

  • digital thermometer DS18B20 by Maxim Integrated,

  • four-digit seven-segment led display with common cathode (like CC56-12 or FYQ-5641A),

and uses a relay to control a heater or fan. The device can be used as a simple thermometer as well. The sensor measures temperatures from -55°C to +125°C with ±0.5°C accuracy from -10°C to +85°C.

The thermostat has 4 buttons (Plus, Minus, Set, Reset) that are used to set up parameters--the setpoint and the zone (delta). The longer you hold the Plus/Minus button, the faster a parameter increases/decreases. The Reset button is used to set the standard value to a parameter, also to switch off the thermostat mode. Parameters are saved in EEPROM after editing.

The Plus/Minus buttons also are used to adjust the display brightness when the device is not in the mode of editing of a parameter.

Two leds indicate the state of the relay. If the device is not in the thermostat mode, then both leds do not light.

If the device cannot establish connection with the sensor, the display shows an error.

Schematics and PCB Layout r3.x

A KiCad project, which includes a schematics and PCB layout, is located in the Design directory. Please be aware that the project is made from scratch and I have not yet used the new PCB layout myself, therefore it may have errors.

Schematics

Schematics r3.1

PCB 3D Model

PCB 3D Model r3.0

Versioning

For transparency and insight into our release cycle, and for striving to maintain backwards compatibility, AVRThermostat will be maintained under the Semantic Versioning guidelines as much as possible.

For more information on SemVer, please visit http://semver.org/

License

Copyright 2014-2017 Artyom Protaskin

Licensed under the MIT License:

http://opensource.org/licenses/MIT

Parts

31
QtyValueFootprintReferences
6CONN_01X01_MALEPin_Headers:Pin_Header_Straight_1x01_Pitch2.54mmJ2, J3, J4, J5, J6, J7
4SW_PushButtons_Switches_THT:SW_PUSH_6mm_h5mmSW1, SW2, SW3, SW4
3100nFCapacitors_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC2, C3, C4
3330Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R5, R7
34.7kResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2, R3, R4
2LEDLEDs:LED_D3.0mmD2, D3
11N4148Diodes_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1
147uFCapacitors_THT:CP_Radial_D5.0mm_P2.00mmC1
1680Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR6
1ATMEGA8-16PUHousings_DIP:DIP-28_W7.62mmU1
1BARREL_JACKConnectors:BARREL_JACKJ1
1BC547TO_SOT_Packages_THT:TO-92_Molded_NarrowQ1
1CC56-12Displays_7-Segment:CC56-12GWAAFF1
1DS18B20TO_SOT_Packages_THT:TO-92_Molded_NarrowU2
1Screw_Terminal_1x03Connectors_Terminal_Blocks:TerminalBlock_Pheonix_MKDS1.5-3polJ8
1TIANBO-HJR-4102-LRelays_THT:Relay_SPDT_HJR-4102RL1

Similar boards

  • 2 layers55.4 × 52.8 mmThermometer, the printed circuit board in 3D

    Thermometer

    enragedcanadiangoose/7-Segment-Thermometer

    A simple project using 2 onewire thermal sensors an arduino nano and a 4 digit common cathode 7 segment display

    18 partsGPL-3.0
  • 2 layers57 × 55.8 mmDesignLab semV, the printed circuit board in 3D

    DesignLab semV

    adbik4/DL-FinalProject

    The design and implementation of a measurement and data logging system based on ATmega328pb microcontroller. The system is intended for measuring temperature and pressure using dedicated digital sensors: DS18B20 and…

    33 parts
  • 2 layersDs18b20 leds, the printed circuit board in 3D

    Ds18b20 leds

    dk2233/PicThrowDK

    pic16f , pic18f projects

    3 parts1GPL-2.0
  • 2 layers77.5 × 34.3 mmLan64usb, the printed circuit board in 3D

    Lan64usb

    ThKattanek/lan64usb

    Diese Hard- und Software ermöglicht den Transfer von Programmen vom PC zum Commodore 64 (C64).

    19 parts3GPL-2.0
  • 2 layers68.5 × 181 mmNixie2, the printed circuit board in 3D

    Nixie2

    cfallin/nixie2

    Circuit design and firmware for a GPS-synchronized Nixie-tube clock

    51 parts1
  • 2 layersAvrisp, the printed circuit board in 3D

    Avrisp

    ildus/avrisp

    schematic and pcb for http://www.fischl.de/usbasp/

    25 parts1
  • 2 layers80 × 80 mmEeprom programmer, the printed circuit board in 3D

    Eeprom programmer

    jkreucher/eeprom-programmer

    A EEPROM Programmer for my z80 stuff. Supported EEPROMS: 28C64, 28C256

    23 parts1MIT
  • 2 layers124.5 × 99.1 mmVetrnik power, the printed circuit board in 3D

    Vetrnik power

    ondras12345/vetrnik

    Electronics for heating water with power from a 2 kW wind turbine

    138 parts

Questions

How big is the Thermostat PCB?

It measures 54.6 × 71.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Thermostat use?

31 parts, built around the ATMEGA8-16PU, DS18B20, BC547 and CC56-12EWA. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Thermostat KiCad files?

From the protaskin/AVRThermostat repository on GitHub, at the commit this page was made from: the board is Design/Thermostat.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Thermostat design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).