I need to build a resistive power supply to work from direct 230V AC power.This is for a PIC based lamp dimmer.
My load will be PIC & a 5mA gate drive TRIAC.
I want to calculate the resister value.Please Help me.
I want to get rid of capacitors, A good capacitor is very expensive & its bulky as well.
A resister is more reliable, only problem is getting a bit heat.But for a 10mA I doubt it wont generate heat much.
That is what i want to calculate the resister value & the wattage
Here is my shot at it. Efficiency is abysmal; 3.6W in to get 45mW out, 99% of which winds up in R1. What would you rather have to buy, an X-rated capacitor, or a 10W resistor?
D1 needs to be 1000piV. C1 needs to a voltage rating of ~50V, higher if Rload is ever disconnected.
I want to get rid of capacitors, A good capacitor is very expensive & its bulky as well.
A resister is more reliable, only problem is getting a bit heat.But for a 10mA I doubt it wont generate heat much.
That is what i want to calculate the resister value & the wattage
You've got it all wrong - the capacitor will be more reliable, probably no larger (as you need a BIG expensive resistor), and it won't be a 'bit heat', it will burn people and melt plastic.
However, as others have mentioned it makes the entire circuit live - you shouldn't mess with such designs unless you fully understand them.
i remember my first attempt at working on "hot chassis" radios as a kid... line voltage through your arm is not a pleasant experience. "unsafe and cheap" is definitely something to avoid. the circuit in the OP has two major points of failure, the 22.5k resistor, and the zener diode. both of those will generate a lot of heat. using a capacitor will mitigate the bulk of the heat problem, but the zener will definitely still be a heat source. whatever device you are running on the DC side should have adequate insulation around it so nobody will touch any exposed metal on the device. such power supplies are simple and cheap, but very dangerous. i'm probably not the only one to call such devices "circuits of death". it's probably not as dangerous as a charged capacitor in a microwave oven, but it can kill you.