Abusaleh
Newbie level 1
- Joined
- Mar 16, 2013
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,293
I have a problem with LM358 (dual op amp). It is cofigured as a unity gain buffer for ADC input of dspic30f6014a microcontrollar. That means I connected the negative input to the output terminal and to the ADC input, and the positive input to the current sensor output. The input of this buffer is a dc voltage from CSLA2CD current sensor (https://datasheet.octopart.com/CSLA2CD-Honeywell-datasheet-9695429.pdf ). Therefore the measurement of this voltage should be accurate because the current is calculated inside the uC using the following formulla: I=(V_ADC-V_offset)/0.0327. where V_offset=Vcc/2=4.0V. That means the V_ADC should be accurate to get good results. The problem is the unity gain buffer amplifies the voltage. i.e. when the input is 3.92 V, its output is 3.98 which leads to wrong readings. I want the output of buffer exactly equals the input. How to solve this problem?