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.
  • Cliff KarlssonC Offline
    Cliff KarlssonC Offline
    Cliff Karlsson
    wrote on last edited by
    #3

    And whats the best way for soldering the thermal fuse? alligator-clips for heatsink, alot of heat, wide soldering tip and fast?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Samuel235
      Hardware Contributor
      wrote on last edited by
      #4

      Your 'board layout' image is missed the 2 resistors that you have included on the schematic (i think anyway, i can't read your schematic very well, poor resolution). I'm guessing these are not needed?

      MySensors 2.1.1
      Controller - OpenHAB (Virtual Machine)
      Gateway - Arduino Mega MQTT Gateway W5100

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aproxx
        Hero Member
        wrote on last edited by aproxx
        #5

        @Samuel235 At the moment I have one board (version 3.3.1, which is missing the temperature sensor) up and running for over a week. It's in a small closed box, and it has two lamps attached to it which are powered on every evening. So far everything seems to be ok. Temperature is still low inside this box after a few hours (couldn't perform any specific measurements yet, so that's why I added the temperature sensor in this one).

        @Cliff-Karlsson I just soldered the thermal fuse really quick. But maybe some other kind of heatsink would be useful! So any suggestions are welcome for this. :)

        @Samuel235 I have been using DipTrace to design all my PCBs, and I must admit that the schematic view in this software kit isn't the best.. I'll see what I can do to have the schematic quality improved! But all components which are on the schematic are on the PCB, so no components are missing on the board itself.

        S 1 Reply Last reply
        0
        • A aproxx

          @Samuel235 At the moment I have one board (version 3.3.1, which is missing the temperature sensor) up and running for over a week. It's in a small closed box, and it has two lamps attached to it which are powered on every evening. So far everything seems to be ok. Temperature is still low inside this box after a few hours (couldn't perform any specific measurements yet, so that's why I added the temperature sensor in this one).

          @Cliff-Karlsson I just soldered the thermal fuse really quick. But maybe some other kind of heatsink would be useful! So any suggestions are welcome for this. :)

          @Samuel235 I have been using DipTrace to design all my PCBs, and I must admit that the schematic view in this software kit isn't the best.. I'll see what I can do to have the schematic quality improved! But all components which are on the schematic are on the PCB, so no components are missing on the board itself.

          S Offline
          S Offline
          Samuel235
          Hardware Contributor
          wrote on last edited by
          #6

          @aproxx, I'm pleased to hear you're having no issues to date with your module!

          In that case could you point out where the two resistors are on your board before your AC power goes into the AC/DC transformer please? I'm interested in knowing why these are there :)

          A lot of us here use Eagle CADSOFT for our PCB and Schematic needs. It meets every requirement i can possibly imagine being needed.

          MySensors 2.1.1
          Controller - OpenHAB (Virtual Machine)
          Gateway - Arduino Mega MQTT Gateway W5100

          1 Reply Last reply
          0
          • A Offline
            A Offline
            aproxx
            Hero Member
            wrote on last edited by aproxx
            #7

            @Samuel235
            I assume you were referring to the 2 resistors at the high voltage circuit? These were actually used as placeholders for the temp cutoff and the slow blow fuse. As I didn't have these component in DipTrace I used resistors to replace them in the scheme. But I have updated the schematic to avoid any confusion!

            As for the EAGLE software: Is does meet all the needed requirements, but I just find DipTrace to be way more user-friendly.

            S 1 Reply Last reply
            0
            • A aproxx

              @Samuel235
              I assume you were referring to the 2 resistors at the high voltage circuit? These were actually used as placeholders for the temp cutoff and the slow blow fuse. As I didn't have these component in DipTrace I used resistors to replace them in the scheme. But I have updated the schematic to avoid any confusion!

              As for the EAGLE software: Is does meet all the needed requirements, but I just find DipTrace to be way more user-friendly.

              S Offline
              S Offline
              Samuel235
              Hardware Contributor
              wrote on last edited by
              #8

              @aproxx

              Ahh okay, thank you for pointing this out to me. My mind can rest now haha!

              MySensors 2.1.1
              Controller - OpenHAB (Virtual Machine)
              Gateway - Arduino Mega MQTT Gateway W5100

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Samuel235
                Hardware Contributor
                wrote on last edited by
                #9

                Could I ask the reason for the slow blow fuse here, what is specifically drawing high current at startup? I ask because i'm attempting to make my own on board AC-DC solution and I'm very tempted to put a fast acting fuse on the other side (DC side) of the AC-DC converter. I'm not sure what would be drawing your initial current spike (if you have one). The only things i can see for you is the on board relays....

                MySensors 2.1.1
                Controller - OpenHAB (Virtual Machine)
                Gateway - Arduino Mega MQTT Gateway W5100

                1 Reply Last reply
                0
                • sundberg84S Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by
                  #10

                  @Samuel235 Check http://forum.mysensors.org/topic/1607/safe-in-wall-ac-to-dc-transformers/295 - below post #295 is a great discussion about slow/fast blow.

                  Controller: Proxmox VM - Home Assistant
                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                  S 1 Reply Last reply
                  0
                  • m26872M Offline
                    m26872M Offline
                    m26872
                    Hardware Contributor
                    wrote on last edited by
                    #11

                    I also wrote some here about fuse selection: http://forum.mysensors.org/topic/3428/my-look-at-a-cheap-12v-power-supply

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      shabba
                      wrote on last edited by shabba
                      #12

                      Does anyone know how to convert diptrace to kicad format? I want to try and edit to make a RFM69 version.

                      An on that note - would swapping a 3.3v arduino in and connecting the HLK to raw and supply rest of circuit from the VCC pin work? That way I do not need to level shift for the RFM69 and I don't need the voltage converter either.

                      Thanks!

                      1 Reply Last reply
                      0
                      • sundberg84S sundberg84

                        @Samuel235 Check http://forum.mysensors.org/topic/1607/safe-in-wall-ac-to-dc-transformers/295 - below post #295 is a great discussion about slow/fast blow.

                        S Offline
                        S Offline
                        Samuel235
                        Hardware Contributor
                        wrote on last edited by
                        #13

                        @sundberg84, @m26872 - Thanks for pointing me over there. I had read through those before but didn't take it all in back then as i wasn't doing my module back then. Thank you for reminding me!

                        MySensors 2.1.1
                        Controller - OpenHAB (Virtual Machine)
                        Gateway - Arduino Mega MQTT Gateway W5100

                        1 Reply Last reply
                        0
                        • SoloamS Offline
                          SoloamS Offline
                          Soloam
                          Hardware Contributor
                          wrote on last edited by Soloam
                          #14

                          Hello @aproxx I was developing something similar but using a ATMEGA328 chip, that way I would make it smaller! Can I ask you way do you use 2 100nf Capacitors after the HLK? And what is the width of the copper lines in the 220v and signal?

                          Thank you
                          And great work

                          S 1 Reply Last reply
                          0
                          • SoloamS Soloam

                            Hello @aproxx I was developing something similar but using a ATMEGA328 chip, that way I would make it smaller! Can I ask you way do you use 2 100nf Capacitors after the HLK? And what is the width of the copper lines in the 220v and signal?

                            Thank you
                            And great work

                            S Offline
                            S Offline
                            Samuel235
                            Hardware Contributor
                            wrote on last edited by
                            #15

                            @Soloam, the capacitors after the HLK are to filter out any noise from the HLK and the AC Input side of the circuitry. I personally shoot for a 100uF cap if its below 5A and anything over 5A i'de drop a 440uF in, along with a 0.1uF next to it. This isn't saying Aproxx is wrong or incorrect in any way, that is just my personal preference.

                            As for the trace width, i can't help you on that one as i can't open any of his board files to get a reading on them. I'm sure he will provide some more detailed information for you.

                            MySensors 2.1.1
                            Controller - OpenHAB (Virtual Machine)
                            Gateway - Arduino Mega MQTT Gateway W5100

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

                              I let approx answer for his width trace :)

                              You can find online tools to calc this, plus there are different strategy like using a pcb with thicker copper (2oz but more expensive than of 1oz common). Like no soldermask so you add some solder or/and piece of copper wire to improve thickness etc..The thicker copper, the smaller the trace.

                              For the capacitor, it's for filtering output ripple, not input! there is no 5A on output.
                              Only 2cap can't filter everything.. but that will improve and work better than nothing ;) And increasing a lot the 100uf like 400uf won't change things, it could be less efficient. I won't do a lesson (I'm not expert too) but sometimes its preferable to use multiple different value capacitor depending on what you want to filter. And here again there are other filtering techniques which can be used. but that's if you have problem with those ripples on your circuit and it's easier to have a scope to check how this improve.

                              S 1 Reply Last reply
                              0
                              • scalzS scalz

                                I let approx answer for his width trace :)

                                You can find online tools to calc this, plus there are different strategy like using a pcb with thicker copper (2oz but more expensive than of 1oz common). Like no soldermask so you add some solder or/and piece of copper wire to improve thickness etc..The thicker copper, the smaller the trace.

                                For the capacitor, it's for filtering output ripple, not input! there is no 5A on output.
                                Only 2cap can't filter everything.. but that will improve and work better than nothing ;) And increasing a lot the 100uf like 400uf won't change things, it could be less efficient. I won't do a lesson (I'm not expert too) but sometimes its preferable to use multiple different value capacitor depending on what you want to filter. And here again there are other filtering techniques which can be used. but that's if you have problem with those ripples on your circuit and it's easier to have a scope to check how this improve.

                                S Offline
                                S Offline
                                Samuel235
                                Hardware Contributor
                                wrote on last edited by
                                #17

                                And there is the more advanced version of my reply, thanks to @scalz.

                                MySensors 2.1.1
                                Controller - OpenHAB (Virtual Machine)
                                Gateway - Arduino Mega MQTT Gateway W5100

                                1 Reply Last reply
                                0
                                • A Offline
                                  A Offline
                                  aproxx
                                  Hero Member
                                  wrote on last edited by aproxx
                                  #18

                                  @Soloam I'm actually not using 2 100nF capacitors, but 1 100nF and 100 uF capacitor. Exactly for the reason that scalz mentioned. :) I'm not saying these are the perfect values to use, but I came across similar values some time ago, and these give me a decent and stable voltage.

                                  The width of my copper traces is 2mm for the entire high voltage circuit. I have used a trade width/thickness calculator, and it should be more than sufficient to power the HLK-PM01.
                                  However, it is not sufficient for the traces between the relays and the connectors because it should be able to handle up to 2A (limiting factor of the solid state relays). That's why I have designed this board with open air traces between the relays and the connectors. That way it's possible to reinforce the traces with solder, after which it should be able to withstand 2 Amps.

                                  And good luck with designing your version of the board! If there is a way to decrease the board size even further that would be great!

                                  1 Reply Last reply
                                  0
                                  • SoloamS Offline
                                    SoloamS Offline
                                    Soloam
                                    Hardware Contributor
                                    wrote on last edited by
                                    #19

                                    Hello all, I finished my version of this idea! Thank you to @aproxx for the help! I used a ATMEGA328, this wil make it a bit cheaper. https://www.openhardware.io/view/83

                                    I need some help validating the layout, most important the 220v traces and the capacitors used in the layout!

                                    Thank you all

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

                                      Hello,
                                      My question is whether the code includes support DS18B20?

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        Samuel235
                                        Hardware Contributor
                                        wrote on last edited by
                                        #21

                                        @aproxx, Could i ask what trace width and what clearance you used for the AC portion of this device? Also, what current did you base these settings on, what current do you expect to be flowing through the AC traces?

                                        MySensors 2.1.1
                                        Controller - OpenHAB (Virtual Machine)
                                        Gateway - Arduino Mega MQTT Gateway W5100

                                        1 Reply Last reply
                                        0
                                        • S Offline
                                          S Offline
                                          shabba
                                          wrote on last edited by
                                          #22

                                          Just a thought : Why not use RAW instead of VCC so a 3.3V mini can be used as thus no logic conversion needed for RFM69? The SSR works find below 3v as it happens. Also means no need for the voltage changer. Could also look at getting the 3.3V HLMs also I guess.

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


                                          11

                                          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