I’m planning a circuit to measure the current in mains. all tips and feedback is welcome. The circuit makes the stepped down current into a voltage drop with a burden resistor. If i havent messed up this circuit should give the ADC a voltage between 0 and 3.3 volt where 3.3 volt would indicate 20 amps running through the mains wire.
The 3.3v voltage follower is there to take waveform from ac to alternating dc
In the final design I’ll be using a different microcontroller so the attiny is just a placeholder.