This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

AC (240V) current measurement using a CT with NRF52832

I need to measure current of loads attached to NRF52832 using  current transformer(CT).

I can use SAADC library to read ADC value. But to measure current I have to know the pick values of samples of AC current waveform to measure its rms value.

How I can acheive this using saadc. In Arduino it takes sample every 500 us for and records it. for one cycle we got peak to peak value of it.

So How in SAADC, I take sample every 500us for cycle and then get peak to peak value to measure it.

Which mode is suitable for it like single shot, or continuous mode?

Is pulling method is suitable or interrupt method can be used, I think interrupt is best but measuring at 500us generates lots of interrupt may disturb ble operation.

Thank You

Bivay

Related