Author Topic: Christmas light controller  (Read 992 times)

0 Members and 1 Guest are viewing this topic.

Offline queennikki1972Topic starter

  • Regular Contributor
  • *
  • Posts: 133
  • Country: us
  • We all start out as newbie's..be kind
Christmas light controller
« on: October 13, 2019, 05:40:16 pm »
I was thinking of using this to control multiple strands of lights to come on outside, but I wanted to ask if you think it can handle running for hours at time and would a relay need a heatsink????? Would the GENUINE Arduino UNO need a heat sink as well...? Or maybe need a larger Arduino Mega or something.

https://www.amazon.com/8-Channel-Shield-Module-Optocoupler-Arduino/dp/B01ARS8OVQ/ref=asc_df_B01ARS8OVQ/?tag=hyprod-20&linkCode=df0&hvadid=241973970700&hvpos=1o3&hvnetw=g&hvrand=15506157387150555720&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=&hvtargid=pla-395268347022&psc=1
« Last Edit: October 13, 2019, 05:42:47 pm by queennikki1972 »
Siglent SDS 1202X-E - Heathkit IO-4105 - Dr. Meter 0-30v 5a power supply - 862d+ combo unit - Weller WLC100 - Kunkin KL283 DC load. Not much gear yet.
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: Christmas light controller
« Reply #1 on: October 13, 2019, 06:14:51 pm »
https://www.amazon.com/8-Channel-Shield-Module-Optocoupler-Arduino/dp/B01ARS8OVQ/

I can't imagine the Arduino would overheat driving the optos, or the relays themselves overheating. I think a 5V supply is needed on the relay board to drive the relays, don't know the current needed when all are energized.
.  That took much longer than I thought it would.
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3035
  • Country: us
Re: Christmas light controller
« Reply #2 on: October 13, 2019, 06:17:34 pm »
You won't need a heatsink for either the relays or Arduino.

How often are you going to be switching the relays on and off? The contacts have a mechanical lifetime which is dependent on the amount of current they are passing.

http://zone.ni.com/reference/en-XX/help/375472H-01/switchhealthcenter/relay_lifetime/
 

Offline queennikki1972Topic starter

  • Regular Contributor
  • *
  • Posts: 133
  • Country: us
  • We all start out as newbie's..be kind
Re: Christmas light controller
« Reply #3 on: October 13, 2019, 06:53:39 pm »
I plan on connecting 8 separate ac outlets (1 to each relay) then one string maybe two strings of lights to each outlet. short runs of lights about 10-20ft long. The on and off sequence may vary from every 500ms to 1500ms at a time. I may later connect it to music.
Siglent SDS 1202X-E - Heathkit IO-4105 - Dr. Meter 0-30v 5a power supply - 862d+ combo unit - Weller WLC100 - Kunkin KL283 DC load. Not much gear yet.
 

Offline queennikki1972Topic starter

  • Regular Contributor
  • *
  • Posts: 133
  • Country: us
  • We all start out as newbie's..be kind
Re: Christmas light controller
« Reply #4 on: October 13, 2019, 06:54:40 pm »
I will only use this in the evening time for about 2 weeks a year at 4 hours at a time.
Siglent SDS 1202X-E - Heathkit IO-4105 - Dr. Meter 0-30v 5a power supply - 862d+ combo unit - Weller WLC100 - Kunkin KL283 DC load. Not much gear yet.
 

Offline queennikki1972Topic starter

  • Regular Contributor
  • *
  • Posts: 133
  • Country: us
  • We all start out as newbie's..be kind
Re: Christmas light controller
« Reply #5 on: October 13, 2019, 07:05:05 pm »
If the relay clicked every 1000ms aka every 1 second for 4 hours for 14 days that's 201,600 clicks, right?

Siglent SDS 1202X-E - Heathkit IO-4105 - Dr. Meter 0-30v 5a power supply - 862d+ combo unit - Weller WLC100 - Kunkin KL283 DC load. Not much gear yet.
 

Offline queennikki1972Topic starter

  • Regular Contributor
  • *
  • Posts: 133
  • Country: us
  • We all start out as newbie's..be kind
Re: Christmas light controller
« Reply #6 on: October 13, 2019, 07:10:21 pm »
Says the lifetime of the mechanical and electrical switch is 1 x 10 7 OPS. I'm not very good at scientific quotation, can someone interpret.?
Siglent SDS 1202X-E - Heathkit IO-4105 - Dr. Meter 0-30v 5a power supply - 862d+ combo unit - Weller WLC100 - Kunkin KL283 DC load. Not much gear yet.
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Christmas light controller
« Reply #7 on: October 13, 2019, 07:16:36 pm »
Triacs are much better than mechanical relays for controlling line voltage lights. You can even do dimming in software if you include a way for the microcontroller to detect the zero crossing of the AC waveform.

1 * 10^7 is just a 1 with 7 zeroes, so 10,000,000 operations.
« Last Edit: October 13, 2019, 07:18:30 pm by james_s »
 
The following users thanked this post: queennikki1972

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3035
  • Country: us
Re: Christmas light controller
« Reply #8 on: October 13, 2019, 10:40:16 pm »
The mechanical relays will work for at least one season, but I'd go with a solid-state relay module like this:

https://www.amazon.com/SainSmart-Channel-Duemilanove-MEGA2560-MEGA1280/dp/B00ZZVQR5Q
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf