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.5k 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
    #38

    Hi,

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

    Nca78N 1 Reply Last reply
    0
    • mr_constM Offline
      mr_constM Offline
      mr_const
      wrote on last edited by
      #39

      I updated source file for this module, so it supports MySensors 2.0 now and sends temperature data too. You can pick it at my github page. Total size for 'Arduino Pro or Pro Mini w/ ATmega328 (5V, 16 MHz)'
      Program size: 13 396 bytes (used 44% of a 30 720 byte maximum) (2,78 secs)
      Minimum Memory Usage: 614 bytes (30% of a 2048 byte maximum)

      1 Reply Last reply
      3
      • M Offline
        M Offline
        Matt
        wrote on last edited by
        #40

        Hi Approx
        Thanks for the effort here. I have all the bits except for the PCBs which were shipped a week ago so not far off.

        Nca78N 1 Reply Last reply
        0
        • tonnerre33T tonnerre33

          Hi,

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

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

          @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.

          tonnerre33T 1 Reply Last reply
          1
          • M Matt

            Hi Approx
            Thanks for the effort here. I have all the bits except for the PCBs which were shipped a week ago so not far off.

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

            @dpressle said:

            @Nca78 How is the LE33 working for you? i couldn't make it drive the NRF...

            I just used one on a test board made on an Easy PCB, it's just powering the radio like on this board and it is all fine at the moment.

            1 Reply Last reply
            0
            • dpressleD dpressle

              @Nca78 How is the LE33 working for you? i couldn't make it drive the NRF...

              mr_constM Offline
              mr_constM Offline
              mr_const
              wrote on last edited by
              #43

              @dpressle my experience shows, that this PCB works fine with LE33 when powered from mains, however nrf fails to receive data, when powered from FTDI through arduino.

              Nca78N 1 Reply Last reply
              0
              • mr_constM mr_const

                @dpressle my experience shows, that this PCB works fine with LE33 when powered from mains, however nrf fails to receive data, when powered from FTDI through arduino.

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

                @Konstantin-Kolesnichenko what voltage is selected on the ftdi adapter ? If it's 3.3V it's not surprising as the LE33 needs over 3.5V (3.3V + 0.2V voltage drop).

                mr_constM 1 Reply Last reply
                0
                • okosO Offline
                  okosO Offline
                  okos
                  wrote on last edited by
                  #45

                  Hello, i have question can i use arduino pro mini 3.3 V?

                  http://s.aliexpress.com/zmyyY7BV

                  Thanx

                  Nca78N 1 Reply Last reply
                  0
                  • Nca78N Nca78

                    @Konstantin-Kolesnichenko what voltage is selected on the ftdi adapter ? If it's 3.3V it's not surprising as the LE33 needs over 3.5V (3.3V + 0.2V voltage drop).

                    mr_constM Offline
                    mr_constM Offline
                    mr_const
                    wrote on last edited by
                    #46

                    @Nca78 you're right, my FTDI was at 3.3v after experiments with ESP8266. With 5v everything works as expected.

                    1 Reply Last reply
                    0
                    • okosO okos

                      Hello, i have question can i use arduino pro mini 3.3 V?

                      http://s.aliexpress.com/zmyyY7BV

                      Thanx

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

                      @okos said:

                      Hello, i have question can i use arduino pro mini 3.3 V?

                      http://s.aliexpress.com/zmyyY7BV

                      Thanx

                      I will try to use one and HLK-PM03 generating 3.3V, and bypassing the regulator on the PCB.
                      The only question is about the SSR relays, they are supposed to work with 5V logic levels, I need to test the relays I have received work reliably with 3.3V logic.
                      Datasheet says operating range is 4-6V but 4V is the maximum value at which they should switch on, so there's some hope here ;)

                      1 Reply Last reply
                      0
                      • Nca78N Nca78

                        @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.

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

                        @Nca78 thanx for your answer ;)

                        You are right, 2 directions can kill the motor that's why we need one relay for on/off the motor and the other for command up/down.
                        But for command up/down, and in order to do an hardware protection, we can use an inversor relay.
                        Do you know an inversor relay with the same size ? I didn't find that kind of relay :(

                        1 Reply Last reply
                        0
                        • scalzS Offline
                          scalzS Offline
                          scalz
                          Hardware Contributor
                          wrote on last edited by scalz
                          #49

                          @tonnerre33
                          I have made a board for tshutters ;)
                          on my side, it's completed. I'm actually checking files, writing docs for my git (bom etc..) I have so much projects almost completed to show so I have to clean my projects one by one :persevere: and I don't talk about software stuff too..arghh!
                          Here it is https://forum.mysensors.org/topic/2944/roller-shutter-node

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

                            Yes, i know this good project but he don't use an arduino pro mini like Aproxx ;)
                            Your project need welding cms and i never do it ^^
                            The Aproxx's board has Thermal Cutoffs, and i didn't see that in your project

                            1 Reply Last reply
                            0
                            • scalzS Offline
                              scalzS Offline
                              scalz
                              Hardware Contributor
                              wrote on last edited by scalz
                              #51

                              @tonnerre33 yep. you're right, it's cms I'm sorry :disappointed: I think.. good luck to fit everything with arduino mini in wall.
                              About the cutoff, I replaced this by a simple temperature sensor for monitoring. imho, i have two fuses onboards + varistor, enough for me comparing to some commercial products. If it burns you have a big problem somewhere!! But sure it's better to know what you do, thermal fuses is good ;)

                              tonnerre33T 1 Reply Last reply
                              0
                              • scalzS scalz

                                @tonnerre33 yep. you're right, it's cms I'm sorry :disappointed: I think.. good luck to fit everything with arduino mini in wall.
                                About the cutoff, I replaced this by a simple temperature sensor for monitoring. imho, i have two fuses onboards + varistor, enough for me comparing to some commercial products. If it burns you have a big problem somewhere!! But sure it's better to know what you do, thermal fuses is good ;)

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

                                @scalz don't be sorry, i just need to learn to weld cms xd But for not disturb this project, i'll continue ta ask my questions in your topic project ;)

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

                                  @tonnerre33 said:

                                  But for command up/down, and in order to do an hardware protection, we can use an inversor relay.
                                  I don't know if we need an inversor relay. For sure it will be hard to find another relay as small as these SSRs
                                  Maybe I'm wrong but I from what I know roller shutter motors have a common ground and then you connect the phase for the direction you want to use. I think it can be done in software, with hardware it cannot be done on this PCB because of the way the SSRs are connected.

                                  @scalz on your board you use relays that are much bigger than those tiny SSRs, in the end it probably gives the same result for the space used on the board, and as you have the radio on the other side the depth difference is not very big, just 2mm from the plastic at the base of the connectors.

                                  1 Reply Last reply
                                  0
                                  • okosO Offline
                                    okosO Offline
                                    okos
                                    wrote on last edited by okos
                                    #54

                                    Hi I did everything according to the project and I have problem "error sending the switch command check device / hardware"
                                    One change for me is 10nF capacitor instead of 100nF (I dont have now
                                    )
                                    Could this be the reasons this error?!
                                    0_1470516115940_ERROR.JPG

                                    Nca78N 1 Reply Last reply
                                    0
                                    • okosO okos

                                      Hi I did everything according to the project and I have problem "error sending the switch command check device / hardware"
                                      One change for me is 10nF capacitor instead of 100nF (I dont have now
                                      )
                                      Could this be the reasons this error?!
                                      0_1470516115940_ERROR.JPG

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

                                      @okos if you have the device in Domoticz it means it could run, and send data to the gateway controller.
                                      Did you change anything in hardware of software between the moment you added the node/sensor to Domoticz and the moment you tried to activate it ?
                                      Are you sure your settings for the ACK are ok ? Maybe you are not sending one in the node but waiting from one in Domoticz ? Check the "Ack" column in Domoticz and if it's true try to change it to false.

                                      okosO 1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        Matt
                                        wrote on last edited by Matt
                                        #56

                                        Aproxx you roxx. It works! Not sure what to do with it yet, but likely it will end up in a wall sometime soon on light duties. Thanks for sharing such a great design :-)
                                        0_1470565848624_IMG_20160807_222603-800x735.jpg
                                        Hmm just pulled some switches, they are mostly SPDT jobbies on multiple switches, no idea how to hood this bad-boy up =(

                                        1 Reply Last reply
                                        0
                                        • Daniel OliveiraD Offline
                                          Daniel OliveiraD Offline
                                          Daniel Oliveira
                                          wrote on last edited by
                                          #57

                                          Hi everyone,

                                          First I would like to thank the OP for sharing this great project :)

                                          Then I would like to ask what would happen if the node cannot connect to the gateway on startup? It would still be possible to use the switch?

                                          Thank you,

                                          MySensors rules my home :)

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


                                          16

                                          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