Thanks Robin, That's what I thought so, however, one of my friend claims that he put Vdd to Vain and since then he's complete AD stopped working. I think there must have been something else there. Thanks anyway, Tamas On Nov 14, 2007 3:50 PM, Robin Abbott wrote: > Nope - no damage, it will simply use the higher voltage as the reference. > All inputs including analog (except Vpp) have input protection diodes to > Vdd > and therefore any voltage which exceeds Vdd+0.7V or so will be clamped to > Vdd. If the input current is too high the input can be destroyed, or worse > damage to the chip can be caused. > > In your example there is no issue ! > > > Robin Abbott > Forest Electronics - Home of WIZ-C ANSI C Compiler for PIC's with RAD > Front > end > robin.abbott@fored.co.uk > www.fored.co.uk > > > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of > Tamas Rudnai > Sent: 14 November 2007 15:02 > To: Microcontroller discussion list - Public. > Subject: [PIC] Max Vain > > Hi guys, > > Just confused about the max Vain regading to Vref and Vdd. So Datasheet > says > any pin can take a max of Vdd+0.3V. There is a small parameter Ad07 in teh > 16F690 DS so it says Vain max is Vref. OK, I have a 2.5V Vref it measures > up > to this, but is the pin damages if I put more voltage there - like Vdd? > Would it destroy that input gate? > > Thanks > Tamas > -- > http://www.piclist.com PIC/SX FAQ & list archive View/change your > membership > options at http://mailman.mit.edu/mailman/listinfo/piclist > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist