i used 5v to 12v fan and i want to connect 5v to it then i want to interface it with the microcontroller, what should i use in order to let this fan work ? a transistor or an amplifier or what ? this is for my project pls help !!
pls i need an instructions and a Block diagram PLs ...
Use a transistor.
1. connect micro-controller pin to base of transistor through a suitable resistor.
2. Connect +5V to collector of transistor
3. Emitter to +ve wire of computer fan . Negative wire to ground.
First of all check how much current is required for the FAN.
Then choose a MOSFET as a switch controlled by the microcontroller to give the power supply to the fan.
Sometimes the MOSFET might need an external driver, because of higher threshold voltage and if isolation is needed between
MOSFET and uC since MOSFET might be carrying a lot of current.
Use L293D motor driver IC. U can directly give MCU output as input to this and it will drive the motor. U can also use this in Push pull mode, configure it as H-Bridge driver.
On the other hand, u can use power mosfet in H bridge configuration for motor on off. And also can provide PWM to mosfets to control the speed of motor.