Hello
I am designing a system where one of a smaller part requires measuring the current of the Mains connected electrical appliance and switching it off upon current crossing a predetermined value.
Now this device is controlled by a relay which is switched by a microcontroller.
The power (5VDC) to this micro is derived from an unisolated Mains.
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.
All ideas welcome
Thanks in advance and thanks for reading!!!!
I am designing a system where one of a smaller part requires measuring the current of the Mains connected electrical appliance and switching it off upon current crossing a predetermined value.
Now this device is controlled by a relay which is switched by a microcontroller.
The power (5VDC) to this micro is derived from an unisolated Mains.
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.
All ideas welcome
Thanks in advance and thanks for reading!!!!