element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Arduino As PC Fan Controller
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 16 replies
  • Subscribers 394 subscribers
  • Views 3255 views
  • Users 0 members are here
Related

Arduino As PC Fan Controller

nicolaoscon96
nicolaoscon96 over 7 years ago

Hello there,

 

It's been a while to write here and I came back with a question. I want to build a fan controller for my desktop pc and I wanted to build it with an Arduino (Just add some modes like gaming for full speed, office use for lower rpm and less noise)>>Where I will be able to control by sending a  number for example 1 for gaming mode 2 for office<<. I found some online and they are really cheap but I wanted to experiment with that. So I wanted to ask is this possible? Can I control (4 fans) with an Arduino and get feedback from them about the RPM and the voltage if it possible(have it connected with USB on my computer and read the output in Arduino IDE)? The fans that am using are 3 pins (black-red-yellow).

 

Thanks

nicolaoscon96

  • Sign in to reply
  • Cancel

Top Replies

  • koudelad
    koudelad over 7 years ago +7
    Hello, Honestly, the 8-bit microcontroller in Arduino won't have enough resources to do that. It only has 2 8-bit counters and one 16 bit counters. If you want to monitor 4 fans independently, you need…
  • shabaz
    shabaz over 7 years ago +6
    Hi Nicolas, If you want to do it accurately, as David says, you'll need different hardware. According to the link here: How PC Fans Work the three-wire fan uses it's third wire to provide speed feedback…
  • shabaz
    shabaz over 7 years ago in reply to gdstew +4
    Getting RPM feedback actually isn't the end goal. Why not sometimes actually try to understand the requirement, and form a more complete answer that helps the user? Just an opinion I've formed over the…
Parents
  • tbitson
    tbitson over 7 years ago

    nicolaoscon96,

     

    Just a couple of minors notes about your comment:

     

    Most 2-wire fans these days are brushless DC. They stopped making fans with brushes years ago. Too expensive and noisy.

     

    About your arduino resource statement, I'm pretty sure an arduino can do a decent job. Since the temperature doesn't change very rapidly, you could set a counter to read one fans tach output, calc the desired PWM, set the corresponding pin's PWM, then move the counter the next fan. Using a round-robin approach like this, you could control as many fans as there are PWM pins (15 on a Mega). The processing needs are minuscule, and since the tach output is in the kHz region, counting pulses or measuring pulse width takes milliseconds.

     

    As as others have pointed out, the hardware interface is a bit more complex, but there's no reason an arduino couldn't handle the task.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • tbitson
    tbitson over 7 years ago

    nicolaoscon96,

     

    Just a couple of minors notes about your comment:

     

    Most 2-wire fans these days are brushless DC. They stopped making fans with brushes years ago. Too expensive and noisy.

     

    About your arduino resource statement, I'm pretty sure an arduino can do a decent job. Since the temperature doesn't change very rapidly, you could set a counter to read one fans tach output, calc the desired PWM, set the corresponding pin's PWM, then move the counter the next fan. Using a round-robin approach like this, you could control as many fans as there are PWM pins (15 on a Mega). The processing needs are minuscule, and since the tach output is in the kHz region, counting pulses or measuring pulse width takes milliseconds.

     

    As as others have pointed out, the hardware interface is a bit more complex, but there's no reason an arduino couldn't handle the task.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube