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 relays for lighting
  • 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 17 replies
  • Answers 3 answers
  • Subscribers 395 subscribers
  • Views 2297 views
  • Users 0 members are here
  • lighting
  • relays
  • arduino
Related

Arduino relays for lighting

Former Member
Former Member over 11 years ago

All,

 

I'm building a new house, and I decided that I want microcontrollers to control my lighting. Now I have dimmers covered, with a 0-+10V system, but surprisingly I'm struggling a bit with the lights that should just be on or off. I figured it should be doable with a relatively cheap array of relays connected to an Arduino. I'm not going to get my hands dirty, my electrician is (which is, I should say, a good idea). He insists on the following standard for the relays:

  • CE certification.
  • at least 240 VAC
  • at least 10A
  • DIN Rail mountable

 

I'm guessing I could satisfy the last requirement with a PCB in something like this: http://cpc.farnell.com/pulse/acc-case-m/flightcase-universal-medium/dp/DP31699

I have not yet found a product, that matches all of the top three though: I found something in various shops that has 250 VAC @ 10A, but no visible CE mark, and I found one on hobbyking http://hobbyking.com/hobbyking/store/__26921__Arduino_6_Channel_Relay_Module.html that had a CE mark, but could only do 240VAC @ 7A. I'd like something like that, with 6-8 channels would be nice.

 

It would be nice if the electrician could order all the products from Farnell, since they have a Norwegian office and I have used them for some other projects. Any pointers?

 

Message was edited by: Matt Collinge. Updated CPC link.

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 9 years ago +2
    Your electrician is right in terms of good practice and it may well be that local laws require the parts to comply with his suggestions. I expect you would like your house to last at least 25 years before…
  • beacon_dave
    beacon_dave over 9 years ago in reply to michaelkellett +2 suggested
    Michael Kellett wrote: ...Arduino isn't the right kind of thing for this - I think you should go for industrial standard parts and practice which would suggest 24V DC relay coils... There are these Arduino…
  • shabaz
    shabaz over 9 years ago in reply to mcb1 +2
    There are even more possibilities, like activation without taking the device out the package : ) (I've no idea if Peter's device does that, but technically it is feasible). NXP has a part which can be…
Parents
  • michaelkellett
    0 michaelkellett over 9 years ago

    Your electrician is right in terms of good practice and it may well be that local laws require the parts to comply with his suggestions. I expect you would like your house to last at least 25 years before rewiring and certainly never to catch fire. $6 for 8 relays will NOT achieve this.

     

    Farnell 186302 in a 1340952 socket is the kind of thing I would use. Arduino isn't the right kind of thing for this - I think you should go for industrial standard parts and practice which would suggest 24V DC relay coils.

     

    The mains stuff should be in an approved enclosure and wired according to local regulations using approved wire. Once you get out of the mains box into the low voltage control stuff it's probably OK to use your own controller built to hobby standards but in the UK you would find it impossible to sell the house (the solicitors would insist on disclosing how it was done and the purchaser wouldn't be able to raise a mortgage on it.)

     

    If I were you I would grit my teeth and fork out for a proper approved controller which has all this kind of stuff sorted and offers a WiFi or Bluetooth interface (or better still Ethernet) for you to play with. You'll need to search around for this kind of gear - most of the quickly googled people I found were installer/designers who would charge you an arm and  a leg.

     

    Do, please, watch out for those local regulations - here in the UK people have had to knock down buildings due to non-compliance with regulations during construction - it may be better in Norway but I wouldn't bet on it.

     

    MK

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 9 years ago in reply to michaelkellett

    Michael Kellett wrote:

     

    ...Arduino isn't the right kind of thing for this - I think you should go for industrial standard parts and practice which would suggest 24V DC relay coils...

     

     

    There are these Arduino controllers wrapped in an industrial style DIN rail type enclosure offering 24Vdc connectivity:

     

    Industrial Shields – Industrial PLC Controller based on Arduino

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • beacon_dave
    0 beacon_dave over 9 years ago in reply to michaelkellett

    Michael Kellett wrote:

     

    ...Arduino isn't the right kind of thing for this - I think you should go for industrial standard parts and practice which would suggest 24V DC relay coils...

     

     

    There are these Arduino controllers wrapped in an industrial style DIN rail type enclosure offering 24Vdc connectivity:

     

    Industrial Shields – Industrial PLC Controller based on Arduino

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • michaelkellett
    0 michaelkellett over 9 years ago in reply to beacon_dave

    Those look quite nice - have you used them (or seen inside.)

     

    I didn't suggest standard PLCs because they are so un-Arduino like to programme but these things might be a nice compromise in some places.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 9 years ago in reply to michaelkellett

    Peter Oakes reviewed one here if you want to look inside:

    https://www.youtube.com/watch?v=GpiHQZAF4n0

     

    I've not used one as yet - first spotted them when I was looking at different types of automation control for educational purposes. The likes of the Fischertechnik industrial automation kits

    fischertechnik GmbH - Industry

    can either come in 9v versions for their own RoboTXT controllers

    fischertechnik GmbH - ROBOTICS - ROBOTICS TXT Controller

    or in 24v versions for use with the likes of the Siemens Simatic S7 1200 series PLC controllers

    Compact automation solutions - SIMATIC S7-1200 - PLCs - Siemens

     

    Needless to say, my next thought was if there was an Arduino based PLC solution...

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

    The PLC that Dave mentioned (That  I reviewed) is an Arduino based industrial PLC and is CE rated 240V if you get the relay version. and then you get to program it the way you want, it will mount on a DIN rail and it will handle the mains voltages

     

    For lighting I don't think you will need 10 Amps per circuit, certainly not at 240V, that's a lot of lights on one circuit. but this PLC should do the job for you right out of the box (Just add code), Oh and you can get them with network interfaces too if you want. they all come with RS485 irrespective so easy to hook into other control systems

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

    I just skimmed your review on YouTube - and was quite surprised that you seemed to like it so much.

     

    I had dumped them into the "not worth considering"  box after looking at the spec -

     

    They quote max and min operating voltages as 11.4 - 25.4V - for an industrial level nominal 24V device I expect much more - I design 24V industrial electronics to work with no de-rating at 30V and withstand 40V pulses. (The first standard PLC I looked at was a Siemens one which claims 28.8V.)

     

    The ambient temperature range is far to low at 0-45C, for domestic lighting in Northern Europe it is not acceptable for it to fail if the central heating dies so I would look for -20 in the OP's application but for general industrial use this might not be essential. However DIN rail control electronics is often in cabinets with a load of other things so I would be looking for a max operating temperature of at least 60C (I would like higher but this could get expensive.) (The Siemens PLC is rated -20 to +60 C).

     

    So my conclusion was that these "Industrial Shields" are just hobby electronics dressed up a bit - OK perhaps for a quick lab based test rig but no ready for the real world.

     

    It would be nice to know if anyone has actually used them in a tough environment alongside PLCs from the established suppliers.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 9 years ago in reply to michaelkellett

    Perhaps one interesting thing to note though is that the Atmel ATmega32U4 microcontroller was was used in the Arduino Leonardo board appears to be rated for a temperature range of between -40 to +85, so isn't necessarily the limiting factor from a harsh environment perspective.

     

    (I see that the same microcontroller is being used again in the newer Arduino 'Industrial 101' controller

    Arduino INDUSTRIAL 101  )

     

    I guess though that some of the supporting electronics on the Arduino boards could be an issue - the aluminium electrolytic caps probably are only rated at up to around 2,000 hours lifetime when operated at +85C ? e.g.

    EEE-FK1E470AP PANASONIC ELECTRONIC COMPONENTS, ALUMINUM ELECTROLYTIC CAPACITOR, 47UF, 25V, 20%, SMD, FULL REEL | Farnell…

    • 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