> I have configured my op-amp LM324 as a voltage follower by typing the > -ve input to the output of 1 op-amp gate. When I tie the +ve input to > ground, the output is 0v. But when I tie the +ve input to Vcc(same as > the +5v supply to the LM324), the output is just 3.8v. Is there > something I missed out? Apparently. The LM324 is not a rail to rail output opamp. The specs don't exactly say outright how close Vout can get to V+, but with 30V V+, Vout is only guaranteed to be >= 27V with a 10Kohm load. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics