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. 💬 No neutral power supply/relay board for in wall switch

💬 No neutral power supply/relay board for in wall switch

Scheduled Pinned Locked Moved OpenHardware.io
switchpower supply
26 Posts 9 Posters 782 Views 7 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.
  • scalzS scalz

    @mtiutiu
    congrats :clap:
    I'm curious, are you happy with range (I noticed you changed a bit the rf reference design routing).
    I guess you use BLE mesh regarding average power consumption (which should improve range too), so rfm69+mysensors is maybe too power hungry?
    Well, I think I'll try to assemble a few of your boards, this might be the first design I try here :nerd_face:
    thx for sharing, I can imagine it was lot of work and time.

    mtiutiuM Offline
    mtiutiuM Offline
    mtiutiu
    Hardware Contributor
    wrote on last edited by mtiutiu
    #17

    @scalz
    Thanks.

    To answer your questions:

    • Range is not that "big" if having multiple walls - if more than 1-2 walls things start to degrade but having more nodes in the mesh helps to overcome this. Also one can tune the number of retransmits as shown on my blog and having more relaying nodes will help a lot also. Of course my custom RF design is not perfect or that optimized. Add to that the ceramic antenna which is not that great...
    • Power consumption is a plus also indeed as per node I get around 7mA x 3.3V ~ 24mW. Let's add to this the leds and touch capacitive sensor and make it 30mW on average but no more than that. I enabled the internal DC-DC converter of the MCU and add to that the fact that the nodes will stay more in RX mode hence the 6-7mA constant current draw.
    • The boards are a little bit different but not much from a RF performance point of view (I'm still learning this part when it comes to PCB layout)
    • The hatched ground plane differs around the capacitive pad(s) but that's because the PCB was designed initially using EasyEDA which offers "90 degree" hatches. Then I ported the PCB to KiCAD where I had to do a little trick with some polygons at 45 degree as it doesn't support hatched ground planes (not now at least or in the stable version).

    I tested already both designs - the original one and the KiCAD conversion also and both are working as expected.

    Yes it was lots of work and especially the power supply PCB design for which the main inspiration was the DER-622 application note from Power Integrations.

    But I'm very happy with the overall result. I will update the blog with some real life videos of the whole system in action in the near future also. There will be more blog entries targeting this topic - that's for sure.

    1 Reply Last reply
    2
    • berkseoB Offline
      berkseoB Offline
      berkseo
      wrote on last edited by
      #18

      Will software be available for testing?

      mtiutiuM 1 Reply Last reply
      0
      • berkseoB berkseo

        Will software be available for testing?

        mtiutiuM Offline
        mtiutiuM Offline
        mtiutiu
        Hardware Contributor
        wrote on last edited by
        #19

        @berkseo

        Yes, it's available here. The documentation is a little bit scarce I admit but if you understand Apache MyNewt and its build system it should be pretty straightforward theoretically.

        I will add more details when I have the time. The code was tested and it's in production. Works without a glitch so far.

        1 Reply Last reply
        0
        • Justin Steven Vanegas SalazarJ Offline
          Justin Steven Vanegas SalazarJ Offline
          Justin Steven Vanegas Salazar
          wrote last edited by
          #20

          Hello,

          I looked for the manufaturer part of C10 in EasyEDA Library "CC0603KRX5R6BB684" and I noted that it describes a 680nF/10V capacitor, but in the schematic it is supposed to be 100nF/50V, (CC0603KRX7R9BB104), so which is correct?
          Screenshot.png

          Justin Steven Vanegas SalazarJ 1 Reply Last reply
          0
          • Justin Steven Vanegas SalazarJ Justin Steven Vanegas Salazar

            Hello,

            I looked for the manufaturer part of C10 in EasyEDA Library "CC0603KRX5R6BB684" and I noted that it describes a 680nF/10V capacitor, but in the schematic it is supposed to be 100nF/50V, (CC0603KRX7R9BB104), so which is correct?
            Screenshot.png

            Justin Steven Vanegas SalazarJ Offline
            Justin Steven Vanegas SalazarJ Offline
            Justin Steven Vanegas Salazar
            wrote last edited by
            #21
            This post is deleted!
            1 Reply Last reply
            0
            • OldSurferDudeO Offline
              OldSurferDudeO Offline
              OldSurferDude
              wrote last edited by
              #22

              The LNK364 has an internal 6.3V zener diode across BP and S so the 10V is OK, though the 50V is probably a better idea. The data sheet indicates the capacitance should be 0.1 μF (100nF). I'd recommend the latter. (It could be a typo in the EasyEDA)

              1 Reply Last reply
              0
              • Justin Steven Vanegas SalazarJ Offline
                Justin Steven Vanegas SalazarJ Offline
                Justin Steven Vanegas Salazar
                wrote last edited by
                #23

                Thanks @OldSurferDude.

                I am bit newbie in circuit design, does the R20 inrush current limiting resistor must be 2W? or the 0.5W resistor in the BOM works fine?

                1 Reply Last reply
                0
                • OldSurferDudeO Offline
                  OldSurferDudeO Offline
                  OldSurferDude
                  wrote last edited by
                  #24

                  I would say the 2W should be used. I say this because it would be exceptional to spec 2W and there is probably good reason to do so, though I do not know that reason.

                  Often times people with experience with the design reason that a different value will work. Or they find that the component doesn't mechanically fit into the modified design. (I will admit to doing this myself) I suspect that the resistor periodically is dissipating 1W (1W of tolerance). If this is the case, after many cycles, even years, the 1/2W will fail.

                  I will share some experience. I put 2W (12V/0.15A) into a 2W resistor. I went to pick up the board and grabbed it by the resistor and burnt the crap out of my fingers.

                  Overdesigning is good. Cautionary tale: Mrs. Fiorina told the printer mech designers that they make the printers too good and that they should make them cheaper. The company of which she was CEO is not doing so good today.

                  1 Reply Last reply
                  1
                  • Justin Steven Vanegas SalazarJ Offline
                    Justin Steven Vanegas SalazarJ Offline
                    Justin Steven Vanegas Salazar
                    wrote last edited by
                    #25

                    Pardon if the question is silly,

                    I want to use this power supply to pwer up a small mcu and some leds, but I don not know if I could draw less than what one of the notes says: "The touch sensing board including radio/mcu must not draw more than 8-10mA on average" why is that?

                    1 Reply Last reply
                    0
                    • OldSurferDudeO Offline
                      OldSurferDudeO Offline
                      OldSurferDude
                      wrote last edited by
                      #26

                      My guess is that the the leakage power captured can only supply that amount of current (at the specified voltage)

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


                      25

                      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