949Views3Replies

Author Options:

Arduino - 2 wire fan Answered

I have 2 wire fan (5V 0.15A) and I want to connect it with arduino board. Is it safe to connect it directly to arduino? And if it's not how to control the fan? Do I have to put some resistors?

Discussions

0
None
verence

3 years ago

If you want the fan to be always on, just connect it to 5V and GND on the Arduino board.

If you want to switch the fan on and off with an output pin, you will need a transistor driver stage like here - your fan goes where R1..3 and LED1..3 are.

0
None
caitlinsdad

3 years ago

You have to think of the fan as a motor type device. When it starts up, it take a lot of power to kick it over causing a voltage/power spike. Although the current rating may be within the max total that an arduino board can supply, you are only using one pin/wire to control it which is rated much smaller and will damage the board when you try to turn the motor on. You need to get a motor shield or relay or look into H-bridge circuits(a few simple components) to act as the buffer to switch your motors. Good luck.