That number of channels give 60HZ, which wouldn't be a rapid flicker. But you may try it.
The testing of the Arduino & SSR can be done by using a "power-on" test that cycles through each channel for say 1/2 a second before it gets to start the Vixen reading stuff. The sketch (i.e. http://doityourselfchristmas.com/for...om-mode/page23 ) in post #1 uses a "test sequence" for this purpose.
If it still flickers then it is puzzling. I haven't experienced this phenomenon.
Are you sending a Vixen sequence of 52 channels?
Last edited by LightUp; 11-30-2017 at 03:15 PM.
Yes, I had edited my previous reply while not realizing you sent your reply.
No, I don't believe it is a Vixen version problem. I don't recall anyone having this issue in recent months. There have been people who claimed flicker with LEDs but they used "snubber", which in this case is a 47K 1/2 watt resistor across the SSR output where your lights connect to. But only some people had this experience.
Since you say that your SSR indicator LED also flickers, it makes me think that the problem is more associated with your Arduino - SSR interface. Hence a "test sequence", just using an Arduino sketch without using Vixen, may help to track it down.
This code uses AnalogWrite to write to all of the used pins. If you are using pins other than PWM (analog), the code won't work properly. Considering that you are using Sainsmart SSRs, they probably do not support dimming, so the analogWrite won't matter anyway. I suggest using the Victor_PV sketch found here - http://doityourselfchristmas.com/for...th-Random-mode
Victors code also has a Self-Test feature that will light the channels one at a time in order, so you can see if the MEGA/SSR is wired correctly without using Vixen.
Kevin
That's good point kev, as I was just looking at the code again and noticed that too.
The other thing about our usual "recommendation sketch" you have pointed to is to remember is to use the header "~!" (without the quotes) in Vixen Generic Serial setup.
Edit:
I tried a crude sketch to use the analoWrite and it did give a sort of a flicker. I used LEDs as I don't have the SSR board. I also didn't use Vixen, but a stand-alone sketch using 8 LEDs.
Last edited by LightUp; 11-30-2017 at 05:06 PM.
Thank you all for the help! LightUp, you solved it sir. I went back and checked my Vixen setup and I had 16 elements listed, but sure enough I had 48 channels listed for my controller. Changed that to 16 and no more flickering! Thank you so much, I would have never guessed that.
Bookmarks