Pages: [1]   Go Down
Author Topic: Optocoupler for PC fan with same 12v feed to arduino?  (Read 609 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am wanting to control a PC fan with arduino, looking at http://www.uchobby.com/index.php/2007/09/23/arduino-temperature-controlled-pc-fan/
Thing is, the 12v that is powering the motors will be the same 12v that is going into my Arduino VIN pin to power it. Is the Optocoupler actually going to protect anything?
What is the Optocoupler actually protecting against?
Logged

Ayer, Massachusetts, USA
Offline Offline
Edison Member
*
Karma: 54
Posts: 1848
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The optocoupler is preventing the 12v that the fan uses from being fed back into the Arduino.  As I understand it, the VIN pin will have 12v, but all other pins on the Arduino can only deal with at most 5v coming in.  You can also use an optocoupler when the output side doesn't share a power source or ground with the Arduino side.
Logged

Pages: [1]   Go Up
Jump to: