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 Controlling AC fan
  • 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
  • State Suggested Answer
  • Replies 20 replies
  • Answers 2 answers
  • Subscribers 395 subscribers
  • Views 2704 views
  • Users 0 members are here
Related

Controlling AC fan

Former Member
Former Member over 11 years ago

Hello I found these project online its called vent a garage. It has 2 ac fans the LINK DEPOT 120mm AC Cooling Fan (AC-FAN-1238B) and its controlled by a thermostate. What I have plan is to use the arduino  and a temperature sensor to turn on the fans when for example reaches 70 degrees. what I dont know is what to use to link the 2 ac fans to the arduino to communicate.

  • Sign in to reply
  • Cancel
  • jw0752
    0 jw0752 over 11 years ago

    Hi Bernardo, Why aren't you using the thermostat that comes with it? How much experience do you have working with household line current? To hook an arduino up to control AC power you could use an opto isolator and a triac.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago

    I would suggest you use a RELAY to drive the fans, it provides isolation and the most safety for  a beginner

     

    make sure things are disconnected when working on the circuit of course

     

    something like this (Well two, one for each fan) https://www.sparkfun.com/products/11042

     

    Hope this helps

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to jw0752

    For a beginner I would err on the safer side and use a purpose designed relay board

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 11 years ago in reply to Robert Peter Oakes

    Peter I agree completely. Besides, at the cost of that relay board Bernardo will probably get by cheaper that trying to do it the more complicated way. Thanks for your input.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Ohh man thanks guys for the input. I have only deal with dc and small projects but never mess with ac only when i did my power supply for school project. Peter that Beefcake relay wil boost 5 vt to outputing 220 VAC or it has a seperate connector to plug into ac power

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 11 years ago in reply to Former Member

    Hi Bernardo, The arduino will control the relays on the relay board. The relays are like isolated switches. The 220 volts mentioned does not come from the relay board or the arduino but is just the maximum voltage recommend to be used on the relay switches. You have to supply the power to run the fans from the line voltage power of your house. This voltage can be very dangerous and can be fatal so if you are a beginner get some help from an electrician if you plan to mess with it. The switches in the relays of the relay board can be used to switch on and off any external circuit that they are in series with as long as that circuit has a voltage less than 220V and isn't so big that it consumes more power than the relays can handle.

     

    A wise man I knew once told me that he knew only two things about electricity.

    #1 If you don't pay your bill they turn it off.

    #2 If you mess with it, it kills you.

     

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Thanks that help a lot. Know have a  more understanding on how to approach this

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to Former Member

    It has a seep rate connector that is used to control the mains powered devices

     

    one side is for control by the 5v device, the other end acts as a switch for your fans, so live from mains to one connector, the other connector goes to fan and the remaining fan wire back to neutral

     

    the same as if you were simply wiring in a switch

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kidiccurus
    0 kidiccurus over 11 years ago in reply to Robert Peter Oakes

    I would recommend that you consult a qualified electrician if you are not 100% confident. It will cost money rather than costing your life.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago

    these are the spark fun instructions

     

    https://www.sparkfun.com/tutorials/119

     

    But I do agree, If your not familiar and comfortable working with mains voltages, GET HELP, knowledgeable help, professional help if needed. image THIS CAN KILL YOU IF NOT DONE RIGHT  image  

     

    You get to do things right as long as you do them right, in many cases you get to do things wrong only once...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
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