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. My Project
  3. Another simple (No SMT) relay actuator

Another simple (No SMT) relay actuator

Scheduled Pinned Locked Moved My Project
42 Posts 8 Posters 12.0k Views 6 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.
  • Nca78N Offline
    Nca78N Offline
    Nca78
    Hardware Contributor
    wrote on last edited by
    #6

    Hello,

    nice design with some care for safety !
    If possible, I would suggest to connect A4/A5 to the connector, so it would be possible to use (for example) an i2c touchpad, to command the 3 relays and more, for example mpr121 can manage a mix of touchpads and leds. In case of managing leds, of course a Vcc connector would be necessary too as the last input pins would not provide enough current.
    Analog pins A0-A5 can be used as digital pins if needed so it could still work as you designed it at the moment with physical switches.

    On thing that is annoying me also with some designs, is that when you want to use in ceiling to connect directly to ligh bulbs, you need to use connectors/wago to "duplicate" neutral because the board only provides live. If possible you should move J1 to the right, and put holes to add extra 2x connector on the left if people want to have neutral without external connectors, it will give a much cleaner result when connected instead of a mess of wires. I think it's possible to do it if you move the varistor to the left, and change orientation of F2.

    dpressleD 1 Reply Last reply
    0
    • Nca78N Nca78

      Hello,

      nice design with some care for safety !
      If possible, I would suggest to connect A4/A5 to the connector, so it would be possible to use (for example) an i2c touchpad, to command the 3 relays and more, for example mpr121 can manage a mix of touchpads and leds. In case of managing leds, of course a Vcc connector would be necessary too as the last input pins would not provide enough current.
      Analog pins A0-A5 can be used as digital pins if needed so it could still work as you designed it at the moment with physical switches.

      On thing that is annoying me also with some designs, is that when you want to use in ceiling to connect directly to ligh bulbs, you need to use connectors/wago to "duplicate" neutral because the board only provides live. If possible you should move J1 to the right, and put holes to add extra 2x connector on the left if people want to have neutral without external connectors, it will give a much cleaner result when connected instead of a mess of wires. I think it's possible to do it if you move the varistor to the left, and change orientation of F2.

      dpressleD Offline
      dpressleD Offline
      dpressle
      wrote on last edited by
      #7

      @Nca78 Thanks for the tips, i understand what you are saying about the neutral and it is a good idea, my intentions were to put it in the switch box and not in the light fixture itself, but i might add it to the next release.

      1 Reply Last reply
      0
      • dpressleD dpressle

        Thanks, should be under 10USD in parts.
        BTW, same design but for roller shutter is on the way

        breimannB Offline
        breimannB Offline
        breimann
        wrote on last edited by
        #8

        @dpressle nice!

        dpressleD 1 Reply Last reply
        0
        • breimannB breimann

          @dpressle nice!

          dpressleD Offline
          dpressleD Offline
          dpressle
          wrote on last edited by
          #9

          @breimann Thanks, does any one want link to dirtypcbs?

          gusG 1 Reply Last reply
          0
          • A Offline
            A Offline
            artipi
            wrote on last edited by
            #10

            Hi, dpressle. Thanks for your work?
            One Question. Can i connect a normal light switch to it? So that i can turn on the lights with the switch and this node?

            dpressleD 1 Reply Last reply
            0
            • A artipi

              Hi, dpressle. Thanks for your work?
              One Question. Can i connect a normal light switch to it? So that i can turn on the lights with the switch and this node?

              dpressleD Offline
              dpressleD Offline
              dpressle
              wrote on last edited by
              #11

              @artipi Sure you can that is the whole point of the D5, D6, D7 connection.

              You just need to take the GND and each of these digital inputs and connect them to the switch (NO high voltage in the switch only GND and digital input), each one of then controls one relay.

              1 Reply Last reply
              1
              • dpressleD dpressle

                @breimann Thanks, does any one want link to dirtypcbs?

                gusG Offline
                gusG Offline
                gus
                wrote on last edited by
                #12

                @dpressle said in Another simple (No SMT) relay actuator:

                @breimann Thanks, does any one want link to dirtypcbs?

                Hi!

                Yes, please send links, really good design!

                Regards Rickard

                dpressleD 1 Reply Last reply
                0
                • gusG gus

                  @dpressle said in Another simple (No SMT) relay actuator:

                  @breimann Thanks, does any one want link to dirtypcbs?

                  Hi!

                  Yes, please send links, really good design!

                  Regards Rickard

                  dpressleD Offline
                  dpressleD Offline
                  dpressle
                  wrote on last edited by
                  #13

                  @gus Dirtypcbs

                  gusG 1 Reply Last reply
                  0
                  • dpressleD dpressle

                    @gus Dirtypcbs

                    gusG Offline
                    gusG Offline
                    gus
                    wrote on last edited by
                    #14

                    @dpressle said in Another simple (No SMT) relay actuator:

                    @gus Dirtypcbs

                    Thanks!

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      MLs
                      wrote on last edited by
                      #15

                      Where can you find the code?

                      dpressleD 1 Reply Last reply
                      0
                      • M MLs

                        Where can you find the code?

                        dpressleD Offline
                        dpressleD Offline
                        dpressle
                        wrote on last edited by
                        #16

                        @MLs Its in the OpenHardware page see the Source Code tab:
                        OpenHardware

                        Note its intended to work with "Home Assistant" HA, some depending on your controller some changes might be needed.

                        M 1 Reply Last reply
                        0
                        • dpressleD dpressle

                          @MLs Its in the OpenHardware page see the Source Code tab:
                          OpenHardware

                          Note its intended to work with "Home Assistant" HA, some depending on your controller some changes might be needed.

                          M Offline
                          M Offline
                          MLs
                          wrote on last edited by
                          #17

                          @dpressle

                          Ok tanks

                          Do you have a bootloader with OTA enable

                          //Mattias

                          dpressleD 1 Reply Last reply
                          0
                          • M MLs

                            @dpressle

                            Ok tanks

                            Do you have a bootloader with OTA enable

                            //Mattias

                            dpressleD Offline
                            dpressleD Offline
                            dpressle
                            wrote on last edited by
                            #18

                            @MLs Yes sure

                            M 1 Reply Last reply
                            0
                            • dpressleD dpressle

                              @MLs Yes sure

                              M Offline
                              M Offline
                              MLs
                              wrote on last edited by MLs
                              #19

                              @dpressle

                              Can you email it to me or maybe add it to your project.

                              //Mattias

                              dpressleD 1 Reply Last reply
                              0
                              • M MLs

                                @dpressle

                                Can you email it to me or maybe add it to your project.

                                //Mattias

                                dpressleD Offline
                                dpressleD Offline
                                dpressle
                                wrote on last edited by
                                #20

                                @MLs I am using the one from here link text

                                M 1 Reply Last reply
                                0
                                • dpressleD dpressle

                                  @MLs I am using the one from here link text

                                  M Offline
                                  M Offline
                                  MLs
                                  wrote on last edited by
                                  #21

                                  @dpressle

                                  Does the bootloader use the internal 8 MHz clock?

                                  //Mattias

                                  dpressleD 1 Reply Last reply
                                  0
                                  • M MLs

                                    @dpressle

                                    Does the bootloader use the internal 8 MHz clock?

                                    //Mattias

                                    dpressleD Offline
                                    dpressleD Offline
                                    dpressle
                                    wrote on last edited by
                                    #22

                                    @MLs yes it does.

                                    M 1 Reply Last reply
                                    0
                                    • dpressleD dpressle

                                      @MLs yes it does.

                                      M Offline
                                      M Offline
                                      MLs
                                      wrote on last edited by MLs
                                      #23

                                      @dpressle

                                      Feeling a bit confused how do you know that a bootloader uses the internal clock?
                                      Because I used another bootloader after installing your card, I did not get the Atmega circuit to run. But if I used this bootloader, I started the Atmega circuit and everything worked.

                                      Https://forum.mysensors.org/topic/3018/tutorial-how-to-burn-1mhz-8mhz-bootloader-using-arduino-ide-1-6-5-r5

                                      But what makes the internal clock in used?
                                      I use a UNO when I'm burning bootloader and do not know if you can change fuses and clock option.

                                      dpressleD 1 Reply Last reply
                                      0
                                      • M MLs

                                        @dpressle

                                        Feeling a bit confused how do you know that a bootloader uses the internal clock?
                                        Because I used another bootloader after installing your card, I did not get the Atmega circuit to run. But if I used this bootloader, I started the Atmega circuit and everything worked.

                                        Https://forum.mysensors.org/topic/3018/tutorial-how-to-burn-1mhz-8mhz-bootloader-using-arduino-ide-1-6-5-r5

                                        But what makes the internal clock in used?
                                        I use a UNO when I'm burning bootloader and do not know if you can change fuses and clock option.

                                        dpressleD Offline
                                        dpressleD Offline
                                        dpressle
                                        wrote on last edited by
                                        #24

                                        @MLs I think i lost you there, if there is no external osc how would it work? it is clear (at list to me) that its using the internal clock. Maybe you mean the f_cpu parameter? it is in the board text file.

                                        I also use a nano to burn the bootloader, you can set the fuses as you wish in the boards page exactly as the link you gave is describing.

                                        If you dont care of OTA you can use any other bootloader (like optiboot), i did it as well with this board.

                                        I want to help you more but i need more info and pictures of your exact setup and files, can you share it?

                                        Also some times your atmega328p-pu comes with 16Mhz bootloader pre-installed so you do need to set it up with 16Mhz osc for the first 8Mhz bootloader burn, after that you can remove it.

                                        M 1 Reply Last reply
                                        0
                                        • dpressleD dpressle

                                          @MLs I think i lost you there, if there is no external osc how would it work? it is clear (at list to me) that its using the internal clock. Maybe you mean the f_cpu parameter? it is in the board text file.

                                          I also use a nano to burn the bootloader, you can set the fuses as you wish in the boards page exactly as the link you gave is describing.

                                          If you dont care of OTA you can use any other bootloader (like optiboot), i did it as well with this board.

                                          I want to help you more but i need more info and pictures of your exact setup and files, can you share it?

                                          Also some times your atmega328p-pu comes with 16Mhz bootloader pre-installed so you do need to set it up with 16Mhz osc for the first 8Mhz bootloader burn, after that you can remove it.

                                          M Offline
                                          M Offline
                                          MLs
                                          wrote on last edited by
                                          #25

                                          @dpressle
                                          Ok first, I have to say that I have no problem getting your project to work. It connects directly to HA. What I get a little confused about is that according to the link I linked to it says.

                                          Be sure to select "ATmega328 on a breadboard (8 MHz internal clock)" when burning the bootloader.(If you select the wrong item and configure the microcontroller to use an external clock, it won't work unless you connect one.)

                                          And as I interpret your post, you can take whatever bootloader you want (8 MHz).
                                          And if I understand you right now, all settings iis n the board.txt file?

                                          //Mattias

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


                                          29

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          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