Circuit Design of Temperature Control System Based on ATmega16L Microcontroller

Single chip microcomputer STM32L151CCU6
1206RGB (single)
0201 package SLP0603 ESD electrostatic diode 5V one-way ESD
RF cable can be customized for other specifications

Design a temperature control system based on ATmega16L microcontroller, and explain the hardware design of the system. Using the modular design method, the incremental PID algorithm is used to make the temperature value of the controlled object tend to a given value.

main controller

The system main controller uses ATmega16L, which is a high-performance, low-power 8-bit AVR microprocessor with advanced RISC structure, large internal ROM, RAM, Flash and EEPROM, integrated 4-channel PWM. The SPI serial peripheral interface has eight 10-bit A/D converters. For data acquisition systems, there is no need for a separate A/D converter for external cost savings. In addition, the MCU provides a JTAG debug interface, which can be debugged using a self-made simple JTAG emulator.

Temperature acquisition circuit

The picture shows the temperature acquisition circuit. The circuit is mainly composed of a temperature sensor AD590 and a differential operational amplifier AD524, wherein the temperature sensor AD590 is a novel two-terminal constant current device. The excitation voltage range is 4 to 30 V, and the temperature range is -55 to +150 °C. When the current of the AD590 flows through a 5 kΩ resistor, the temperature rises by 1 K, and the voltage across the resistor increases by 5 mV, which translates to 5 mV/K. Therefore, when the temperature changes between 0 and 100 ° C, the resistance voltage varies between 1.365 and 1.865 V. The operational amplifier AD524 is used to convert the absolute temperature to Celsius.

Circuit Design of Temperature Control System Based on ATmega16L Microcontroller

Temperature control circuit

The circuit is mainly composed of a photocoupler and a thyristor as shown. The control signal (PWM) sent by the single chip microcomputer controls the working state of the photocoupler after passing through the driver. When the photocoupler is operated, the trigger pole of the triac is at a high level, and the thyristor is in a conducting state, thereby controlling the operation of the heating rod.

Circuit Design of Temperature Control System Based on ATmega16L Microcontroller

ZGAR Black & White SET

ZGAR Vape Device 5.0

ZGAR electronic cigarette uses high-tech R&D, food grade disposable pod device and high-quality raw material. All package designs are Original IP. Our designer team is from Hong Kong. We have very high requirements for product quality, flavors taste and packaging design. The E-liquid is imported, materials are food grade, and assembly plant is medical-grade dust-free workshops.

From production to packaging, the whole system of tracking, efficient and orderly process, achieving daily efficient output. We pay attention to the details of each process control. The first class dust-free production workshop has passed the GMP food and drug production standard certification, ensuring quality and safety. We choose the products with a traceability system, which can not only effectively track and trace all kinds of data, but also ensure good product quality.


We offer best price, high quality Vape Device, E-Cigarette Vape Pen, Disposable Device Vape,Vape Pen Atomizer, Electronic cigarette to all over the world.

Much Better Vaping Experience!



E-Cigarette Vape Pen,Disposable Device Vape,PCC SET, Vape Pen Atomizer,Latest Disposable E-Cigarette OEM vape pen,OEM electronic cigarette

Shenzhen WeiKa Technology Co.,Ltd. , https://www.zgarvape.com