Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. OpenHardware.io
  3. 💬 AC-DC double solid state relay module

💬 AC-DC double solid state relay module

Scheduled Pinned Locked Moved OpenHardware.io
hlk-pm01solid state relaylight switchlightacdc
226 Posts 67 Posters 103.6k Views 65 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • tonnerre33T Offline
    tonnerre33T Offline
    tonnerre33
    Hardware Contributor
    wrote on last edited by tonnerre33
    #115

    Hello all,

    I have finished to assemble one of this board today.

    You can see some pictures of my board here :
    http://www.photorapide.com/albums/jordan/khreln/ac-dc-double-solid-state-relay-module.html

    If you want more pictures, ask me ;)

    The skecth works fine.

    Thx for this project.

    okosO 1 Reply Last reply
    0
    • tonnerre33T tonnerre33

      Hello all,

      I have finished to assemble one of this board today.

      You can see some pictures of my board here :
      http://www.photorapide.com/albums/jordan/khreln/ac-dc-double-solid-state-relay-module.html

      If you want more pictures, ask me ;)

      The skecth works fine.

      Thx for this project.

      okosO Offline
      okosO Offline
      okos
      wrote on last edited by okos
      #116

      @tonnerre33
      Avesome photogallery :smile:
      whose sketch you used? because I have a problem with phisycal switches if I use sketch of Nca78 (I wrote about this earlier)

      Nca78N 1 Reply Last reply
      0
      • tonnerre33T Offline
        tonnerre33T Offline
        tonnerre33
        Hardware Contributor
        wrote on last edited by
        #117

        I used the sketch of Nca78 (2 months ago) but i only command relays from jeedom.
        I didn't test physical switch change because i don't have neutral wire in my switch box :(

        1 Reply Last reply
        0
        • okosO okos

          @tonnerre33
          Avesome photogallery :smile:
          whose sketch you used? because I have a problem with phisycal switches if I use sketch of Nca78 (I wrote about this earlier)

          Nca78N Offline
          Nca78N Offline
          Nca78
          Hardware Contributor
          wrote on last edited by
          #118

          @okos said:

          @tonnerre33
          Avesome photogallery :smile:
          whose sketch you used? because I have a problem with phisycal switches if I use sketch of Nca78 (I wrote about this earlier)

          Sorry Okos I didn't notice the problem came from my sketch. I'm not using the physical switches at the moment (same reason than tonnerre33, no neutral wire where I have put it at the moment), but I will try to find some time next week to fix the sketch. I'll fix the temperature sending too as sometimes I have some tiny variations of temperature that generate a lot of message sending in a burst and it perturbates other sensors.

          1 Reply Last reply
          0
          • br0wnB Offline
            br0wnB Offline
            br0wn
            wrote on last edited by
            #119

            @tonnerre33
            Just a quick question before i order the PCB, is it realy 4.6x5 cm? (thats what it says on the dirtypcb website, but when i mesure the PCB in the diptrace file, it shows a perfect 5x5 cm.
            can you please explain?

            1 Reply Last reply
            0
            • Nca78N Offline
              Nca78N Offline
              Nca78
              Hardware Contributor
              wrote on last edited by
              #120

              PCB is 5*5cm.
              You will also have to include the antenna of the NRF24 that is outside the PCB area.

              1 Reply Last reply
              0
              • tonnerre33T Offline
                tonnerre33T Offline
                tonnerre33
                Hardware Contributor
                wrote on last edited by
                #121

                Yes, it's 5x5cm.
                For information, i can't place this pcb in my wall box.
                I'll search other wall box this week in order to find a greater box..

                If someone want just to test the PCB i can sell one PCB if you are in france ;)
                I have ordered 10 boards but i don't think use everything.

                Nca78N br0wnB 2 Replies Last reply
                0
                • tonnerre33T tonnerre33

                  Yes, it's 5x5cm.
                  For information, i can't place this pcb in my wall box.
                  I'll search other wall box this week in order to find a greater box..

                  If someone want just to test the PCB i can sell one PCB if you are in france ;)
                  I have ordered 10 boards but i don't think use everything.

                  Nca78N Offline
                  Nca78N Offline
                  Nca78
                  Hardware Contributor
                  wrote on last edited by
                  #122

                  @tonnerre33 said:

                  If someone want just to test the PCB i can sell one PCB if you are in france ;)
                  I have ordered 10 boards but i don't think use everything.

                  Same here if you are in Vietnam or asia, just pay postage and I can send you :p
                  I have 20 as first order from Seeed took too long to arrive I thought it was lost, so I ordered again from PCBWay. Then received both orders.

                  @tonnerre33 what is the space available in your wall box ? Would a 43*45mm pcb fit ? Only one relay/switch on my future board but phase + neutral in and phase + neutral out so no need to have additionnal connectors. No SMD, safe distance between tracks + milling. And 0.1'' tracks for load so it should be ok without reinforcing the tracks with solder.

                  tonnerre33T 1 Reply Last reply
                  0
                  • tonnerre33T tonnerre33

                    Yes, it's 5x5cm.
                    For information, i can't place this pcb in my wall box.
                    I'll search other wall box this week in order to find a greater box..

                    If someone want just to test the PCB i can sell one PCB if you are in france ;)
                    I have ordered 10 boards but i don't think use everything.

                    br0wnB Offline
                    br0wnB Offline
                    br0wn
                    wrote on last edited by
                    #123

                    @tonnerre33 Thanks buddy,
                    do you know if dirtypcb are still operational? because i've seen in their website that they want to migrate to another website "dangerousprototype"
                    did anyone order from them lately?

                    Nca78N 1 Reply Last reply
                    0
                    • br0wnB br0wn

                      @tonnerre33 Thanks buddy,
                      do you know if dirtypcb are still operational? because i've seen in their website that they want to migrate to another website "dangerousprototype"
                      did anyone order from them lately?

                      Nca78N Offline
                      Nca78N Offline
                      Nca78
                      Hardware Contributor
                      wrote on last edited by
                      #124

                      @br0wn dev.dangerousprototypes.com is supposed to be a test site only, dirtypcb is still functional.

                      br0wnB 1 Reply Last reply
                      1
                      • Nca78N Nca78

                        @br0wn dev.dangerousprototypes.com is supposed to be a test site only, dirtypcb is still functional.

                        br0wnB Offline
                        br0wnB Offline
                        br0wn
                        wrote on last edited by
                        #125

                        @Nca78

                        Merci ^^

                        1 Reply Last reply
                        0
                        • Nca78N Nca78

                          @tonnerre33 said:

                          If someone want just to test the PCB i can sell one PCB if you are in france ;)
                          I have ordered 10 boards but i don't think use everything.

                          Same here if you are in Vietnam or asia, just pay postage and I can send you :p
                          I have 20 as first order from Seeed took too long to arrive I thought it was lost, so I ordered again from PCBWay. Then received both orders.

                          @tonnerre33 what is the space available in your wall box ? Would a 43*45mm pcb fit ? Only one relay/switch on my future board but phase + neutral in and phase + neutral out so no need to have additionnal connectors. No SMD, safe distance between tracks + milling. And 0.1'' tracks for load so it should be ok without reinforcing the tracks with solder.

                          tonnerre33T Offline
                          tonnerre33T Offline
                          tonnerre33
                          Hardware Contributor
                          wrote on last edited by tonnerre33
                          #126

                          @Nca78
                          I have searched others wall box today but nothing fit (box from france).
                          A 43x45mm pcb will fit well.
                          I tried the pcb of the roller-shutter-node (45x46mm) and the wall box fits well.
                          What do you mean by "no additionnal connectors" ? Will can use physical switches ?

                          Nca78N 1 Reply Last reply
                          0
                          • mr_constM mr_const

                            @Achim looks like a mistake in BOM (maybe that aliexpress listing has changed). Project uses same relay, but 5V version is needed.

                            JonnyDev13J Offline
                            JonnyDev13J Offline
                            JonnyDev13
                            wrote on last edited by
                            #127

                            @mr_const said:

                            ybe that aliexpress listing has changed). Project uses same relay, but 5V version

                            Uggh, I just received 20 of the 12v ones yesterday that I purchased from the BOM link. Is it safe to say that these will absolutely not work, or is there some way to adapt them with a step-up converter or something?

                            Nca78N 1 Reply Last reply
                            0
                            • tonnerre33T tonnerre33

                              @Nca78
                              I have searched others wall box today but nothing fit (box from france).
                              A 43x45mm pcb will fit well.
                              I tried the pcb of the roller-shutter-node (45x46mm) and the wall box fits well.
                              What do you mean by "no additionnal connectors" ? Will can use physical switches ?

                              Nca78N Offline
                              Nca78N Offline
                              Nca78
                              Hardware Contributor
                              wrote on last edited by
                              #128

                              @tonnerre33 said:

                              @Nca78
                              I have searched others wall box today but nothing fit (box from france).
                              A 43x45mm pcb will fit well.
                              I tried the pcb of the roller-shutter-node (45x46mm) and the wall box fits well.
                              What do you mean by "no additionnal connectors" ? Will can use physical switches ?

                              I mean that with my future PCB you have neutral and phase in, and neutral and phase out. No need to have an extra wire from "phase in" to go to the input of the relay + a connector to connect "neutral" in to "neutral out" (that is not available on the board). At the moment with the board I installed, I have to use a wago connector for neutral which takes some extra space.

                              1 Reply Last reply
                              0
                              • br0wnB Offline
                                br0wnB Offline
                                br0wn
                                wrote on last edited by
                                #129

                                @Nca78 , would this module work as a roller shutter if the motor is not drawing more than 2A (the maximum current that this SSR relay can withstand is 2A) ?

                                1 Reply Last reply
                                0
                                • tonnerre33T Offline
                                  tonnerre33T Offline
                                  tonnerre33
                                  Hardware Contributor
                                  wrote on last edited by
                                  #130

                                  Hello,

                                  Nca78 has already answered :

                                  @Nca78 said:

                                  @tonnerre33 said:

                                  Hi,

                                  can we install this module in a wall ?
                                  Can we command shutters ?

                                  For the wall, that's the idea of keeping the 50*50mm size :)
                                  For the shutters technically yes, but there are (at least) 2 problems :

                                  • if you have the 2 relays on at the same time = 2 directions you will probably kill the motor, there is no hardware protection on this board to avoid that (one of the relays must have power only when the other one is in off state). This can be done in software so it's not blocking.
                                  • if you want to be able to control the level/percentage of closing, you need to measure time from min to max position, to do that you need to measure current (when motor stop consuming current it means shutter has reached it's 0% or 100% position). But there is no current sensor on this board, so you either need to implement a manual calibration process (that will lose precision over time) or use only manual control.

                                  I am planning to test it when I have some time, and when I receive the PCB.

                                  1 Reply Last reply
                                  0
                                  • Y_samY Offline
                                    Y_samY Offline
                                    Y_sam
                                    wrote on last edited by
                                    #131

                                    Looking to do something similar, Thanks for the contribution.
                                    However, I'd be very concerned about using an SSR (solid state relay) vs a mechanical relay. Even in the "OFF" position there is typically a small potential/current leakage through an SSR. When using SSR nearly all applications use a secondary mechanical disconnect to truely isolate the load, for service etc. Thoughts?

                                    Nca78N br0wnB 2 Replies Last reply
                                    0
                                    • Y_samY Y_sam

                                      Looking to do something similar, Thanks for the contribution.
                                      However, I'd be very concerned about using an SSR (solid state relay) vs a mechanical relay. Even in the "OFF" position there is typically a small potential/current leakage through an SSR. When using SSR nearly all applications use a secondary mechanical disconnect to truely isolate the load, for service etc. Thoughts?

                                      Nca78N Offline
                                      Nca78N Offline
                                      Nca78
                                      Hardware Contributor
                                      wrote on last edited by
                                      #132

                                      @Y_sam said:
                                      ... to truely isolate the load, for service etc. Thoughts?

                                      For that, disconnect the fuse in your fuse box, it's the only safe way.

                                      1 Reply Last reply
                                      0
                                      • Y_samY Y_sam

                                        Looking to do something similar, Thanks for the contribution.
                                        However, I'd be very concerned about using an SSR (solid state relay) vs a mechanical relay. Even in the "OFF" position there is typically a small potential/current leakage through an SSR. When using SSR nearly all applications use a secondary mechanical disconnect to truely isolate the load, for service etc. Thoughts?

                                        br0wnB Offline
                                        br0wnB Offline
                                        br0wn
                                        wrote on last edited by
                                        #133

                                        @Y_sam,
                                        Nca78 highlighetd two problems:

                                        • The absence of mecanical interlock between the "up" and "down" relays, (you can use a soft interlock to prevent them from beign activated at the same time)
                                        • The absence of a current sensor to know whether or not the shutter is fully open or fully closed : I am trying to add an ACS712, but in my case, i will know if its fully open/close if the current becomes relatively high, because the my roller shutter doesnt have limit switches and keeps running ...
                                        1 Reply Last reply
                                        0
                                        • JonnyDev13J JonnyDev13

                                          @mr_const said:

                                          ybe that aliexpress listing has changed). Project uses same relay, but 5V version

                                          Uggh, I just received 20 of the 12v ones yesterday that I purchased from the BOM link. Is it safe to say that these will absolutely not work, or is there some way to adapt them with a step-up converter or something?

                                          Nca78N Offline
                                          Nca78N Offline
                                          Nca78
                                          Hardware Contributor
                                          wrote on last edited by
                                          #134

                                          @JonnyDev13 said:

                                          @mr_const said:

                                          ybe that aliexpress listing has changed). Project uses same relay, but 5V version

                                          Uggh, I just received 20 of the 12v ones yesterday that I purchased from the BOM link. Is it safe to say that these will absolutely not work, or is there some way to adapt them with a step-up converter or something?

                                          You cannot adapt them with a step-up converter, there's no space on the PCB for that. But you should test them with 5V, if you are lucky they might work. I'm using 5V relays with 3.3V without any problem. The "must switch off" value in datasheet (for the original, remember what you bought is a clone...) is 0.9V which should be ok (real switch off value will probably be closer to this than to 5V) but the "must switch on" value is 8.4V which is quite far away from the 5V. The only way you will know if it will reliably switch one with 5V is to give it a try.

                                          @okos said:

                                          Hello.
                                          I tried to upload my two boards ( arduino pro mini 8Mhz , 3,3 V ) modified sketches but returned to sketch Nca78 (with DS18B20), unfortunately, does not operate a physical switch. Sometimes phisical switch changes state in domoticz ( not every time ) but relays do not change state.
                                          Switching on and switching off the lights of domoticz changes state relay without a problem.
                                          What could be wrong ?

                                          Sorry I'm a bit short on free time at the moment, didn't have time to take a look at the sketch yet.
                                          What you are saying is sometimes you change the physical switch position, it changes the status in domoticz, but the light status is not matching the status of the physical switch and the value of the switch in Domoticz ?

                                          For example: light is off and domoticz says off. Then you push the switch and domoticz says the light is on. But in fact the light is still off ?

                                          JonnyDev13J 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          20

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular