Pages: [1]   Go Down
Author Topic: Controlling a fan/cooler  (Read 760 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hey, can somebody give me a tip? i want to control a fan cooler using arduino, nothing very complicated, just turn on and off. Do i need a shield or anything like this? Or can i just connect the red, black and yellow wires directly in the arduino's board? Thx
Logged

0
Offline Offline
Shannon Member
****
Karma: 206
Posts: 12062
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A transistor or MOSFET to switch it on and off would be needed - is this a standard 12V computer cooling fan ?
Logged

[ I won't respond to messages, use the forum please ]

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep. standart cooler. Can u give me an example of the code? Can i use a potentiometer instead?
Logged

0
Offline Offline
Shannon Member
****
Karma: 206
Posts: 12062
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

They are a brushless motor plus controller all on one unit.  Some are controllable, some aren't, but they usually run fine from 7V upto about 15V, speed proportional to voltage - although this is a convenient way to control usually.  Controllable speed ones have a pin to control them, many have a sense pin that is used on a motherboard by the bios to detect if the fan bearings have siezed up.

Simple on-off control (not PWM) is just a transistor I think (perhaps a protection diode too?)
Logged

[ I won't respond to messages, use the forum please ]

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i have two of then, one with 2 wires (black and red) and the other one with 3 wires (b,r, and yellow). i guess the last one is controlable. All i wanna do is to find a way to turn it on and of. maybe change the speed, but that's not my primary objective. just wanna know how to do this
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6613
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The yellow wire on your second fan is the tacho output, not a control input. You can switch them on and off using a mosfet.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks bros
Logged

Pages: [1]   Go Up
Jump to: