ESPixelStick drivin...
 
Notifications
Clear all

ESPixelStick driving SSR's

7 Posts
4 Users
0 Reactions
1,389 Views
Posts: 447
Topic starter
(@utimgr)
Honorable Member
Joined: 14 years ago
[#58715]

This may be a really dumb question, but until you go looking for the answer, it remains a mystery.

I found that trying to drive SSR's using a WS2811 chip didn't give great results with certain AC loads, so thus looking for a better solution, and I know it exists. If I flash the WeMOS D1 with the firmware using the D1 MiniPro platform, indeed it does have a second output that calls out RELAY, and there are setups for channels 1 -8.

Question tho, is there some documentation someplace that describes both the proper way to set this up to control 4 SSR's, and the second part, how is this controlled in Xlights? Is it a separate model for the controller (assume it is), but how is it addressed within Xlights?

Thanks in advance.


6 Replies
dirknerkle
Posts: 10293
(@dirknerkle)
Illustrious Member
Joined: 18 years ago

To properly work with AC loads, you should use a zero cross signal from the AC source to properly time the switching of the SSR. This is normally used by the controller's code, not by the SSR itself. Using PWM alone, which works fine for DC loads, doesn't usually work very well in an AC prop.


Reply
Posts: 447
Topic starter
(@utimgr)
Honorable Member
Joined: 14 years ago

True, some SSR's drivers are zero cross over type. Might be I roll my own SSR board, since I only need a single output.


Reply
Posts: 447
Topic starter
(@utimgr)
Honorable Member
Joined: 14 years ago

OK, comes back to me now, where I used MOC301x but the PIC had an AC square wave input for zero cross detect....thats was years ago. So lets go back to the original question, and say I will use just a standard relay. In this application, its not switching much, maybe 5 or 6 times a night for the month. I have relays that are switching twice a day for the last 20 years, still working fine. And the frequency of the switching is low...every 20 minutes? SO....how is the firmware setup to drive the relay, what pins are defined on the WeMos, and more important, how is it controlled via Xlights.


Reply
Posts: 426
(@mikekrebs)
Reputable Member
Joined: 12 years ago

You can create any kind of model to control it in xLights. It kind of depends on what you are driving. If you are using a standard relay, set the threshhold in the EspPixelstick and it will turn on/off that output when it is over/under that value. This post has info on this setup.
https://doityourselfchristmas.com/forum/index.php?threads/espixelstick-v4-with-xlights-relay-output.60702/


Reply
MartinMueller2003
Posts: 7603
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

You want to use the true relay output to drive your SSR. Since you are not doing dimming, you do not need the zero crossing signal and you do not want a PWM relay mode, ESPS V4 can do this.


Reply
Posts: 447
Topic starter
(@utimgr)
Honorable Member
Joined: 14 years ago

Perfect thanks...hope to find some time this week to dive a bit deeper into things. Thanks everyone.


Reply
Share: