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.
  • 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
                • N Nightbodom

                  @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 Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by
                  #56

                  @nightbodom - this can be a bit tricky. Some suggest cooling pincers or tongs to hold it while soldering. Myself I solder as normal and wait it to cool down before continue. As long as you are quick and not heat it up to much it should work.

                  If you power the pcb with FTDI it should work without the fuse though. But I guess you power it through AC->HLK and use only RX/TX/GND and Rst from ftdi?

                  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 Nightbodom

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

                    ben999B Offline
                    ben999B Offline
                    ben999
                    wrote on last edited by
                    #57

                    @nightbodom I use crocodile clips and get fairly good results with very few dead fuses....

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      Grave
                      wrote on last edited by
                      #58

                      Is it possible to use with RFM69 modul?

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

                        I guess not on as this module is using SMD NRF24 module

                        sundberg84S 1 Reply Last reply
                        0
                        • gohanG gohan

                          I guess not on as this module is using SMD NRF24 module

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

                          @Grave - well @gohan is right, I cant fit a RFM69 module on this board.

                          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
                          • G Offline
                            G Offline
                            Grave
                            wrote on last edited by
                            #61

                            I will try to rebuild it in eagle for RFM69. I think the space is there for an RFM69.

                            1 Reply Last reply
                            0
                            • G Offline
                              G Offline
                              Grave
                              wrote on last edited by
                              #62

                              Or I will build an adapter.

                              1 Reply Last reply
                              1
                              • G Offline
                                G Offline
                                Grave
                                wrote on last edited by
                                #63

                                Hi sundberg84,
                                can you maybe take a look on my board. I have rebuild it so you can use it with rfm69 and NRF24 moduls. I have build an adapter, which will stand vertical behin the HLK-PM01.
                                But how can I upload a picture?

                                sundberg84S 1 Reply Last reply
                                0
                                • G Grave

                                  Hi sundberg84,
                                  can you maybe take a look on my board. I have rebuild it so you can use it with rfm69 and NRF24 moduls. I have build an adapter, which will stand vertical behin the HLK-PM01.
                                  But how can I upload a picture?

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

                                  @grave Sure, you can just copy it into the message box.

                                  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
                                  • G Offline
                                    G Offline
                                    Grave
                                    wrote on last edited by
                                    #65

                                    http://www.directupload.net/file/d/5020/dyi4y337_png.htm

                                    sundberg84S 1 Reply Last reply
                                    0
                                    • G Grave

                                      http://www.directupload.net/file/d/5020/dyi4y337_png.htm

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

                                      @grave - at first it looks really good. Hard for me on a image to check every connection but I can not see any errors.

                                      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
                                      • G Offline
                                        G Offline
                                        Grave
                                        wrote on last edited by
                                        #67

                                        Thanks,
                                        I can upload this evening the schematic and the board. But my schematic is not so fine as yours. I didnยดt find pinheaders with 2mm distance, so they are single pads.

                                        1 Reply Last reply
                                        0
                                        • G Offline
                                          G Offline
                                          Grave
                                          wrote on last edited by
                                          #68

                                          Hi,
                                          here are my schematic and the layout. I have build also an adapter for the rfm69 modul to use with an Sensebender Micro, because I had still place enough.
                                          https://www.file-upload.net/download-13018265/InWallPCB71RFM69.brd.html
                                          https://www.file-upload.net/download-13018266/InWallPCB71RFM69.sch.html

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


                                          13

                                          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