Discussion:
[PIC] Mid range PIC A-D query
David C Brown
2017-08-27 15:52:01 UTC
Permalink
Spec A25 for the PIC16F87X gives the range for an analog input to be
(Vss-0.3) < Vin < (Vref+0.3).

This is not listed as an Absolute Max Rating so I am wondering what the
consequences of exceeding the upper limit would be?

Would it damage the ship and, if so, is there a cunning way of protecting
it?


__________________________________________
David C Brown
43 Bings Road
Whaley Bridge
High Peak Phone: 01663 733236
Derbyshire eMail: ***@gmail.com
SK23 7ND web: www.bings-knowle.co.uk/dcb
<http://www.jb.man.ac.uk/~dcb>



*Sent from my etch-a-sketch*

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist
Jason White
2017-08-27 16:10:50 UTC
Permalink
Pure speculation follows:

If the input current is limited by a resistor, to say >100uA, it stands a
good chance of survival. Accuracy will go to heck on all channels due to
leakage of the offending signal into the IC.

-Jason White
Post by David C Brown
Spec A25 for the PIC16F87X gives the range for an analog input to be
(Vss-0.3) < Vin < (Vref+0.3).
This is not listed as an Absolute Max Rating so I am wondering what the
consequences of exceeding the upper limit would be?
Would it damage the ship and, if so, is there a cunning way of protecting
it?
__________________________________________
David C Brown
43 Bings Road
Whaley Bridge
High Peak Phone: 01663 733236
SK23 7ND web: www.bings-knowle.co.uk/dcb
<http://www.jb.man.ac.uk/~dcb>
*Sent from my etch-a-sketch*
<https://www.avast.com/sig-email?utm_medium=email&utm_
source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_
source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist
--
Jason White
--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist
Paul Hutchinson
2017-08-27 16:14:26 UTC
Permalink
It depends on how much you exceed the limit. VCC +0.5 is unlikely to damage the chip although it may crash the chip. VCC +100.0 is virtually guaranteed to let out the magic smoke. :-)

To prevent problems add clamping diodes.

Paul Hutch

--------------------------------------------
On Sun, 8/27/17, David C Brown <***@gmail.com> wrote:

Subject: [PIC] Mid range PIC A-D query
To: "Microcontroller discussion list - Public." <***@mit.edu>
Date: Sunday, August 27, 2017, 11:52 AM

Spec A25 for the PIC16F87X gives the range
for an analog input to be
(Vss-0.3) < Vin  <
(Vref+0.3).

This is not listed as an Absolute Max
Rating so I am wondering what the
consequences of exceeding the upper
limit would be?

Would it damage the ship and, if so, is
there a cunning way of protecting
it?


__________________________________________
David C Brown
43 Bings Road
Whaley Bridge
High Peak       
               
  Phone: 01663 733236
Derbyshire       
        eMail: ***@gmail.com
SK23 7ND       
  web: www.bings-knowle.co.uk/dcb
<http://www.jb.man.ac.uk/~dcb>



*Sent from my etch-a-sketch*

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
--
http://www.piclist.com/techref/piclist PIC/SX FAQ &
list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist
--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinf
Neil
2017-08-27 17:37:00 UTC
Permalink
I current-limit with an inline resistor, and also voltage divide prior
to that. For say a 0-5V signal on a 5V-powered chip, using either a pair
of equal value resistors for the voltage divider I can get full ADC
scale with either (a) another pair of equal value resistors for the
Vref+ if it's ratiometric or (b) using a 2.5V reference (if it's absolute).

Cheers,
-Neil
Post by David C Brown
Spec A25 for the PIC16F87X gives the range for an analog input to be
(Vss-0.3) < Vin < (Vref+0.3).
This is not listed as an Absolute Max Rating so I am wondering what the
consequences of exceeding the upper limit would be?
Would it damage the ship and, if so, is there a cunning way of protecting
it?
__________________________________________
David C Brown
43 Bings Road
Whaley Bridge
High Peak Phone: 01663 733236
SK23 7ND web: www.bings-knowle.co.uk/dcb
<http://www.jb.man.ac.uk/~dcb>
*Sent from my etch-a-sketch*
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist
Loading...