Uploaded May 2022 | Updated November 2026, 8 hours ago
PWM Cooling FAN Control & Over Temperature Protection using LM35 and ATTiny13
======================================
Altium Designer + License (Free): altium.com/yt/myvanitar
OctoPart: octopart.com
======================================
Article: pcbway.com/blog/technology/PWM_Cooling_FAN_Control_and_Over_Temperature_Protection_using_LM35_and_ATTiny13_63e31087.html
pcbway.com/project/shareproject/PWM_Cooling_FAN_Control_and_Over_Temperature_Protection_using_LM35_and_ATTiny13_e7e0cd55.html
======================================
Proper thermal dissipation is an essential rule for nowadays electronics. The best operating temperature for the electronic components is 25 degrees (standard room temperature). Thermal dissipation in some commercial devices is not done properly which affects the lifetime and performance of the devices. So, embedding a compact automatic cooling Fan controller board would be useful. Also, it can be used to protect your own designed circuits and their power components, such as regulators, Mosfets, power transistors … etc.
Previously, I had introduced a circuit to control the cooling fans, however, my intention was not to use any microcontroller and keep it as simple as possible. So, the device was a simple ON/OFF switch for the FAN, depending on the defined temperature threshold. This time, I decided to design a complete and more professional circuit to control the majority of the standard FANs (25KHz PWM) using an LM35 temperature sensor and an ATTiny13 microcontroller.
I used SMD components and the PCB board is compact. It can control one or several standard 3-wires or 4-wires FANs, connected in parallel, such as CPU Fans. Moreover, the target device/component can be protected against over-temperature using a Relay. The user is also notified by visual/acoustic warnings (a flashing LED and a Buzzer).
To design the schematic and PCB, I used Altium Designer 22 and the SamacSys component libraries (Altium plugin). To get high-quality fabricated PCB boards, you can send the Gerbers to PCBWay and purchase original components using the componentsearchengine.com. I initially tested the circuit on a breadboard. I used the Siglent SDM3045X multimeter to accurately examine the voltages and the Siglent SDS1104X-E oscilloscope to examine the shape, duty cycle, and frequency of the PWM pulse.
PWM Cooling FAN Control & Over Temperature Protection using LM35 and ATTiny13
======================================
Altium Designer + License (Free): altium.com/yt/myvanitar
OctoPart: octopart.com
======================================
Article: pcbway.com/blog/technology/PWM_Cooling_FAN_Control_and_Over_Temperature_Protection_using_LM35_and_ATTiny13_63e31087.html
pcbway.com/project/shareproject/PWM_Cooling_FAN_Control_and_Over_Temperature_Protection_using_LM35_and_ATTiny13_e7e0cd55.html
======================================
Proper thermal dissipation is an essential rule for nowadays electronics. The best operating temperature for the electronic components is 25 degrees (standard room temperature). Thermal dissipation in some commercial devices is not done properly which affects the lifetime and performance of the devices. So, embedding a compact automatic cooling Fan controller board would be useful. Also, it can be used to protect your own designed circuits and their power components, such as regulators, Mosfets, power transistors … etc.
Previously, I had introduced a circuit to control the cooling fans, however, my intention was not to use any microcontroller and keep it as simple as possible. So, the device was a simple ON/OFF switch for the FAN, depending on the defined temperature threshold. This time, I decided to design a complete and more professional circuit to control the majority of the standard FANs (25KHz PWM) using an LM35 temperature sensor and an ATTiny13 microcontroller.
I used SMD components and the PCB board is compact. It can control one or several standard 3-wires or 4-wires FANs, connected in parallel, such as CPU Fans. Moreover, the target device/component can be protected against over-temperature using a Relay. The user is also notified by visual/acoustic warnings (a flashing LED and a Buzzer).
To design the schematic and PCB, I used Altium Designer 22 and the SamacSys component libraries (Altium plugin). To get high-quality fabricated PCB boards, you can send the Gerbers to PCBWay and purchase original components using the componentsearchengine.com. I initially tested the circuit on a breadboard. I used the Siglent SDM3045X multimeter to accurately examine the voltages and the Siglent SDS1104X-E oscilloscope to examine the shape, duty cycle, and frequency of the PWM pulse.
![LM317 Current Boosting Circuits [2N3055, MJ2955]
LM317 Current Boost Circuits using 2N3055 and MJ2955
Altium Designer + License (Free): https://www.altium.com/yt/myvanitar
Article Source (Schematic, Details): https://www.pcbway.com/blog/technology/LM317_Current_Boosting_Secrets.html
Check other videos: http://bit.ly/2N9OlPa
#LM317
LM317 is one of the most popular adjustable regulator chips. The output voltage of the regulator can be adjusted from 1.25V to 35V. However, the chip can deliver currents up to 1.5A which is not enough for some power applications. In this article, I will discuss two methods of LM317 current boosting, using power PNP and NPN pass transistors.
According to the LM317 datasheet: “The LM317 [1, 2] device is an adjustable three-terminal positive-voltage regulator capable of supplying more than 1.5 A over an output-voltage range of 1.25 V to 37 V. It requires only two external resistors to set the output voltage. The device features a typical line regulation of 0.01% and a typical load regulation of 0.1%. It includes current limiting, thermal overload protection, and safe operating area protection. Overload protection remains functional even if the ADJUST terminal is disconnected.”
This information proves to us that this cheap 3-terminal device is suitable for many applications but it comes with a drawback for power applications and that is the limitation of the regulator’s output current handling (1.5A in the best conditions). This problem can be solved using a pass power transistor.
Current Boosting Using a PNP Power Transistor (MJ2955)
Figure-1 shows the schematic diagram of the circuit. This is an adjustable high current regulator circuit that the output voltage can be adjusted using a 5K potentiometer.
The 10R resistor defines the Turn-On time of the pass-transistor and by the way, it defines how much current should passe through the LM317 and MJ2955 [3, 4]. Based on this parameter, the power rate of the resistor must be calculated. 1N4007 is a protective diode and 270R resistor provides the necessary ADJ pin’s current. As mentioned earlier, the 5K potentiometer defines the output voltage. 1000uF, 10uF, and 100nF capacitors have used to reduce noises. Don’t forget to install the transistor on a big heatsink.
[A-2] Current Boosting Using an NPN Power Transistor (2N3055)
Figure-2 shows the schematic diagram of the circuit. The 10K resistor at the output draws a small amount of current to avoid the floating output and it helps to stabilize the output voltage. Here 2N3055 [5, 6] plays the role of pass-transistor also. LM317 Current Boosting Circuits [2N3055, MJ2955]](https://i.ytimg.com/vi/FItAwcsj0OI/mqdefault.jpg)






![How to Design the Component Libraries in Altium Designer [Beginners Tutorial]
How to Design the Component Libraries in Altium Designer [From Scratch]
Altium Designer + License (Free): https://www.altium.com/yt/myvanitar
In this video, you will learn (Altium Designer beginners tutorial) how to design/create a schematic symbol and a PCB footprint (a component library) in Altium designer and attach a 3D model to the footprint. Basically, you will create an integrated library and then you will add a schematic symbol and the PCB footprint. Then you are ready to compile the library and use it. My selected component is the LM358 opamp with the DIP8 package.
CHAPTERS
00:00 - Introduction
00:24 - 4 Methods of importing the component libraries in your PCB project
01:10 - How to design a Schematic symbol in Altium Designer
11:17 - How to design a PCB Footprint in Altium Designer
18:04 - How to add an external 3D model to the PCB footprint
20:30 - How to compile the integrated library and use the pre-build library
Music by Atch
SoundCloud: https://bit.ly/AtchSoundCloud
Spotify: https://bit.ly/AtchSpotify
Instagram: https://instagram.com/atchmusic How to Design the Component Libraries in Altium Designer [Beginners Tutorial]](https://i.ytimg.com/vi/J_pZdNdJaAs/mqdefault.jpg)


