Richard,
I've connected my YHDC sensor one pin to ground and the other to RA5. Got readings (see hereunder).
Because I'm not sure what I'm doing right now with the current sensor, I tried to add a 1Mohms resistor and a 100nF polarized cap between GND and RA5. Same readings.
Just for info, my multimeter shows 0.157mVAC - I'm measuring a 230VAC 42W light bulb for now.
I get readings on my serial monitor but the values don't make too much sense to me, for now - there's going to be some kinf of scaling to do, no?
This is what I get for now with bulb "ON":
And bulb "OFF":
![]()


Reply With Quote


Bookmarks