Have you connected your CT as shown in your first post? That is, the bottom to 2.5V (or VRef/2) and the top to input pin AND - VERY IMPORTANT - a load resistor shown as 33ohms in diagram? You must...
It can't work wired the way you described. The ac signal must be biased by vcc/2 and be less than vcc peak to peak.
If the serial baud rate is too low it will ruin the sample rate.
If the burden...
Why do want a nasty old analogue peak detector, When you can create a digital one as per my code ?
Using the very cct you posted.
If you realy need to try analogue google ""peak detector circuit"...
Re: YHDC current sensor - the theory please
adjust resister to for the mid current used incase of some nonlinearity... shotkey diode has .3 volt drop
amgen Yesterday, 01:1710016