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.

What is ADC in microcontrollers ?

Status
Not open for further replies.

prodigyaj

Member level 2
Joined
Jan 10, 2007
Messages
50
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,591
hello ,

I want to know what exactly is Analogue to digital ( ADC ) in uC ?
I have used 89s52 without this knowledge ? is ADC present in that uC ?
how does ADC inbuil help ?
 

Analog to digital conversion is used to convert analog signals "like voltage" to digital values because
digital systems "like uc" can not deal with analog signals directly

for example human voice is analog signal but it is stored in computer in its equivalent digital form
when you want to hear it, it is converted again by reverse operation "digital to analog"

in uc world you can use ADC to interface a sensor " temperature , pressure,.............."
asa the sensors produce analog signals

for more information visit
https://en.wikipedia.org/wiki/Analog-to-digital_converter
 

Some 8051-derivatives have ADC but 89S52 doesn't belong to that group .. in other words, it doesn't incorporate a built-in ADC ..

Regards,
IanP
 

In every controller u will find ADC(Analog to Digital Converter). It actually converts analog samples into digital discrete values for further processing. For that it follows Niquist Sampling rate theorem. You can check it from google also.
 

not all parts named 8051 are alike; the core is the same but the internal
peripherals differ significantly.
some has ADC and some doesnt
 

plz can someone help me to understand this code in pic basic manual!!!
Several DEFINEs may also be used:

DEFINE ADC_BITS 8 ' Set number of bits in result
DEFINE ADC_CLOCK 3 ' Set clock source (rc = 3)
DEFINE ADC_SAMPLEUS 50 ' Set sampling time in microseconds
ADC_SAMPLEUS is the number of microseconds the program waits between setting the Channel and starting the analog to digital conversion.

TRISA = 255 ' Set PORTA to all input
ADCON1 = 2 ' PORTA is analog
ADCIN 0, B0 ' Read channel 0 to B0
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top