gehan_s
Member level 3
hey all,
i have to design an accurate power meter that measures power drawn by a PC. i am hoping to sample the AC voltage using a 3 resistor devider which converts the AC voltage into a 0 to 5V sin wave which is then converted to digital by a PIC18F.
i am hoping to power the PIC using the USB from the same PC. the problem arrises at this time because i think the 2 grounds (AC and USB) does not match. how can i overcome this problem.
can i use a transformer to step down and isolate the two circuits (AC line and PIC) and then use the resistor devider ?????? if i do that will it decrease the quality of the readings ?????
thanks !!!!!!
i have to design an accurate power meter that measures power drawn by a PC. i am hoping to sample the AC voltage using a 3 resistor devider which converts the AC voltage into a 0 to 5V sin wave which is then converted to digital by a PIC18F.
i am hoping to power the PIC using the USB from the same PC. the problem arrises at this time because i think the 2 grounds (AC and USB) does not match. how can i overcome this problem.
can i use a transformer to step down and isolate the two circuits (AC line and PIC) and then use the resistor devider ?????? if i do that will it decrease the quality of the readings ?????
thanks !!!!!!