I want to record the AC current time stamp data into my RaspberryPi from current sensor (22mV/A sensitivity) via an ADC (12 Bit resolution) that is being supplied to my mobile.
The input side the charger reads (110-220 V, 50 Hz, 0.3A).So we can expected a sinusoidal wave for the current time stamp with maximum current restricted to 0.3A.
However, on plotting the time vs current below graph is achieved which is obviously wrong:
Can somebody please let me know why am I not getting sinusoidal waveform, I would be very much appreciative.