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":
Name:  Readings.jpg
Views: 175
Size:  36.9 KB


And bulb "OFF":
Name:  Bulb OFF.jpg
Views: 175
Size:  26.8 KB