Results 1 to 7 of 7

Thread: SSR.... all 16 will not trip at the same time.

  1. #1
    Join Date
    Sep 2018
    Posts
    3
    Post Thanks / Like

    Default SSR.... all 16 will not trip at the same time.

    Arduino Mega 2560
    2 - SainSmart SSR boards
    Vixen 3

    Iím new to Xmas light sequencing. This is my first time. I have a couple of songs sequenced in vixen. Everything is great except when I have all 16 relays(lights) on at the same. No Go. None of them come on. Any part of my vixen sequence that turns on more than 10 relays results in no relays turning on. However, the setup display of my house in vixen shows all lights on. It doesnít matter which song either.

    I assumed it was a current problem so I added another 5 volt power supply so each SainSmart board has itís on separate 5 volt supply...no go.

    Today, I swapped in a spare computer power supply to provide 5 volts to the relay boards....still no go.

    Anyone have any ideas?

    Thanks
    Deuce

  2. #2
    Join Date
    Dec 2012
    Location
    Hudson MA
    Posts
    3,069
    Post Thanks / Like

    Default Re: SSR.... all 16 will not trip at the same time.

    Possibility #1:
    You may have added the power the relays needed, however you may be overloading the power output on the arduino. Each output must provide enough current to latch the relay, If the total of all of the relays exceeds the aggregate current capacity of the Arduino then the relays will not work.

    Possibility #2:
    Your sketch is not set up properly


    2018 - Moving and going to visit my Daughter in New Zealand. Most likely I will be dark or nearly dark, Some static stuff that is simple to put up.

  3. #3
    Join Date
    Nov 2017
    Posts
    1
    Post Thanks / Like

    Default Re: SSR.... all 16 will not trip at the same time.

    Make sure all of your grounds from the power supply, arduino,and relay boards are connected

  4. #4
    Join Date
    Sep 2018
    Posts
    3
    Post Thanks / Like

    Default Re: SSR.... all 16 will not trip at the same time.

    Quote Originally Posted by Msp1996 View Post
    Make sure all of your grounds from the power supply, arduino,and relay boards are connected
    Thanks. I will ground both boards and the Arduino. As for the Arduino not being able to handle the current draw for the relays....I only have 16 relays for a 2560 board which should support 48 relays.

  5. #5
    Join Date
    Sep 2018
    Posts
    3
    Post Thanks / Like

    Default Re: SSR.... all 16 will not trip at the same time.

    I’m thinking my Arduino is the problem. If I turn off 5 relays on either relay board at one time, the remaining 11 relays will turn on, so that rules out a relay board problem.

  6. #6
    Join Date
    Dec 2012
    Location
    Hudson MA
    Posts
    3,069
    Post Thanks / Like

    Default Re: SSR.... all 16 will not trip at the same time.

    So it looks like the Arduino can source 20ma and the SSR needs 20ma to trigger. If the supply driving the arduino starts to dip, then you will not be able to source that 20ma. What is the output voltage on the I/O pins as you turn on more outputs. If the supply drops below 7v the Arduino voltage regulators will fail to keep the voltage at 5V (the regulator needs +2v to be able to provide a stable 5v output voltage).


    2018 - Moving and going to visit my Daughter in New Zealand. Most likely I will be dark or nearly dark, Some static stuff that is simple to put up.

  7. #7
    Join Date
    Dec 2014
    Location
    Southern California
    Posts
    726
    Post Thanks / Like

    Default Re: SSR.... all 16 will not trip at the same time.

    Which model Sainsmart SSR boards are you using?
    My recollection of the MEGA is that each quadrant of outputs can not exceed 200 or so Millie amps. Depending on the current requirement of each channel, you may be exceeding the MEGA capabilities.
    Kevin

    2017 - Pi3 w/FPP controlling 8 ESPixelsticks driving 1250pixels and 3 Arduino MEGAS communicating with ESP-01s driving 96 channels
    2016 - 184 channels of Blinking/Flashing using 4 Arduino MEGAs and cheap home-made props.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •