element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
element14's The Ben Heck Show
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • More
  • Cancel
element14's The Ben Heck Show
Forum Show idea/question: cheap wireless light and fan switch
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14's The Ben Heck Show to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 3 replies
  • Answers 1 answer
  • Subscribers 30 subscribers
  • Views 239 views
  • Users 0 members are here
Related

Show idea/question: cheap wireless light and fan switch

Former Member
Former Member over 13 years ago

I have an idea I would love to see done on the show. I want to be able to control all the lights and ceiling fans in my home from my computer. Since I'm going to need about 15 of these units I'm trying to keep the cost down as much as possible. My thought was I would buy the parts for a JeeNode and add a couple of relays to create a module that would fit in a standard light switch receptical replacing the switch. My question is what is the best/cheapest way to take the main voltage and turn it into something the arduino can use and what would be the best relays to use? I thought about modifying a wall wart but at 7-10 bucks a pop they are a little on the expensive side.

  • Sign in to reply
  • Cancel
Parents
  • colecago
    0 colecago over 13 years ago

    Wall warts can be had for cheaper than that

    http://www.sparkfun.com/products/10214

    and probably even cheaper bulk on eBay.  You aren't going to get much cheaper, the cheapest way you could go, is to use a diode as a half bridge, a dropping resistor and a zener diode and cap, but its probably better to use a wall wart that has an offline switcher such as the one above.

     

    As for relays, it all depends on the load.  Check out the wattage of the device you are controlling to figure out the current and size your relays accordingly.  Keep in mind that relays have a lower breaking or switching current than what their max capicity is.  That is because breaking a circuit that has a large current going through is more difficult and will cause some arcs etc.  Also, remember your protection diodes on the relays!

     

    For a non wireless method that sends signals through your homes' power system, look at x10 home automation.

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

    Sorry if this is a silly question but this is the first time I have made an Arduino do more than blink an LED. Can I drive the Arduino directly off the 5v wall wart linked to or do I still need a voltage regulator? The voltage regulator I had picked out requires a minimum of 7.5v which really drove up the cost of the wall wart.

     

    As for the relays the fan + lights are going to draw 2-3A

     

    I looked at x10 and was concerned about the reliability. I looked at other home automation systems and they were way more than I wanted to spend. If I can make that wall wart work I should be able to get the per unit cost to around $20.

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

    Sorry if this is a silly question but this is the first time I have made an Arduino do more than blink an LED. Can I drive the Arduino directly off the 5v wall wart linked to or do I still need a voltage regulator? The voltage regulator I had picked out requires a minimum of 7.5v which really drove up the cost of the wall wart.

     

    As for the relays the fan + lights are going to draw 2-3A

     

    I looked at x10 and was concerned about the reliability. I looked at other home automation systems and they were way more than I wanted to spend. If I can make that wall wart work I should be able to get the per unit cost to around $20.

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

    If you trust the voltage source and it is at your same level, you don't really need a regulator.  All a regulator does is keep the voltage at a specific level.  Now, its probably a good idea to use a regulator, meaning you would need a larger voltage because of the dropout voltage of the regulator, but Sparkfun insists that that charger can be used to power an Arduino through the USB port (meaning the Arduino would not regulate the voltage either).

    • 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 © 2026 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