Discussion in "General help Guidance and Discussion" started by    prajwalsnh    Oct 21, 2013.
Mon Oct 21 2013, 07:03 AM
#1
Hi everyone,

I have few stupid doubts in ADC. I just tried a simple adc test in my 8051 using ADC 0804. Well, i got the expected output. But after which some peculiar question came to my mind. I used 10K Preset as the ANALOG INPUT for ADC 0804. When i rotated the knob the resistance changed and accordingly the LED's connected to a port also varied between its on and off condition. But my question is we provide DC voltage which is a constant voltage for preset. on varying the preset how come the output is ANALOG??? I mean in terms of waveform DC voltage will be a straight LINE. But how will it change to alternating waveform at resistor end? Can anybody explain the clear concept of AC & DC, ANALOG and DIGITAL. I'm sorry if my question sounds funny
Mon Oct 21 2013, 10:05 AM
#2
Looks like you're confused with basic definition of Analog and Digital signal. When you say digital it means it can only have two levels either 0 or 1. where zero is represented by 0V and 1 represented by 5V in TTL. So Digital signal does not understand any other voltage levels other than 0 or 1. Where as when we say Analog, Its just a signal with a voltage level, which can be either +ve or -ve or zero.

The AC, DC are different concept, they are concept of signal theory. And AC/DC signals are functions of time.
DC signal (Fn) can be represented by
Fn = x;
x is a constant value
where as AC signal Fn is
Fn = x(t)
where x is function of time, i.e. it changes with time so we call it AC signal.
Now at a particular time interval t, x(t) will have a certain value with will remain constant at that time, for t+1 it will be different.

This same theory is used in ADC, to measure an analog signal you sample incoming signal at particular time t where its value is x Volts and you get ADC value, and at t+1 it has y Volts. you store all these values in your controller and when you want to reconstruct the original signal just send the timed values to DAC and you will get similar waveform on the output.

I tried to explain some concepts of signal theory hope you understood.
Tags signal theorysignal and systemanalog signal representationdigital signaldigital signal representationsignal time function
Mon Oct 21 2013, 04:26 PM
#3
@Ajay Bhargav

Thanks for your reply sir I know the theory whatever u told. But 'm not able to understand still. what wil be the voltage at micro-controller pin?? No doubt it will be DC 5V. But its analog or digital?? can i simulate in proteus to see the waveforms out of a preset as i told in earlier post??? If you don't mind can you give some example circuits and explain Thanks in advance.
Tue Oct 22 2013, 07:34 AM
#4
When we say digital its just a convention to imply that system can only understand two levels 0 or 1. Even analog source can out put 5V but we call it analog because of its nature. Its hard to explain things like this its like general knowledge of electronics. In proteus you can connect one end of potentiometer to VCC and other GND, connect the centre one to oscilloscope. Now when you run the simulation you will see DC signal only but still we call it analog input (and not digital) because it can have any value from 0 to 5V unlike digital where you can only have 0 and 5V Hope this gives a better clarification.
 dikshac like this.
Tue Oct 22 2013, 03:57 PM
#5
@Ajay Bhargav

Yes now i got it Nice explanation. Thanks a TON sir

Get Social

Information

Powered by e107 Forum System

Conversation

Sat Dec 05 2020, 05:06 PM
Lavern
I'm pretty pleased to find this page. I wanted to thank you for ones time for this particularly wonderful read!! I definitely loved every part of it and I have you saved to fav to look at new stuff in your website. https://yescheapessaywriting.com best essay writing services best essay writing services https://yescheapessaywriting.com
Sat Dec 05 2020, 03:40 PM
Isiah
What's Taking place i am new to this, I stumbled upon this I have discovered It positively helpful and it has helped me out loads. I'm hoping to contribute & aid other users like its aided me. Good job. https://servicesdigitalwriters.com custom dissertation writers custom dissertation writers https://servicesdigitalwriters.com
Thu Jun 11 2020, 06:27 AM
anudee
sir could please send the code for I2C and wifi interfacing with 8051
scena
Tue May 19 2020, 10:29 PM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sat May 02 2020, 07:38 PM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 89, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123