Skip to the content
PCBKitNew board
2 layers73 × 112 mmDymBOX AVR, the printed circuit board in 3D

Regulátor teploty pro udírnu postavený na mikrokontroléru ATmega8.

Size
73 × 112 mm
Copper layers
2
Thickness
1.6 mm
Parts
50
Nets
58
Pads
178
Tracks, vias
341, 0
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
9 Apr 2026
Updated
28 Apr 2026

Overview

DymBOX AVR is an open-source printed circuit board by 2pkstartup, from the 2pkstartup/DymBOX repository on GitHub. It is a 2-layer board of 73 × 112 mm with 50 parts on 58 nets, routed with 341 tracks and 0 vias.

It is built around the ATMEGA8A-PU, AP63205WU and BC327, with the BS170, RT314A24 and TAD05-02-1-L-G among its other parts. Its parts include 17 resistors, 8 capacitors, 7 connectors, 5 transistors and 3 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

7

README

README.md

DymBOX

Regulátor teploty pro udírnu postavený na mikrokontroléru ATmega8.

Měří teplotu pomocí DS18B20, zobrazuje ji na 3-místném 7-segmentovém displeji a řídí ventilátor (PWM) a topnou spirálu (ON/OFF s hysterezí). Žádaná teplota a otáčky ventilátoru se nastavují rotačním enkodérem.

Vlastnosti

  • Měření teploty – DS18B20 (1-Wire), rozlišení 0.1 °C
  • 3-místný 7-segment display – multiplexovaný v Timer0 ISR (~163 Hz/číslice)
  • Rotační enkodér KY-040 – nastavení žádané teploty a otáček ventilátoru
  • PWM ventilátor – 11 kroků (0–100 % po 10 %), Timer1 Fast PWM 8-bit na ~977 Hz
  • Topná spirála – ON/OFF regulace s hysterezí 5 °C
  • Nastavitelný setpoint – výchozí 32.0 °C, editace po 0.1 °C

Struktura repozitáře

text
DymBOX/
├── fw/                 # Firmware (C, ATmega8)
│   ├── main.c
│   ├── CMakeLists.txt
│   ├── Makefile
│   ├── cmake/          # AVR-GCC toolchain soubor
│   └── README.md
├── hw/                 # Hardware (KiCad 8)
│   ├── DymBOX_AVR.kicad_sch    # Schéma
│   ├── DymBOX_AVR.kicad_pcb    # PCB layout
│   ├── gerber/                  # Gerber soubory pro výrobu
│   ├── dymbox_gerber.zip        # Zabalené gerbery
│   ├── 2pkstartup.pretty/      # Vlastní footprinty
│   └── DymBOX_AVR-backups/
└── README.md

Hardware

Schéma a PCB jsou navrženy v KiCadu. Gerber soubory připravené k výrobě najdete v hw/gerber/ nebo jako hw/dymbox_gerber.zip.

Hlavní komponenty

SoučástkaPopis
ATmega8Hlavní MCU (16 MHz)
DS18B20Digitální teploměr (1-Wire)
3× 7-segment (common anode)Displej – multiplexovaný
KY-040Rotační enkodér s tlačítkem
VentilátorPWM řízený (~977 Hz)
Topná spirálaON/OFF přes PB2

Zapojení pinů

text
PORTB: PB0 = seg A       PB1 = PWM fan    PB2 = heater
PORTC: PC0 = seg E       PC1 = seg D      PC2 = seg DP
       PC3 = seg C       PC4 = seg G      PC5 = DS18B20
PORTD: PD0 = ENC SW      PD1 = DIG3       PD2 = DIG2
       PD3 = ENC CLK     PD4 = ENC DT     PD5 = DIG1
       PD6 = seg B       PD7 = seg F

Firmware

Firmware je napsaný v C pro AVR a překládá se pomocí avr-gcc + CMake.

Požadavky

bash
sudo apt install gcc-avr avr-libc binutils-avr avrdude cmake

Kompilace a nahrání

bash
cd fw
cmake -B build -DCMAKE_TOOLCHAIN_FILE=cmake/avr-gcc.cmake
cmake --build build              # Kompilace
cmake --build build --target flash   # Nahrání do MCU (USBasp)
cmake --build build --target fuses   # Nastavení fuses

Velikost firmware

text
Program:  ~2186 bytes (26.7 % Flash)
Data:       ~61 bytes  (6.0 % SRAM)

Ovládání

Zařízení má 3 režimy zobrazení:

RežimDisplejOvládání
Teplota (výchozí)XX.X – aktuální teplotaOtočení → ventilátor · Stisk → editace setpointu
VentilátorFXX – rychlost v %Otočení → změna po 10 % · Po 2 s → zpět na teplotu
Editace setpointuXX.X + DP1 svítíOtočení → změna po 0.1 °C · Stisk → uložit a zpět

Topná spirála se indikuje rozsvícením DP3 (poslední tečka).

Regulace teploty

