I am trying to build a circuit with a transformer to put in 220v to get 12v and if possible get 5v out to
Be sure to click 'more' and select 'suggest as answer'!
If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!
I am trying to build a circuit with a transformer to put in 220v to get 12v and if possible get 5v out to
Do you need isolation ?
Some mains powered devices do not need isolation in an internal low voltage power supply. Unless you are very confident that the whole system will be safe you should use a transformer.
What is your 12V for, how much power, AC or DC etc.
MK
It is to run a water pump of 12v dc and timer that use 5v
It is to run a water pump of 12v dc and timer that use 5v
Definitely best to use a ready made 12V supply. Your water pump may draw a much higher current when it starts up than its steady state power rating might lead you to expect.
Low frequency based transformer based power supplies are often quite good at this but switchers may have trouble. Kind of hard to tell without just trying it because pumps and power supplies at the low end of the market are not usually specified in detail in this regard.
If the water pump is small just get a power supply that can deliver 4x the nominal pump power.
You can make the 5V with a regulator from the 12V supply, you can buy one from Amazon or Ebay if looking for cheapness. For simplicity just use a second DC supply.
MK