Problem with a analog input reading [resolved]

Hello everyone :smiley:

I bought an Arduino Pro ATmega328 (5V/16MHz) one week ago for a school project and I’m trying to read an analog input.

That’s something hard for the moment.

Actually, I want to read the analog output of on Op Amp. This output is between 0 and 3V so, normally my board can read this type of voltage.

I wanted to plug this output into one of my analog inputs and just display the value of my output.

I tried some programmes available with the Arduino Software like AnalogReadSerial but it only works with potentiometer, never with my Op Amp.

Do you have any idea to how I can read the output of an Op Amp. If there is already a topic on this subject, may you give me this one please ?

Thank you very much :slight_smile:

Bye bye

toofil,

If you want us to be able to help, you need to do a better job of asking your questions. Specifically, in:

toofil:
I tried some programmes available with the Arduino Software like AnalogReadSerial but it only works with potentiometer, never with my Op Amp.

what do you mean by “works” and what does the Arduino do when you use the OpAmp? Does the Arduino run? Does it display

  • - zero,
  • - full scale,
  • - noise,
  • - a blank screen, or
  • - the Gettysburg Address?
  • If you measure the voltage on the AI pin (relative to the Arduino’s ground) with a multimeter, what do you get?

    I suggest you read the Announcement above about how to ask good questions, then come back here with a description of what, if anything is displayed, data from using a multimeter on the AI pin, and a schematic.

    One question that comes to mind: Do you have the ground of the OpAmp circuit tied to the ground of the Arduino?

    Happy Hunting,

    Eric

    Yép,

    This is toofil.

    My Arduino Board is now working.

    I just needed any topics on how to plug and use an Op Amp with an Arduino Board.

    Actually, at the beginning, my board only worked with the circuit proposed by Arduino and also the programs given by Arduino. When I tried to plug my input on the Arduino Board, it just didn’t work. The problem was that the monitor displayed 1023 and 0 and just these values whereas I got some “better” values with my multimeter.

    But now it’s good.

    Thank for you Eric that tried to help me…

    Bye

    And for completeness, what was the problem and how did you resolve it? Your answer may help others in the future.