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. Troubleshooting
  3. Supply 230V/5V for node ? Mini Pro, NRF24L01, ams1117

Supply 230V/5V for node ? Mini Pro, NRF24L01, ams1117

Scheduled Pinned Locked Moved Troubleshooting
29 Posts 5 Posters 277 Views 5 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.
  • E Offline
    E Offline
    evb
    wrote on last edited by
    #9

    @Jmarcusse said in Supply 230V/5V for node ? Mini Pro, NRF24L01, ams1117:

    I take a MiniPRo just arrived (open satchel plastic), out off voltage, the 2 Vcc pins are not connected, sure : 85ko between both, or10,4Mo if I reverse ohmeter... I test it in the minute.

    Strange, mine are giving 0 ohm between them. It should be 0 ohm.
    Arduino-Pro-Mini-v14.gif

    But let's resume the tests:

    • pro mini powered by USB via FTDI header: working --> the onboard AC power convertor not connected and we use the VCC pin of the FTDI header: the leds are working so the pro mini sketch is correctly working.
    • pro mini powered by battery pack : working --> the onboard AC power convertor not connected and we use the normal VCC pin of the pro mini: the leds are working so the pro mini sketch is correctly working.
    • pro mini powered by the onboard AC power convertor : not working --> is using the normal VCC pin of the pro mini

    Did you design this pcb yourself?
    I see the GND print trace going near the AC print traces and under the AC power convertor.
    I'm not a PCB specialist, but just using common logic sense, for me high voltage AC print traces and low voltage print traces should be as far apart as possible.

    Do you have a scoop to see the 5V signal when powered by USB and powered by the onboard AC power convertor?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jmarcusse
      wrote on last edited by
      #10

      Yes I design myself. Your opinion for the ground traces near 230V are corrects.
      I'm agree to modify a PCB cutting traces to be as far as possible to test result. (I have 10 PCBs for only 7 will used).
      Of course I make test with scope, 5V in all the PCB is a bit noised (100 mV~, 150mV~), with pics a the cutting frequence of supply of course.

      For the internaly drawing of MiniPRo you send me, I don't very understand where is connected the Vcc of FTDI Basic JP1. Does we understand all is named "Vcc" are the same Vcc?
      Do you think I have to shunt my 2 differents Vcc? will burn or not burn....

      I will tell you result as soon as possible. Thanks you very much EVB, Cabat; it's very pleasant to me to receive your help.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        evb
        wrote on last edited by
        #11

        @Jmarcusse said in Supply 230V/5V for node ? Mini Pro, NRF24L01, ams1117:

        For the internaly drawing of MiniPRo you send me, I don't very understand where is connected the Vcc of FTDI Basic JP1. Does we understand all is named "Vcc" are the same Vcc?
        Do you think I have to shunt my 2 differents Vcc? will burn or not burn....

        Normally it is the same VCC.
        We can test it. If you connect your USB to FTDI cable, do you measure 5V on the normal VCC?
        And the opposite: connect the batterypack to the normal VCC and measure the VCC on the FTDI header?
        Where did you buy these pro mini's? Do they have a schematic?
        Don't shunt them without knowing the schematic, because you can burn something!

        Another test you can do, but be very carefull because you are working with 220V AC!!!!!
        If you have a spare part of the bought AC power PCB module, connect it not on the PCB you designed, but use it separately next to your PCB (let's say 30cm away) and connect only the GND and 5V to your PCB.
        If that is working, you are 100% sure that the current 220V AC design on your PCB is the problem.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jmarcusse
          wrote on last edited by
          #12

          I remember normal Vcc is a bit different (-0,2V) than FTDI 5v from PC. I can measure it really.
          I have to test with battery, to mesure the difference between twice 5V.
          The ProMinis provide from Chine by Ebay, no drawing come with. I could try to ask but I'm not sure get a response...
          Good idea to externalise the module from PCB, I have other, easy to do. I have to test it too !!!

          1 Reply Last reply
          0
          • J Offline
            J Offline
            Jmarcusse
            wrote on last edited by
            #13

            Responses :

            • Supplied by USB:
              Vcc Usb = 5,01V ; Vcc MiniPro = 4,59V ; RAW MiniPro = 4,59V ; NRF = 3,28V

            • Supplied by 230V module Onboard :
              Vcc Usb = -1,97V !!! ; Vcc MiniPro = 4,98V ; RAW MiniPro = 4,989V ; NRF = 3,29V

            • Supplied by 230V module Out of PCB, far at 95cm, 5V and 0V twisted between module and PCB :
              Vcc Usb = -0,30V !!! ; Vcc MiniPro = 4,95V ; RAW MiniPro = 4,95V ; NRF = 3,29V

            And I can tell you a real good new : all is correct when module is far....
            When I approach the module on its place on PCB, leds are not drived correctly, probleme is coming!!! When module is distanced in up from PCB (6 à 8mm), all is good. So, I have now to try to redesign PCB for trace the ground in other direction, sure not under transformer of the module.
            I can say you good thanks, if you not help me, I cannot run heaters.. Really thanks, and I wish you a Merry Chrismas as possible this year. Best regards.

            1 Reply Last reply
            1
            • J Offline
              J Offline
              Jmarcusse
              wrote on last edited by
              #14

              20201221_211425_resized.jpg

              1 Reply Last reply
              0
              • E Offline
                E Offline
                evb
                wrote on last edited by evb
                #15

                @Jmarcusse, glad to be of any help :-)

                I would recommend searching the internet for PCB design tips on how to deal with the high dangerous voltage 220V and the low voltage of 5V on one PCB.
                I know for sure that there are technical requirements in terms of distance between print tracks when working with 220V.

                Maybe other members can give tips here or links to documentation?
                In the Openhardware.io section you can find designs of members working with 220V on their nodes: search for '220V'.
                It can be a base to correct your design.

                Please report back if you have a new working design :-)
                Merry christmas and happy new year.

                skywatchS 1 Reply Last reply
                0
                • E evb

                  @Jmarcusse, glad to be of any help :-)

                  I would recommend searching the internet for PCB design tips on how to deal with the high dangerous voltage 220V and the low voltage of 5V on one PCB.
                  I know for sure that there are technical requirements in terms of distance between print tracks when working with 220V.

                  Maybe other members can give tips here or links to documentation?
                  In the Openhardware.io section you can find designs of members working with 220V on their nodes: search for '220V'.
                  It can be a base to correct your design.

                  Please report back if you have a new working design :-)
                  Merry christmas and happy new year.

                  skywatchS Offline
                  skywatchS Offline
                  skywatch
                  wrote on last edited by skywatch
                  #16

                  @evb The last 2 photos on this thread show those cheap crappy Chinese power converters that wouldn't likely pass electrical safety checks in many countries (they can get away with it as it is not a finished product and is not subject to electrical safety inspection in your country before you get it).

                  Power supplies are not an area you want to scrimp on!

                  Make sure that they are properly isolated with a large gap (preferably an air gap) for the high voltage side along with fuses, filters and mov's.

                  The most important things with power is safety (your life and other peoples).
                  Fire risk (would your home insurance pay out if one of these was found to be the cause of a fire?).
                  Heat. All power converters generate heat of some sort. It needs to go somewhere or the life of the components will be shortened and the risk of fire increases.
                  Lets also not forget that the fewer components on a power board will usually make the output electrically 'noisier' and can cause thier own problems with the radio side of things or other equipment.

                  1 Reply Last reply
                  2
                  • E Offline
                    E Offline
                    evb
                    wrote on last edited by
                    #17

                    @Jmarcusse, I agree totally with @skywatch
                    That's the reason why I use a simple power adapter where it is possible. For example an USB power adapter from an old smarthphone or adapter from a known manufacturer like the PSSE0910BN from Velleman (very well know in Belgium). The latter are more expensive, but safer!

                    If you still want to incorporate the 220V convertor module in your design, consider the proposal of @skywatch ==> an air gap between them ==> make two PCB's, one with only the 220V power module and one with the low voltage components...

                    skywatchS 1 Reply Last reply
                    0
                    • E evb

                      @Jmarcusse, I agree totally with @skywatch
                      That's the reason why I use a simple power adapter where it is possible. For example an USB power adapter from an old smarthphone or adapter from a known manufacturer like the PSSE0910BN from Velleman (very well know in Belgium). The latter are more expensive, but safer!

                      If you still want to incorporate the 220V convertor module in your design, consider the proposal of @skywatch ==> an air gap between them ==> make two PCB's, one with only the 220V power module and one with the low voltage components...

                      skywatchS Offline
                      skywatchS Offline
                      skywatch
                      wrote on last edited by
                      #18

                      @evb An air gap can be a slot cut out of the pcb around the live/neutral/earth and also between the high voltage side and the low voltage side. It helps reduce 'flash over' in the event of a surge, nearby lightning strike or even humid conditions.

                      I have a collection of power supplies from China that I simply won't use due to safety concerns.

                      I even once bought some 'finished' (in a sealed case) 12v power supplies. I ordered 4 of them. All had the same markings, same case, same CE logo.

                      Opening them up I find 3 different boards that had been chopped out of other equipment (with the original 240V input wires twisted and simply cut off and left flaping around in the breeze. I had to do some work on them before I'd even plug them in!!!

                      Also, be warned that there are plenty of fake/counterfeit power supplies out there.

                      D 1 Reply Last reply
                      0
                      • J Jmarcusse

                        Hello,

                        A problem on which I dry.

                        20201219_200515_resized.jpg

                        I mounted a node to control my radiators in 4-order pilot wire, Arduino MiniPro + radio NRF24L01, connected to a usb - raspberry gateway (domoticz 2020.1). The gateway works well for other nodes.

                        The node-gateway-domoticz link works very well when the node is powered by usb from a usb of the PC or even from a battery (power bank).
                        the domoticz log goes back to the node identification at init:

                        The same node does not send any information to the gateway when I connect it to an onboard! 230V / 5V power supply
                        I tested with or without the 10µ 47µ condo on the 3.3V power supply built by an AM1114 regulator from 5V. Nothing to do.

                        By acquiescence, I reassembled the same assembly on an Arduino UNO board, and the problem is exactly the same.

                        I therefore exclude a software problem, it is rather related to the hard, to the masses?

                        Who has ever mounted an NRF on a mains powered assembly?

                        It's a shame because I have 230V behind each radiator, and my 8 boxes are ready to send the signal on the pilot wires.

                        I therefore take any lead because I am at a dead end ... Thank you for your insight!

                        D Offline
                        D Offline
                        Didou
                        wrote on last edited by
                        #19

                        @Jmarcusse
                        ON my side i do use many modules over 230 AC power without difficulties, but i'm always using Hi-Link modules for either 5v or 3.3v. I'm using different Arduino flavors (SAMD, NRF52, ...) no issues

                        skywatchS 1 Reply Last reply
                        0
                        • D Didou

                          @Jmarcusse
                          ON my side i do use many modules over 230 AC power without difficulties, but i'm always using Hi-Link modules for either 5v or 3.3v. I'm using different Arduino flavors (SAMD, NRF52, ...) no issues

                          skywatchS Offline
                          skywatchS Offline
                          skywatch
                          wrote on last edited by
                          #20

                          @Didou I hope you got genuine Hi-Link modules and not the fake ones! ;)

                          D 1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            cabat
                            wrote on last edited by cabat
                            #21

                            I am using the same power supply in one of my device (dimmer for aqua LED lamp)- it work good..

                            auua_dimmer.jpg

                            skywatchS 1 Reply Last reply
                            0
                            • C cabat

                              I am using the same power supply in one of my device (dimmer for aqua LED lamp)- it work good..

                              auua_dimmer.jpg

                              skywatchS Offline
                              skywatchS Offline
                              skywatch
                              wrote on last edited by
                              #22

                              @cabat OMG - what is the colour coding in your country for live and neutral?

                              I'd love to know why blue turning into brown is acceptable practice :)

                              C D 2 Replies Last reply
                              0
                              • skywatchS skywatch

                                @cabat OMG - what is the colour coding in your country for live and neutral?

                                I'd love to know why blue turning into brown is acceptable practice :)

                                C Offline
                                C Offline
                                cabat
                                wrote on last edited by cabat
                                #23

                                @skywatch Don't worry - in my case it doesn't matter, because the plug can be inserted into the socket on both sides :)

                                1 Reply Last reply
                                0
                                • skywatchS skywatch

                                  @Didou I hope you got genuine Hi-Link modules and not the fake ones! ;)

                                  D Offline
                                  D Offline
                                  Didou
                                  wrote on last edited by
                                  #24

                                  @skywatch Get them from ali, there are fake one's ? any security issues with tem ? . Some of them are working well till 2 years at least.

                                  1 Reply Last reply
                                  0
                                  • skywatchS skywatch

                                    @cabat OMG - what is the colour coding in your country for live and neutral?

                                    I'd love to know why blue turning into brown is acceptable practice :)

                                    D Offline
                                    D Offline
                                    Didou
                                    wrote on last edited by
                                    #25

                                    @skywatch For me always blue for Neutral and black or red or brown for phase

                                    1 Reply Last reply
                                    0
                                    • skywatchS skywatch

                                      @evb An air gap can be a slot cut out of the pcb around the live/neutral/earth and also between the high voltage side and the low voltage side. It helps reduce 'flash over' in the event of a surge, nearby lightning strike or even humid conditions.

                                      I have a collection of power supplies from China that I simply won't use due to safety concerns.

                                      I even once bought some 'finished' (in a sealed case) 12v power supplies. I ordered 4 of them. All had the same markings, same case, same CE logo.

                                      Opening them up I find 3 different boards that had been chopped out of other equipment (with the original 240V input wires twisted and simply cut off and left flaping around in the breeze. I had to do some work on them before I'd even plug them in!!!

                                      Also, be warned that there are plenty of fake/counterfeit power supplies out there.

                                      D Offline
                                      D Offline
                                      Didou
                                      wrote on last edited by
                                      #26

                                      @skywatch on my side I do alway add air gaps to be sure on the module as well on relay or other main supply related components

                                      1 Reply Last reply
                                      0
                                      • skywatchS Offline
                                        skywatchS Offline
                                        skywatch
                                        wrote on last edited by
                                        #27

                                        Sorry for late reply I was away for Chtistmas.

                                        Good to see you use good practice. Trouble is that there are many that don't and the fakers are only after moeny and don't care about you or your property.

                                        Yes there are fake Hi-link modules being sold. Name is no guarantee as Meanwell have also been faked. In your case you would have to destroy one to see if it were genuine. Ali is notorious for scammers to sell fake goods. But ebay, banggood and Amazon are not free of this type of thing...

                                        Yout best bet is to pay extra and get from a repuatble electronics supplier, yes it's more money, but you will sleep knowing you have genuine safe powersupplies in your home.

                                        D 1 Reply Last reply
                                        0
                                        • skywatchS skywatch

                                          Sorry for late reply I was away for Chtistmas.

                                          Good to see you use good practice. Trouble is that there are many that don't and the fakers are only after moeny and don't care about you or your property.

                                          Yes there are fake Hi-link modules being sold. Name is no guarantee as Meanwell have also been faked. In your case you would have to destroy one to see if it were genuine. Ali is notorious for scammers to sell fake goods. But ebay, banggood and Amazon are not free of this type of thing...

                                          Yout best bet is to pay extra and get from a repuatble electronics supplier, yes it's more money, but you will sleep knowing you have genuine safe powersupplies in your home.

                                          D Offline
                                          D Offline
                                          Didou
                                          wrote on last edited by
                                          #28

                                          @skywatch Good advise, I was also on the price. There is some time huge price difference in Europ between regular suppliers en Chiness market, especially when you order low quantities, items are expensive and you do incure transportation cots in addition ... So for the time being I do limit that to the things I can't find on chines market !

                                          But your call is also important, as ensuring safety !

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


                                          35

                                          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