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 Light Switch based on Arduino
  • 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 4 replies
  • Answers 1 answer
  • Subscribers 393 subscribers
  • Views 511 views
  • Users 0 members are here
  • arduino home automation
Related

Light Switch based on Arduino

damjan_d
damjan_d over 8 years ago

Hi,

 

I was wondering can a regular light switch be converted to a smart one, using the following requirements:

 

- No neutral wire (just one phase that goes to the lamp and from the fuse)

- The Arduino has to be always off, until WAKE event is called using photo-diode, would it wake fast enough ?

 

My goal then is to have Li-Fi based router, that will convert the web service commands from IP packets to Li-Fi signals, but first it will negotiate with the photo-diode, when it completes, the command will be processed.

 

I know this is a lot technologies patched together, however if you may answer my switch powering issue I will be more than happy image.

 

The full scale of my idea is:

- each room having the Li-Fi, rooms are identified by wi-fi AP SSID

- a device like: socket, water heater, (even fridge image) and light switch will have own ID flashed in a PIC16f* microcontroller

- a cloud service having lots of clients (android, web, etc) can view the home layout, see current state and interact with the environment

 

Thanks.

 

Regards,

Damjan.

  • Sign in to reply
  • Cancel

Top Replies

  • clem57
    clem57 over 8 years ago +1 suggested
    The Arduino must be powered, but in a paused state waiting for interrupt from photo-diode to start processing. This would be very low powered. Pick another MCU if you wish lower power usage like TI launchpad…
  • awardautomation
    awardautomation over 8 years ago +1
    For some reason this picture comes to mind... in your case, the light bulb in the picture would be replaced by your arduino, and the primary winding comes from the fuse and goes to your lamp. However it…
  • clem57
    0 clem57 over 8 years ago

    The Arduino must be powered, but in a paused state waiting for interrupt from photo-diode to start processing. This would be very low powered. Pick another MCU if you wish lower power usage like TI launchpad for instance.

    C

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • awardautomation
    0 awardautomation over 8 years ago

    So your light switch is going to be a Li-fi receiver?

    Or is it going to control the lamp that will act as the Li-fi transmitter?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • damjan_d
    0 damjan_d over 8 years ago in reply to awardautomation

    Ups, we got inception here image, one who controls can be self destroyed image.

     

    Lets assume that the main lamp can be controller directly via the WIFI AP, however other switch/lamp pairs can be controlled via calls to devices.

     

    Each device is a Li-Fi transmitter client/server image.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • awardautomation
    0 awardautomation over 8 years ago

    For some reason this picture comes to mind... in your case, the light bulb in the picture would be replaced by your arduino, and the primary winding comes from the fuse and goes to your lamp.

    However it would only generate voltage when the light is on, as it needs current flow in the primary winding. So you would need to charge a battery or something to have any life when in the off condition.

    Of course it wouldn't need to look like this, you could wind some very thin wire around a single ferrite rod, and then wind the house wiring over the top. It might induce enough voltage to charge your battery.

    transformer

    The atmel chips that arduinos are based on have some nice power-saving modes, with a wake event triggered from an interrupt (like your photo-diode) You would need to dig into the datasheet for the processor (depending on what arduino you are planning to use)

    • Cancel
    • Vote Up +1 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