vishweshgm
Member level 4
Hello,
I want to do a simple task. Sense 230V50Hz input via micrcontroller ADC. First I will use step-down transformer to get corresponding 5Vpk-pk.
Now I want to sens this 5V sine in range 0 to 3.3V. I understand I have to have DC bias at 0V (1.5V) . To achieve this, I found 2 circuits online
1st One:
2nd One:
I need your help to understand how the above circuits work. I understand that the voltage divider decides DC bias 1.5V. But what determines the peakvalue?
Which is the better circuit
I want to do a simple task. Sense 230V50Hz input via micrcontroller ADC. First I will use step-down transformer to get corresponding 5Vpk-pk.
Now I want to sens this 5V sine in range 0 to 3.3V. I understand I have to have DC bias at 0V (1.5V) . To achieve this, I found 2 circuits online
1st One:
2nd One:
I need your help to understand how the above circuits work. I understand that the voltage divider decides DC bias 1.5V. But what determines the peakvalue?
Which is the better circuit