Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 23rd January 2009, 08:54 AM   #1
Default Is there any need to use External ADC for PIC16F877A

Hi,
I'm new to pic controller. I connected -Vref at port A.2 and +Vref at port A.3 and Analog input at Port A.5. Then the out put will be store where. Thanks in advance.

Last edited by vinoth; 23rd January 2009 at 08:55 AM.
vinoth is offline  
Old 23rd January 2009, 08:58 AM   #2
Default

Quote:
Originally Posted by vinoth View Post
Hi,
I'm new to pic controller. I connected -Vref at port A.2 and +Vref at port A.3 and Analog input at Port A.5. Then the out put will be store where. Thanks in advance.
hi,

If you are OK with 10 bit resolution, there is no need for an external A2D convertor with a 16F877A.

What is the volatge you want to convert.? volts etc...
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 23rd January 2009, 12:21 PM   #3
Default

Hi,
Thanks for your suggestion. In my application I need a 8 bit resolution.
vinoth is offline  
Old 23rd January 2009, 01:03 PM   #4
Default

Quote:
Originally Posted by vinoth View Post
Hi,
Thanks for your suggestion. In my application I need a 8 bit resolution.
In which case you are perfectly fine with the 16F877A, it can be easily configured to allow simple 8 bit readings.

My tutorials explain how to use the analogue inputs.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 23rd January 2009, 01:22 PM   #5
Default

Quote:
Originally Posted by vinoth View Post
Hi,
I'm new to pic controller. I connected -Vref at port A.2 and +Vref at port A.3 and Analog input at Port A.5. Then the out put will be store where. Thanks in advance.
hi,
What voltage are you trying to convert.?
The description of the -/+Vref is puzzling.
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 23rd January 2009, 01:33 PM   #6
Arrow

Quote:
Originally Posted by ericgibbs View Post
What voltage are you trying to convert.?
The description of the -/+Vref is puzzling.
-Vref=-2v and +Vref=6v
vinoth is offline  
Old 23rd January 2009, 01:35 PM   #7
Default

Quote:
Originally Posted by vinoth View Post
-Vref=-2v and +Vref=6v
You can't have a negative Vref, 0V is as low as you can go, you also can't go above Vdd (usually 5V).

This is pretty universal with all ADC's.

DC shift the signal so it fits within the permitted limits.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 23rd January 2009, 01:39 PM   #8
Default

Quote:
Originally Posted by vinoth View Post
-Vref=-2v and +Vref=6v
hi,
Post a diagram showing the PIC adc input connection.
You dont seem to understand the PIC's specification.
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Reply

Tags
adc, external, pica

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
External interrupt PIC16F877A Jyothi@Pic Micro Controllers 5 9th January 2009 04:53 AM
External Eeprom AtomSoft Micro Controllers 42 22nd July 2008 05:11 PM
external oscillators amr_karimm Micro Controllers 3 18th April 2004 10:06 AM
external memory curiousCal Micro Controllers 1 18th March 2004 09:19 AM
external RC OSC Deagol_the_Dead Micro Controllers 7 4th December 2003 04:56 AM



All times are GMT. The time now is 06:19 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker