Supply 230V/5V for node ? Mini Pro, NRF24L01, ams1117
-
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.
-
@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. -
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 !!! -
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. -
-
@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. -
@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.@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. -
@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...
-
@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...
@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.
-
Hello,
A problem on which I dry.

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!
@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 -
@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 -
I am using the same power supply in one of my device (dimmer for aqua LED lamp)- it work good..

-
@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 :)
-
@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 :)
-
@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.
-
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.
-
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.
@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 !
-
@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 !
@Didou I know that cheap price is attractive, but in the long run it may not be the wisest path to take, especially with things connected to high voltages.
When I mentioned the 4 'fake' power supplies back up this thread the thing that alerted me to be concerned was the fact that the power cables sent with them broke THREE electrical safety regulations in the UK. People are importing dangerous items and using them unawares. Its frightning really as there was even a case of a child being killed by a fake games console bad power supply. The risks are real.
If you understand spoken English there is a TV program called 'Fake Britain' which i believe is on the web too. It follows investigations into all sorts of fake and dangerous items that get into the country. It's a very enlightening watch.
