Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Proteus simulation was ok, but my PIC is broken!

Status
Not open for further replies.

Mago-Anthony

Newbie level 5
Joined
May 16, 2001
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Italy
Activity points
80
877 VREF QUESTION.

HI,

I HAVE DONE AN ADC CONNECTION OF THE +VREF PIN TO +12V TO EXTEND THE ADC RANGE (SCHEMATIC SIMILAR TO SAMPLE OF PROTEUS). THE SIMULATION IN PROTEUS WAS OK, BUT IN THE CIRCUIT MY PIC IS BROKEN! :( WHY IN PROTEUS HAS DONE THIS EXAMPLE IF WITH OVER OF 5V TO +VREF PIN PIC BROKE?
THANKS TO ALL
 

Re: 877 VREF QUESTION.

Proteus simulation is only a taste of how may your design run in the real world. but somethings are different in practice. for example there is no bouncing in buttons in proteus.

proteus simulated your design theorotically and it ran ok but in the real world you can't use vref voltages above the VDD level.
 

Re: 877 VREF QUESTION.

All PIC inputs don't support voltage above VDD and below GND !!!

It's the same thing with all ICs. Don't never apply voltage outside the supply range on any input.


CD:)
 

877 VREF QUESTION.

What you should do instead is to connect two precision resistors as a voltage divider at your ADC input. This is the method used in all digital voltmeters. You can use this method for voltages much bigger than 12 V if you like, just select the right combination of resistors. Also make sure to use a proper impedance, voltmeters usally have 10 Mohm impedance, this should work in most cases.
If you need high precision without using high precision resistors, you can connect a precision voltage reference to the input of your devices and then make a calibration routine in your pic software.
 

Re: 877 VREF QUESTION.

When trying the solution ME has suggested you must use an opamp as a buffer because the ADC inputs of a PIC have a very low impedance (see datasheet only a few 10 KOhms).

This is absolutely necessary unless you use a very low impedant voltage divider .

best regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top