Description: This project is based on a PIC18F25K20, with the purpose of controlling a fan with PWM (Pulse Width Modulation). It offers variable speed control, low acoustic noise, reliability, long lifetime, low power consumption, and protection features. The MCU gets the temperature from the sensor (DS18B20), and after conversion to Celsius degrees, it generates a PWM signal on PORTC.2 with six different levels. The signal goes to Q1 (BC338) to control the duty cycle of the fan. Two transistors are used to ensure sufficient current (Ic) on Q2 to activate the fan. The MCU only generates a maximum of 3.6V on its output, and 15% of 3.6V is 0.5V to polarize Q1, but 0.7V is needed. The fan can be controlled between 5V and +/-12V. The BC338 has a current load of 800mA, which is the value a fan can have; two or more fans can be used as long as the current load does not exceed 800mA. The output of the MCU connects to Q1 and Q2, which function as a switch. D3 is included for protection against the magnetic field generated by the inductors in the fan; without D3, turning off the system could discharge current to Q2 and potentially damage it.
The circuit utilizes a PIC18F25K20 microcontroller, which serves as the central processing unit for controlling the fan's operation based on temperature readings. The DS18B20 temperature sensor provides accurate temperature measurements, which are processed by the microcontroller to determine the appropriate fan speed. The PWM signal generated on PORTC.2 allows for precise control of the fan speed by varying the duty cycle.
The BC338 transistor is employed as a switching device to amplify the PWM signal from the microcontroller. Given that the microcontroller output is limited to 3.6V, a secondary transistor configuration is necessary to ensure that the base current is sufficient to drive the BC338 into saturation. This configuration allows the fan to operate effectively at higher voltages, ranging from 5V to +/-12V, accommodating various fan specifications.
The design incorporates protective measures, including diode D3, which safeguards the circuit from back EMF generated by the fan's inductive load. This diode is critical in preventing damage to the transistors during the switching process. The overall design allows for the control of multiple fans, provided that the total current does not exceed the rated capacity of the BC338, ensuring reliable and efficient operation in various environmental conditions.This project it´s based on a PIC18F25K20, with the purpose of control a FAN with PWM (Pulse with Modulation). It offers a variable speed control, low acoustic noise, reliability, long lifetime, low power consumption, protection features.
The MCU get the temperature from the sensor (D18B20), and after will do a conversion Celsius degrees and then it´s generated a PWM on PORTC.2 with 6 different levels. After the signal goes to Q1 (BC338) in order to control the duty cycle in the fan. I had to use two transistors to have an Ic on Q2 to be enough to activate the fan. Because the MCU only generate a maxim of 3.6V on which output, and 15% of 3.6V is 0.5V to polarize Q1 we need 0.7V. You will be able to control the FAN between 5V and +/-12V.The BC338 have a current load of 800mA that is value of a fan can have, you can use two or more fans as long the current load isn´t more than 800mA.
The output of MCU connect to the Q1 and Q2 it works like a switch, the D3 it´s for protection from the magnetic field in the inductors from the FAN, without the D3 when you turn off the system the current will be discharge to the Q2 and could damage it.
This circuit is 12 volt motors and lights well regulated. The scheme operates with PWM (Pulse Width Modulation). By IC1, a 555 is a square wave generated by a controllable duty cycle. This means that the width of the pulse...
To determine whether it is freezing, one needs to measure the temperature accurately. This requires a reliable temperature sensor. The LM35CZ sensor, which operates within a range of -40 to 110 °C, is suitable for this purpose. It is relatively...
This circuit is a PWM speed control circuit for a DC motor rotation. It supports forward and reverse rotation as well as regenerative braking functions. The circuit utilizes a PWM signal to control the speed of a 12V DC motor...
A diode is utilized in a temperature sensor application circuit. Silicon diodes VD1 and VD2 serve as the temperature sensors, exhibiting a temperature coefficient of silicon diodes. The circuit includes a constant current source, VT1, which provides a steady current...
This simple pulse width modulation (PWM) DC motor control addresses common issues by regulating motor speed through the application of short pulses. The duration of these pulses is varied to adjust the motor speed; longer pulses result in faster motor...
Nowadays, most inverters available in the market utilize Pulse Width Modulation (PWM) technology. Inverters based on PWM technology exhibit superior performance in several aspects compared to those designed using conventional methods. These PWM inverters typically employ MOSFETs in the output...
This circuit consists of a temperature sensor, amplifier, voltage-to-frequency (V/F) converter, a three-digit binary coded decimal (BCD) counter, a time base, and seven-segment LED displays. In addition to the 9400 V/F converter, other integrated circuits (ICs) required for this project...
The approaches using on-chip A-to-D converters on AVR, PIC, and Cypress controllers reached sample rates of up to about 60 kHz. Not really very useful for the sort of thing I was thinking about using this for: encoded data, radio...
The circuit illustrated below represents a simple thermometer circuit based on the LM335 temperature sensor. This circuit comprises two main components: the LM335 sensor and its adjustment circuitry. The output from the LM335 generates a voltage of 10 millivolts per...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more