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.
  • rhapenR Offline
    rhapenR Offline
    rhapen
    wrote on last edited by
    #161

    found 250V 0.25A o aliexpress - i believe this will be good enough - http://tiny.cc/h4fpiy

    1 Reply Last reply
    0
    • Sacha TelgenhofS Sacha Telgenhof

      Hi @aproxx , very nice module! Just one question: after studying the board I still not quite understand how an existing light switch needs to be connected. There are 3 connecters, one for AC and two relays. Where do I connect the light switch to?

      Cheers! Sacha

      rhapenR Offline
      rhapenR Offline
      rhapen
      wrote on last edited by
      #162

      @Sacha-Telgenhof : It also took me bit of time. It is the PINs on the board 7 GND 4 for two switches 7 and 4 are the digital inputs on arduino.

      1 Reply Last reply
      0
      • Jose SimoesJ Offline
        Jose SimoesJ Offline
        Jose Simoes
        wrote on last edited by
        #163

        hey @Aproxx, nice project, do you think a current sensor could be added to the PCB to monitor electrical consumption. the idea of adding triact to the circuit by @overlordt seems to work theoretically.

        1 Reply Last reply
        0
        • SensibleHeatS Offline
          SensibleHeatS Offline
          SensibleHeat
          wrote on last edited by
          #164

          My parts are on the way and I"m looking forward to trying this one out. Thanks for sharing this project!!

          1 Reply Last reply
          0
          • S Offline
            S Offline
            stray
            wrote on last edited by
            #165

            If you create a new version, could you connect the other 2 5V and GND holes next to D6 so these can easily be used as power output?

            1 Reply Last reply
            0
            • openhardware.ioO openhardware.io

              https://www.openhardware.io/view/77/AC-DC-double-solid-state-relay-module

              M Offline
              M Offline
              Marco Lo Grasso
              wrote on last edited by Marco Lo Grasso
              #166

              I can't understand (scrub here) how to wire the regular light switch to the board.
              Supposing I want to use only one relay, I have to wire the switch to the 7 PIN and GND right?

              tonnerre33T 1 Reply Last reply
              0
              • M Marco Lo Grasso

                I can't understand (scrub here) how to wire the regular light switch to the board.
                Supposing I want to use only one relay, I have to wire the switch to the 7 PIN and GND right?

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

                @Marco-Lo-Grasso said in 💬 AC-DC double solid state relay module:

                Yes you have to do this, but i don't know if the sketch is working fine with the light switch ;) I haven't tested this feature yet.

                Caution, the light switch don't be connected to the 230V !

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  Joe Barneson
                  wrote on last edited by
                  #168

                  Any suggestions for front panels on the light switches? I've connected mine to normal switches to control the relays, but I'd really like a 4-8 soft button front panel that I could also wire into GPIO's on an ESP for "scene" control outside of the local relays. Auy suggestions or experience would be great

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

                    Hello, I'm not sure exactly of what you want to to, but you could use software i2c on those two pins and connect and i2c keypad. You can search mpr121 keypad on google or aliexpress.
                    But be careful you should add an isolating cover on top of it if you connect to this board as the crepage/cleatance between main voltage and 5V/3.3V is not sufficient in some part of the board and it could end up with low voltage circuit at main voltage...

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      Joe Barneson
                      wrote on last edited by
                      #170

                      good to know clearence isn't there ... something i could correct though

                      An i2c and capacity touch could work great.. but i can't find any cleanly designed front panel that I could use in place of my light switches.

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        Misna
                        wrote on last edited by
                        #171

                        So if I understanded right the device needs also neutral to work? That's a problem because here in Finland we only circulate the phase through light switches. Neutral goes straight to the lamps.

                        Nca78N 1 Reply Last reply
                        0
                        • M Misna

                          So if I understanded right the device needs also neutral to work? That's a problem because here in Finland we only circulate the phase through light switches. Neutral goes straight to the lamps.

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

                          @Misna said in 💬 AC-DC double solid state relay module:

                          So if I understanded right the device needs also neutral to work? That's a problem because here in Finland we only circulate the phase through light switches. Neutral goes straight to the lamps.

                          Yes it does. Same problem for most people, even here in Vietnam it's the same.
                          Solution is to put it in ceiling connected directly to the lights, and use radio switch to control it.

                          1 Reply Last reply
                          0
                          • H Offline
                            H Offline
                            hugch
                            wrote on last edited by
                            #173

                            Hi,
                            first of all you had an great idea to user a small layout with this functions.
                            The protection at the AC site is very good I think.

                            Today I get ten boards with your current gerber files (v3.3.2).
                            But I think it does not work as expected:

                            • Using a 5 V Arduino and the NRF without a level switcher with 3.3 V it will be break in the future.
                            • The big relay routes have no protection (I don't know if solder resist is the correct word).
                            • Maybe as pulldown resistor to the relay input could be useful.
                            • The three GND and Vcc Pins are not connected to each other.
                            • Maybe it could usefull to use fuse sockets for the not resetable fuse.

                            For the voltage problem we could use an 3.3 V Arduino mini pro with 8 MHz crystal.
                            In this case we don't need the LDO and could use LDO from the Arduino board.

                            1 Reply Last reply
                            0
                            • H Offline
                              H Offline
                              hugch
                              wrote on last edited by
                              #174

                              Sorry I forgot something.
                              For a 3.3 V Arduino we need a MOSFET or so to drive the SSR.
                              But there are cheep and small SMD packages available.

                              Nca78N 1 Reply Last reply
                              0
                              • H hugch

                                Sorry I forgot something.
                                For a 3.3 V Arduino we need a MOSFET or so to drive the SSR.
                                But there are cheep and small SMD packages available.

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

                                @hugch no you don't need MOSFET for those SSR, the high level of input is below 3.3V. I've made a board with those and a 3.3V Arduino and didn't have any problem.

                                For this board it's missing fuses on the SSRs, if they fail and shortcut nothing will stop the short circuit at the moment.

                                H 1 Reply Last reply
                                0
                                • Nca78N Nca78

                                  @hugch no you don't need MOSFET for those SSR, the high level of input is below 3.3V. I've made a board with those and a 3.3V Arduino and didn't have any problem.

                                  For this board it's missing fuses on the SSRs, if they fail and shortcut nothing will stop the short circuit at the moment.

                                  H Offline
                                  H Offline
                                  hugch
                                  wrote on last edited by
                                  #176

                                  @Nca78 My SSRs are with 5 V level but one with 3.3 V level would be better. You are right.
                                  And the fuses are important but i think the step down have an over current protection, but a PTC could useful.
                                  But a MOSFET or equal is also required:
                                  It is not a good idea to drive current intensive peripheral directly with an micro controller.
                                  The absolute maximum ratings for an ATmega328p is 40 mA. And a SSR is using 25 mA or so.
                                  The better choice is using a driver or a simple transistor circuit.

                                  To drive the SSR directly would not damage the controller at this moment, but your are decrease the lifetime.
                                  And the lifetime for an in wall module or so is very important.

                                  1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    alex1510
                                    wrote on last edited by
                                    #177

                                    Hello!!, my name is Alejandro, I'm from Spain and I have been working on something quite similar to this project. I would like to contribute to reach a final design. What I have done until now is a prototype board similar than yours and I would like to add a top board with touch buttons to fit into Livolo glass panel switch.
                                    https://es.aliexpress.com/store/product/Free-Shipping-Livolo-Luxury-White-Pearl-Crystal-Glass-151mm-80mm-EU-standard-Double-Glass-Panel-VL/500715_1684198410.html?spm=2114.12010608.0.0.6cyWwJ

                                    And try to do something like this also including ws2812 rgb led for touchpad and a small speaker just to sound someting when touch the button.

                                    https://z-uno.z-wave.me/projects/sensor-wall-switch-based-on-livolo-glass/

                                    My development is based on ESP8266 without rf communication but as I have progressed I have checked that Wifi connection is a complex system compared to rf so I am thinking to change to arduino or esp + nrf.

                                    1 Reply Last reply
                                    0
                                    • johnym30J Offline
                                      johnym30J Offline
                                      johnym30
                                      wrote on last edited by
                                      #178

                                      Hi everyone . I managed to create my first module and it seems to working but why at my domoticz only one switch appears as new device???

                                      1 Reply Last reply
                                      0
                                      • johnym30J Offline
                                        johnym30J Offline
                                        johnym30
                                        wrote on last edited by
                                        #179

                                        I solved my last problem, but now i see that although both of the switches in Domoticz show off, i have power on the second one. What could be the problem? Faulty ssr?

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

                                          What's happening if you switch it on then off in domoticz ?

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


                                          17

                                          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