ON/OFF regulace s hysterezí:

PodmínkaAkce
teplota ≤ setpoint − 5 °CSpirála ON
teplota ≥ setpointSpirála OFF
v pásmu hysterezeBeze změny

Licence

Tento projekt je volně k použití.

Parts

50
QtyValueFootprintReferences
10330Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR2, R3, R4, R5, R6, R7, R8, R9, R14, R15
310kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR1, R16, R17
31kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR10, R11, R12
3BC327Package_TO_SOT_THT:TO-92_HandSolderQ1, Q2, Q5
21N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2
222pFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC4, C5
222uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC9, C10
2BS170Package_TO_SOT_THT:TO-92_HandSolderQ3, Q4
2N 230V2pkstartup:faston_6.3J2, J3
1100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC8
110uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC2
116AFuse:Fuseholder_Clip-5x20mm_Littelfuse_111_Inline_P20.00x5.00mm_D1.05mm_HorizontalF2
13m3FCapacitor_THT:CP_Radial_D16.0mm_P7.50mmC1
149-8.000MEEJ-BCrystal:Crystal_HC49-U_VerticalY1
14k7Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR13
14u7HInductor_SMD:L_1210_3225Metric_Pad1.42x2.65mm_HandSolderL1
1500mAFuse:Fuseholder_Clip-5x20mm_Littelfuse_111_Inline_P20.00x5.00mm_D1.05mm_HorizontalF1
1AP63205WUPackage_TO_SOT_SMD:TSOT-23-6U4
1ATmega8A-PPackage_DIP:DIP-28_W7.62mmU1
1C_SmallCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC6
1Conn_01x01_Pin2pkstartup:faston_6.3J4
1DB155-YANDiode_THT:Diode_Bridge_DIP-4_W5.08mm_P2.54mmD3
1FYT-5631BUHR-212pkstartup:FYT-5631BUHR-21U2
1L 230V2pkstartup:faston_6.3J1
1RT314A24Relay_THT:Relay_SPDT_Schrack-RT1-16A-FormC_RM5mmK1
1RotaryEncoder_Switch2pkstartup:RotaryEncoder_Alps_EC12E-Switch_Vertical_H20mm_CircularMountingHolesSW2
1TAD05-02-1-L-GTerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-2-3.5-H_1x02_P3.50mm_HorizontalJ6
1TAD05-03-1-L-GTerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-3-3.5-H_1x03_P3.50mm_HorizontalJ5
1TEZ6.0-D-1Transformer_THT:Transformer_Breve_TEZ-38x45TR1
1ZL202-10GConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalJ7

Questions

How big is the DymBOX AVR PCB?

It measures 73 × 112 mm and has 2 copper layers, 1.6 mm thick.

What parts does the DymBOX AVR use?

50 parts, built around the ATMEGA8A-PU, AP63205WU, BC327 and BS170. 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 DymBOX AVR KiCad files?

From the 2pkstartup/DymBOX repository on GitHub, at the commit this page was made from: the board is hw/DymBOX_AVR.kicad_pcb and its schematic hw/DymBOX_AVR.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the DymBOX AVR design in my own project?

Its repository states no licence, so its author keeps all rights: ask 2pkstartup before reusing the design.

Similar boards

  • 2 layers70.2 × 144.1 mmDymBOX AVR, the printed circuit board in 3D

    DymBOX AVR

    2pkstartup/dymbox_pcb

    49 parts
  • 4 layers123 × 56 mmSkyduino Hardware, the printed circuit board in 3D

    Skyduino Hardware

    Skyduino/Skyduino-Hardware

    Hardware design files for the Skyduino roaster

    80 parts4
  • 2 layersEsp, the printed circuit board in 3D

    Esp

    DaLumberjack/Communifarm-PCB

    homeassistant-pcb

    95 parts
  • 2 layers101 × 78.7 mmChairAdjust relayBoard, the printed circuit board in 3D

    ChairAdjust relayBoard

    Jonny999999/armchair_fw

    Firmware for a homemade automated electric armchair using an esp32 controller on a custom pcb

    51 parts
  • 4 layersGerber, the printed circuit board in 3D

    Gerber

    teaching-FEEC/ea075-2023.2

    17 parts
  • 2 layersRaposfly UPS, the printed circuit board in 3D

    Raposfly UPS

    LenaicElsig/ups-RaspberryPi

    Uninterrupted power supply for Raspberry Pi

    45 parts4
  • 2 layers73 × 74 mmValve Wizard Cab Sim 3, the printed circuit board in 3D

    Valve Wizard Cab Sim 3

    therealdjryan/Valve-Wizard-Cab-Sim

    http://valvewizard.co.uk/cabsim.html

    50 parts
  • 4 layersMicromouse pcb, the printed circuit board in 3D

    Micromouse pcb

    RoboJackets/roboracing-micromouse-pcb

    This year, we are making Ratatouillii! 🐭🔥

    51 parts