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. 💬 In Wall AC/DC Pcb (with Relay) for MySensors (SMD)

💬 In Wall AC/DC Pcb (with Relay) for MySensors (SMD)

Scheduled Pinned Locked Moved OpenHardware.io
switchin-wallrelayacdchlk-pm01
89 Posts 27 Posters 32.7k Views 29 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.
  • proddyP Offline
    proddyP Offline
    proddy
    wrote on last edited by
    #24

    @sundberg84 Thanks for sharing this. I'm gathering the components and plan to build it soon when the PCB v7.1 is available.

    I do have a few questions if I may

    • with the Relay, is it important to have one that has zero crossover? E.g the difference between getting the G3MC-202PL over a G3MC-202P
    • what were you planning to use the 16Mhz oscillator for eventually?
    • do you see any issues if I build the first prototype using an ESP-12 (ESP8266 with onboard Serial WiFi running at 3.3v)?
    S 1 Reply Last reply
    0
    • proddyP proddy

      @sundberg84 Thanks for sharing this. I'm gathering the components and plan to build it soon when the PCB v7.1 is available.

      I do have a few questions if I may

      • with the Relay, is it important to have one that has zero crossover? E.g the difference between getting the G3MC-202PL over a G3MC-202P
      • what were you planning to use the 16Mhz oscillator for eventually?
      • do you see any issues if I build the first prototype using an ESP-12 (ESP8266 with onboard Serial WiFi running at 3.3v)?
      S Offline
      S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #25

      @Paul-Derbyshire

      1. It must depend on what you are planning to connect to the relay
      2. The oscillator is for the MCU - you can program a bootloader without it and use the internal.
      3. No issue - please do! Im glad i can make stuff that gets the community forward. Best of luck!

      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

      proddyP 1 Reply Last reply
      0
      • S sundberg84

        @Paul-Derbyshire

        1. It must depend on what you are planning to connect to the relay
        2. The oscillator is for the MCU - you can program a bootloader without it and use the internal.
        3. No issue - please do! Im glad i can make stuff that gets the community forward. Best of luck!
        proddyP Offline
        proddyP Offline
        proddy
        wrote on last edited by
        #26

        @sundberg84 said:

        It must depend on what you are planning to connect to the relay

        It would use it to switch on and off an external mounted lamp - so with a fixed Watt & Voltage. Probably an LED 220V Lamp. Should I avoid zero-crossover as I've read somewhere that zero-crossover can cause a surge current of perhaps 10 to 40 times the steady state current when switched on.

        S 1 Reply Last reply
        0
        • proddyP proddy

          @sundberg84 said:

          It must depend on what you are planning to connect to the relay

          It would use it to switch on and off an external mounted lamp - so with a fixed Watt & Voltage. Probably an LED 220V Lamp. Should I avoid zero-crossover as I've read somewhere that zero-crossover can cause a surge current of perhaps 10 to 40 times the steady state current when switched on.

          S Offline
          S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by
          #27

          @Paul-Derbyshire - sorry, to be hones i missunderstood you.
          Most SSR sold for arduino are P and not PL it seems.

          "The light from the diode is beamed into a light-sensitive semiconductor that, in the case of zero-voltage crossover relays, conditions the control circuit to turn on the output solid-state switch at the next zero-voltage crossover. In the case of nonzero-voltage crossover relays, the output solid-state switch is turned on at the precise voltage occurring at the time."

          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

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

            hi, just an idea, do you think it is possible to add a current sensor to the PCB in order to add a power meter function to the node to monitor power consumption? say up to 20A

            S 1 Reply Last reply
            0
            • Jose SimoesJ Jose Simoes

              hi, just an idea, do you think it is possible to add a current sensor to the PCB in order to add a power meter function to the node to monitor power consumption? say up to 20A

              S Offline
              S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by
              #29

              @Jose-Simoes - no clue about current sensors... sorry I just cant answer that at the moment.

              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

              Jose SimoesJ 1 Reply Last reply
              0
              • Jose SimoesJ Offline
                Jose SimoesJ Offline
                Jose Simoes
                wrote on last edited by
                #30
                This post is deleted!
                1 Reply Last reply
                0
                • S sundberg84

                  @Jose-Simoes - no clue about current sensors... sorry I just cant answer that at the moment.

                  Jose SimoesJ Offline
                  Jose SimoesJ Offline
                  Jose Simoes
                  wrote on last edited by
                  #31

                  @sundberg84 -hey, i was meaning something like the ACS712 Module, but add the ic to the PCB for better integration.

                  S 1 Reply Last reply
                  0
                  • Jose SimoesJ Jose Simoes

                    @sundberg84 -hey, i was meaning something like the ACS712 Module, but add the ic to the PCB for better integration.

                    S Offline
                    S Offline
                    sundberg84
                    Hardware Contributor
                    wrote on last edited by
                    #32

                    @Jose-Simoes said in 💬 In Wall AC/DC Pcb (with Relay) for MySensors (SMD):

                    ACS712

                    Well, to safe space and meet my goal to be able to have it so small so it fits inside a wallsocket i have excluded all sensors and included the MysX connector. This way every user can add their own sensor.

                    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

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      Justas
                      wrote on last edited by
                      #33

                      Hi, @sundberg84
                      I'm really interested in this module. Maybe stupid question, but I'm very new with openhardware and would like to understand: if I will go and buy through the link provided (10xPCB for 15$), will I receive already assembled unit with all the parts, or I have to go and buy parts and assemble it myself?
                      Thanks & Regards

                      tonnerre33T gohanG 2 Replies Last reply
                      0
                      • J Justas

                        Hi, @sundberg84
                        I'm really interested in this module. Maybe stupid question, but I'm very new with openhardware and would like to understand: if I will go and buy through the link provided (10xPCB for 15$), will I receive already assembled unit with all the parts, or I have to go and buy parts and assemble it myself?
                        Thanks & Regards

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

                        @Justas Hello,

                        yes you have to buy parts and assemble them yourself. 1.5$ by PCB is cheap, you can't have the components for this price ;)

                        1 Reply Last reply
                        1
                        • J Justas

                          Hi, @sundberg84
                          I'm really interested in this module. Maybe stupid question, but I'm very new with openhardware and would like to understand: if I will go and buy through the link provided (10xPCB for 15$), will I receive already assembled unit with all the parts, or I have to go and buy parts and assemble it myself?
                          Thanks & Regards

                          gohanG Offline
                          gohanG Offline
                          gohan
                          Mod
                          wrote on last edited by
                          #35

                          @Justas
                          you get the PCB only, then you have to buy all the components and solder them on the pcb :)
                          If you aren't a lot familiar with soldering you could also evaluate Sonoff wifi relays ;)

                          1 Reply Last reply
                          1
                          • J Offline
                            J Offline
                            Justas
                            wrote on last edited by
                            #36

                            Thanks, I also checked the parts list and found that total price is more than $14, so now I see how stupid my questions was ;)

                            1 Reply Last reply
                            1
                            • proddyP Offline
                              proddyP Offline
                              proddy
                              wrote on last edited by
                              #37

                              and building it is 99% of the fun !

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

                                Very nice project. And it is so nice that you thought about the fuses for the power supply and the relais. :-)
                                I have two additional ideas:

                                • adding the ATSHA204 fo secure signing
                                • I could be to big to integrate but something like this (https://www.aliexpress.com/item/1Bit-AC-220V-Optocoupler-Isolation-Module-Testing-Board-Adaptive-for-PLC/32754734564.html) would be great to detect the in wall switch state.
                                1 Reply Last reply
                                1
                                • E Offline
                                  E Offline
                                  exilit
                                  wrote on last edited by
                                  #39

                                  Great project, thank you for sharing. Searching for a power supply i found your project which seems to fit my needs pretty well. What do you think are the main differences to the AC/DC/Double SSD Relay by Aproxx (https://www.mysensors.org/hardware/ac-dc-ssd-relay). I am mainly interested in the AC/DC conversion part.Would like to hear your opinion on that.

                                  S 1 Reply Last reply
                                  0
                                  • E exilit

                                    Great project, thank you for sharing. Searching for a power supply i found your project which seems to fit my needs pretty well. What do you think are the main differences to the AC/DC/Double SSD Relay by Aproxx (https://www.mysensors.org/hardware/ac-dc-ssd-relay). I am mainly interested in the AC/DC conversion part.Would like to hear your opinion on that.

                                    S Offline
                                    S Offline
                                    sundberg84
                                    Hardware Contributor
                                    wrote on last edited by
                                    #40

                                    @exilit - sorry my friend, I have not studied the AC/DC/Double SSD Relay by Aproxx very closely.
                                    Mine is a bit smaller instead of 50x50 but he got 2 relays.

                                    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

                                    1 Reply Last reply
                                    0
                                    • E Offline
                                      E Offline
                                      exilit
                                      wrote on last edited by exilit
                                      #41

                                      @sundberg84 Thank you for your reply. Do you see big differences regarding the safety?
                                      As far as I see both projects use a slow blow fuse and a thermal fuse to protect the AC-side.

                                      Sorry for digging deeper, but both projects look great. Yours seems to be better tested,
                                      but the other one has two relays. Hard to decide, which one to use :-).

                                      S 1 Reply Last reply
                                      0
                                      • E exilit

                                        @sundberg84 Thank you for your reply. Do you see big differences regarding the safety?
                                        As far as I see both projects use a slow blow fuse and a thermal fuse to protect the AC-side.

                                        Sorry for digging deeper, but both projects look great. Yours seems to be better tested,
                                        but the other one has two relays. Hard to decide, which one to use :-).

                                        S Offline
                                        S Offline
                                        sundberg84
                                        Hardware Contributor
                                        wrote on last edited by
                                        #42

                                        @exilit - I think we both origin from the original discussion about the HLK-PM01: https://forum.mysensors.org/topic/1607/safe-in-wall-ac-to-dc-transformers.
                                        If you read this you can pretty much see everything in the PCB (fuses, varistor and temp fuse to protect the HLK module).

                                        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

                                        1 Reply Last reply
                                        0
                                        • M Offline
                                          M Offline
                                          Martin Nicolaisen
                                          wrote on last edited by
                                          #43

                                          Hi @sundberg84 does it fit the fuga (scandinavian) wall socket? :=

                                          S 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          13

                                          Online

                                          12.0k

                                          Users

                                          11.2k

                                          Topics

                                          113.4k

                                          Posts


                                          Copyright 2025 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