Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Put a xformer primary that can handle the current in series with the AC line, using it as a step-up 'former. Take whatever voltage you get off the secondary.Now if I put a resistor shunt in the appliance path it will drop an AC voltage.
How do I convert this voltage to a DC voltage with maximum current corresponding to 5VDC which can be fed to the ADC on this microcontroller for comparison?
I was planning to use a CT but it costs some amount and that price is not viable for this project.
What do you think of this idea?
abicash, someone posted a schematic almost identical to that a few week ago, they were having problems with the inrush current when the relay turned on caused the micro controller to reset. I'm not so sure they had that initial 1n4007 diode though
a simple way of doing this, without all the other components is to put a ptc in series with the load. once you cross the threshold current the ptc goes high resistance, limiting the current to a couple of mA, so most of the volts are dropped across the ptc, and very few on the load.
only suitable in low power applications, obviously. but cheap and easy
check out the attached pdf. it has the full project for measuring mains "power troughput" ... so, it's not current but power, but as I guess you know the voltage of your mains ...
You can probably increase the supply bulk capacitor to fix this. Or put a parallel RC in-line with the relay coil (you will still get a current spike, but you can control it more easily)Basically because you're using a half wave rectifier to feed the switch mode supply when the relay trips and a load is suddenly dumped on the AC line that there's enough of a voltage sag the regulator loses regulation briefly causing a reset in the micro controller.
25W Resistor as well
.Further thers a signal amplification by an op-amp
Moreover what about the fwd drop of LEDs in the opto's?
Do u think I can replace the opto's by only some diodes?
I do not see how are you going to measure current without a shunt. And if you read the next post from wilbe "4.6" of copper #14 AWG wire" will do the trick .. and will cost next to nothing.
I get it
wait, you want to measure current on AC system and you expect to get a "ready" signal ?! that you do not have to amplify??
Normally a CT will give a good voltage strength as I have seen and can be used w/o amplification
What about it !? You just need to adjust R7 to get proper current trough leds, that's all, and donno why on schematic R7 is marked 25W when the simple 1/4W should do ..
ok
Not sure what are you trying to say here. What would be the point to replace the opto's with diodes ?!?!?
I was reffering that use diodes instead of the LEDs so that using optos is eliminated.My ckt doesnt have isolation from mains..so it would not be wise to use an opto unless it was really necessary.
You can also go with contact less measurement ... make a coil, pull one wire of the AC supply trough the coil and measure inducted voltage... can't get simpler than that ? (but you will still have to use opamp to amplify the signal)
This can't work.Please see the start of this thread(2nd post by dknguyen)
I read it, and don't see why it can't work. The post you referenced doesn't apply? No op amps is used. Maybe you can explain to me why it can't work, and I will learn something.
All resistors here can be 1/4W, and they all together cost under 1$, the opto used is 1.9$ ( Digi-Key - PS2501-4A-ND (NEC - PS2501-4-A) ) and the op is 0.4$ ( Digi-Key - LM358ANFS-ND (Fairchild Semiconductor - LM358AN) ) .. so whole instrument that return 0-5V is uder 5$ .. what part you want to get cheaper ?!
SInce the diode drop of 0.6 or 0.7 V must be overcome by the drop across the sense resistor..or else some precision rectifier w/ opamps must be used..
Thats what i understand..
Please corect me if i am wrong
Thanks and regards