Here is the schematic and graph:this is from serial plotter in arduino IDE . 0-1023 is 0-5 VHello,
Can you post the complete schematic, including the supply voltages?
Is the supply a single 5 Volts?
The specs of the opamp say a minimum voltage of ± 3 Volts dual supply or 6 Volts single supply.
The opamp has an offset of about 4 mV max.
There is no scale on your graph.
Bertus
I programmed the Arduino to input the following 000,001,010,011,.......,111,000,.... the red dots on my graph is the voltage for each binary number. The peak is not 111 , the next dot below is 111 and i don't know why the op-amp outputs a lower voltage .I tried other op-amps of same type and also used a 9 V battery for the op-amp .Again the input and output voltage are not same.Hello,
Can you post the complete schematic, including the supply voltages?
Is the supply a single 5 Volts?
The specs of the opamp say a minimum voltage of ± 3 Volts dual supply or 6 Volts single supply.
The opamp has an offset of about 4 mV max.
There is no scale on your graph.
Bertus
For the resistors I tried with 1M and 2M with same results. I will try to use the LM358 op-amp. I also used 9V battery for the NE5532 . see the picture below.Hello,
You are introducing failures in the graph, by using 4k7 resistors in stead of real 5K resistors (wich can be made with 2 10K resistors in parallel).
Bertus