ALERTLINKS
Advanced Member level 4
- Joined
- Dec 13, 2003
- Messages
- 1,258
- Helped
- 396
- Reputation
- 786
- Reaction score
- 380
- Trophy points
- 1,363
- Location
- Pakistan
- Activity points
- 7,263
I repeat, the only difference between AC and DC is that the AC swings from minus voltage to positive voltage, if you have a sinusoidal of 5v peak to peak then the swing is from -2.5v to +2.5v, if you add a DC offset of 2.5v then the swing becomes -2.5v+2.5v to +2.5v+2.5v where +2.5v is the offset.
in the schematic of my previous post feed the AC input to V2, V1 to GND and Vr to +2.5v.
If you don't want gain then set all resistors to 1K
You have to attenuate the voltage to about 5v peak to peak and then add an offset of 2.5v so that it becomes 0 to 5 instead of +-2.5
if you have a sinusoidal of 5v peak to peak then the swing is from -2.5v to +2.5v, if you add a DC offset of 2.5v then the swing becomes -2.5v+2.5v to +2.5v+2.5v where +2.5v is the offset.
In post# 4, isnt it a typing mistake.add an offset of 2.5v so that it becomes 0 to 5 instead of +-2.5
if you add a DC offset of 2.5v then the swing becomes -2.5v+2.5v to +2.5v+2.5v
The second divider loads the first divider so you will see that the division ratio of the first divider change depending on the values of the second one.
In this case the two 3k9 resistors are seen as a (almost) 2k in parallel with R2 so the first divider becomes 18k/1k
Alex
well, if you want to get a DC Output from ac. you have to use the full-wave rectifier followed by the filter circuit. the rectifier will convert the bidirectional ac to unidirectional ac, the filter circuit will, then convert this unidirectional ac to dc. then fed this value to your adc.
Note: if you want to give a constant dc supply, use a voltage regulator like 5.1v zener diode or 7805 ic etc after the filter.. Note for 7805, if you fed arround 7v input to its ic only you will get 5v output. It is also advisible to use some filter capacitors in the output of 7805 to filter out the low frequencies and obtain an almost perfect dc.
hope this is helpful
It is not clear, plz explain again in other way
the second divider works like a load connected to the first divider, with the two 3k9 resistors the resistance load seen by the first divider is 3K9 /2 which is almost 2K, this 2k it connected in parallel to the R2 so you have two 2K resistors in parallel which results in 1K so the actual division factor becomes 18K/1K
Alex
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?