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 24.2k 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.
  • 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.

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

            sundberg84S Offline
            sundberg84S 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 :-).

              sundberg84S 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 :-).

                sundberg84S Offline
                sundberg84S 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? :=

                  sundberg84S 1 Reply Last reply
                  0
                  • M Martin Nicolaisen

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

                    sundberg84S Offline
                    sundberg84S Offline
                    sundberg84
                    Hardware Contributor
                    wrote on last edited by
                    #44

                    @martin-nicolaisen - Im not familiar with the fuga wall socket.
                    I use standard round wall sockets (60cm). Can you point me to an image with dimensions ?

                    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

                    gohanG 1 Reply Last reply
                    0
                    • sundberg84S sundberg84

                      @martin-nicolaisen - Im not familiar with the fuga wall socket.
                      I use standard round wall sockets (60cm). Can you point me to an image with dimensions ?

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

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

                      (60cm)

                      Wow that's quite a wall plug

                      sundberg84S 1 Reply Last reply
                      0
                      • gohanG gohan

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

                        (60cm)

                        Wow that's quite a wall plug

                        sundberg84S Offline
                        sundberg84S Offline
                        sundberg84
                        Hardware Contributor
                        wrote on last edited by
                        #46

                        @gohan - lol :)
                        60mm!!!!

                        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
                        • meanmrgreenM Offline
                          meanmrgreenM Offline
                          meanmrgreen
                          wrote on last edited by
                          #47

                          https://photos.app.goo.gl/JBIVogCZMp0mOCVh2

                          I must have been drunk when I ordered this. Any idea what I have ordered? I ordered thru dirtypcbs somehow.

                          Does look a little bit like this PCB but not really. Have I found a early version and drunk ordered 10 of em?

                          1 Reply Last reply
                          0
                          • gohanG Offline
                            gohanG Offline
                            gohan
                            Mod
                            wrote on last edited by
                            #48

                            That looks like version 4.1

                            1 Reply Last reply
                            0
                            • N Offline
                              N Offline
                              Nightbodom
                              wrote on last edited by
                              #49

                              Hi folks, I manage to solder all the tiny pieces together and now I need some advice on uploading some code/sketch. To start with... is there any instruction for dummies on internet how to upload sketch through ICSP ? I have one arduino which can be programmer, but I don't know how to do it. Then there is question about powering circuit during uploading code.... is it OK if it's connect to AC power during uploading code? And finally, can anyone post some simple sketch for this board to check if everythiing is working? Thanks for help.

                              H 1 Reply Last reply
                              0
                              • N Nightbodom

                                Hi folks, I manage to solder all the tiny pieces together and now I need some advice on uploading some code/sketch. To start with... is there any instruction for dummies on internet how to upload sketch through ICSP ? I have one arduino which can be programmer, but I don't know how to do it. Then there is question about powering circuit during uploading code.... is it OK if it's connect to AC power during uploading code? And finally, can anyone post some simple sketch for this board to check if everythiing is working? Thanks for help.

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

                                @nightbodom Arduino have a tutorial for this https://www.arduino.cc/en/Tutorial/ArduinoISP

                                1 Reply Last reply
                                0
                                • N Offline
                                  N Offline
                                  Nightbodom
                                  wrote on last edited by
                                  #51

                                  @hugch thanks for info. I also find this: https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard for burning bootloader. And after that... how should I upload sketch?

                                  sundberg84S 1 Reply Last reply
                                  0
                                  • N Nightbodom

                                    @hugch thanks for info. I also find this: https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard for burning bootloader. And after that... how should I upload sketch?

                                    sundberg84S Offline
                                    sundberg84S Offline
                                    sundberg84
                                    Hardware Contributor
                                    wrote on last edited by
                                    #52

                                    @nightbodom you connect it to a ISP programmer to the port. This will take care of 5v and Gnd as well so don't connect to AC during upload

                                    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
                                    • N Offline
                                      N Offline
                                      Nightbodom
                                      wrote on last edited by
                                      #53

                                      @sundberg84 so I use ISP programmer for burning bootloader... but after that how can i upload sketch... usualy I use FTDI programmer for proMINI ect. but here I don't see TX/RX... so how do you upload sketch?

                                      sundberg84S 1 Reply Last reply
                                      0
                                      • N Nightbodom

                                        @sundberg84 so I use ISP programmer for burning bootloader... but after that how can i upload sketch... usualy I use FTDI programmer for proMINI ect. but here I don't see TX/RX... so how do you upload sketch?

                                        sundberg84S Offline
                                        sundberg84S Offline
                                        sundberg84
                                        Hardware Contributor
                                        wrote on last edited by sundberg84
                                        #54

                                        @nightbodom / either you use the isp to program the sketch without the bootloader or you can use the MysX connector where you will find all the necessary pins for ftdi.

                                        0_1515419353041_2103e627-f6b0-4dee-ac11-25a1ecc7e422-image.png

                                        0_1515419388628_77311b29-21ae-4232-9025-ab06e8fda194-image.png

                                        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
                                        • N Offline
                                          N Offline
                                          Nightbodom
                                          wrote on last edited by
                                          #55

                                          @sundberg84 thanks for advice... I successfully load bootloader through ISP with spare Uno as programmer, then I try to load a sketch with ftdi but it didn't recognize PCB. I also try with arduino uno as ISP and it goes without problem. I use node manager sketch with relay and connect it to AC wires...and nothing!
                                          After visual checking of PCB I check fuses and notice that thermal fuse is dead. So I think I burn it with soldering. Any advice how to solder it?

                                          sundberg84S ben999B 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          15

                                          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