Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Swapping Live & Nuetral

Status
Not open for further replies.

Suraj143

Active Member
Hi I want to build a transformer less 5V power supply.This is the one I'm working on.

Can anybody tell is it ok or not & what about when swapping the live & neutral will it still able to give 5V?

Because I'm using two pin plug so every time it has chance to swap the L & N.
 

Attachments

  • PS1.JPG
    PS1.JPG
    9.7 KB · Views: 286
That would be dangerous, especially if the neutral is earthed in your country. You could split the capacitor and put half in each conductor. However, this is not a good way to get 5V. It's much better to use a transformer.

Mike.
 
You mean to add another capacitor to Neutral as well?
Ex: 0.22uF/400V capacitor on each mains?

Microchip APP note gives all single or two diode versions I don't like them thats why I use a bridge rectifier.
 
On second thoughts this is not a good idea as the capacitors would have to be 1uF each and this would increase the current to ground to a lethal level.

Can't you just use a wall wart?

Mike.
 
swapping L&N will not make much difference ... the problem is that Zdiode will overheat .. it is not very "energy efficient" way to get 5V from 300V

use the transformer to transform 220V AC to 6V AC then you can Zdiode it to 5V but even better to use some 7805 or similar positive voltage regulator. If you need high A you can combine 7805 with 2n3055 or similar power transistor ..
 

Attachments

  • snapshot.gif
    snapshot.gif
    8.8 KB · Views: 339
Last edited:
What are you planning to power with this circuit? Whatever it is must be totally isolated from the user and the rest of the world for it to be safe. This means parts that are not rated for mains voltage can NOT come in contact with the user. ie: you couldn't use a small tact switch for input from the user because it isn't rated for mains operation. You'd have to use a switch rated for 240Vac even though you would be switching 5V.
 
Hi thanks for the input.

Actually I need to drive a triac so i don't use any transformers.The circuit drawing very few mA like 20mA max.
 
I now remember the original circuit that I think this is based on. The capacitor is in the live conductor and the resistor goes from live to neutral. The voltage across the resistor is half wave rectified and goes via a resistor to the zener. This arrangement produces a supply that never strays more than 5V from the neutral connection. In countries where the neutral is earthed this is relatively safe.

The full wave modification above is very dangerous as it isolates the circuit from the neutral.

Do you have the original diagram?

Mike.
 
Hi Mike the original diagram in a book :(

What about this power unit I think this will better :)
 

Attachments

  • PS3.JPG
    PS3.JPG
    8.9 KB · Views: 198
That is much safer but only if the live and neutral can't be swapped. You can see from the circuit that Vss will effectively be grounded and Vdd will be at 5V relative to ground.

Mike.
 
Pommie said:
That is much safer but only if the live and neutral can't be swapped. You can see from the circuit that Vss will effectively be grounded and Vdd will be at 5V relative to ground.

Mike.

Oh my god I'm looking for a power supply that can swap the Live & Neutral.With a similar design.

So what do I have to do?
 
Suraj143 said:
Oh my god I'm looking for a power supply that can swap the Live & Neutral.With a similar design.

So what do I have to do?

Get a transformer or treat all your circuit as though it is at 250V. Your circuit will still work with them swapped, it's just that it will electrocute you if you touch it.:eek:

Edit, DON'T connect your ICD2/Pickit2/anything else to it. Just connecting a scope will produce lots of smoke.

Mike.
 
Last edited:
Hi Mike I'll take care of it.The main thing is it must work even after it swapped the L & N, hope that the last circuit I posted will work like that.

Thanks
 
Hi Mike & kchriste

I built this circuit this will dim the LED.

When its powering from transformer power supply its working well.But when I power from this power supply it doesn't work.

I'm using ext RC OSC.

Can both of you tell whats wrong with this circuit?

Thanks
 

Attachments

  • DimLED.JPG
    DimLED.JPG
    16.1 KB · Views: 165
Suraj143 said:
Hi Mike & kchriste

I built this circuit this will dim the LED.

When its powering from transformer power supply its working well.But when I power from this power supply it doesn't work.

I'm using ext RC OSC.

Can both of you tell whats wrong with this circuit?

Thanks
The risk is still there, as one of your conditions is reversibility of 2pin 230V input. However, if you want more accurate PSU you may look at the attachment to a post of mine, at,

https://www.electro-tech-online.com/threads/transformerless-240v-12v.35192/

you can exactly manipulate the output to 5V.
 
Suraj143 said:
Hi Mike & kchriste

I built this circuit this will dim the LED.

When its powering from transformer power supply its working well.But when I power from this power supply it doesn't work.

I'm using ext RC OSC.

Can both of you tell whats wrong with this circuit?

Thanks
How much current is the transformerless power supply capable of providing? The LED requires almost 13.6 mA.
 
bananasiong said:
How much current is the transformerless power supply capable of providing? The LED requires almost 13.6 mA.

It depends upon the cap the 0.47uF can provide upto 30mA I think.
 
Suraj143 said:
It depends upon the cap the 0.47uF can provide upto 30mA I think.

no i did make this kind of circuit before with 0.47:mu:F and it strugles to get 20 mA

Robert-Jan
 
rjvh said:
no i did make this kind of circuit before with 0.47:mu:F and it strugles to get 20 mA

Robert-Jan
Which value you would have used as series resistor? It matters too.
 
Status
Not open for further replies.

Latest threads

Back
Top