Loading...
Pages: [1]   Go Down
Author Topic: 12v fan and arduino  (Read 268 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello All,

I am new to electronics and the Arduino. I am trying to determine what would be the correct diode to use to restrict the reverse current flow for my fan, here is my setup.

ARDUINO PIN OUT ----> 1K resistor to the base of ----> NPN 2SD313 Transistor ----> Archer RS4005 1 amp 600V diode (only one I had lying around that seemed suitable) between collector and emitter. Power source to fan is a PC DC 12V 3AMP. The fan is a 12V 0.23A. Fan ground to Transistor Collector. Transistor Emitter to ground. They all share a common ground. Sorry for no diagram.

Everything to me seems to work fine. I'm not sure i'm using the correct Diode.

Thanks for your assistance.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 96
Posts: 6364
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Diode goes across the inductive load (fan) not across the transistor.  Diode goes for +12 to Collector, same as the fan.  Make sure the Cathode (negative) side goes to +12 and the Anode (positive) side goes to the Collector.
Logged

Queens, New York
Online Online
Edison Member
*
Karma: 28
Posts: 1552
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Look at the setup as so.

Logged

UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino

Arduino Tutorials, coming soon.

"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown

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

Thanks for the reply. I guess i'm even asking myself more questions now. I find a lot of similar setups such as this one I've attached. What is this accomplishing?

Logged

Offline Offline
Sr. Member
****
Karma: 12
Posts: 327
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Thanks for the reply. I guess i'm even asking myself more questions now. I find a lot of similar setups such as this one I've attached. What is this accomplishing?
Note: the TIP120 aready has a diode from the Collector to the emitter. See:  http://www.adafruit.com/datasheets/TIP120.pdf
Quote
Diode goes across the inductive load (fan) not across the transistor.  Diode goes for +12 to Collector, same as the fan.  Make sure the Cathode (negative) side goes to +12 and the Anode (positive) side goes to the Collector.
He has said what you should do.
See: http://en.wikipedia.org/wiki/Flyback_diode
Logged

Queens, New York
Online Online
Edison Member
*
Karma: 28
Posts: 1552
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You also might want to add a capacitor parallel to the fan as well. It just to smooth out the signal.
Logged

UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino

Arduino Tutorials, coming soon.

"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown

Pages: [1]   Go Up
Print
 
Jump to: