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.

Problem interfacing adc0808 with 8051 in Proteus 7.1

Status
Not open for further replies.

imani9009

Newbie level 5
Joined
May 30, 2010
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,332
Problem interfacing adc0808 with 8051.
I have uploaded the schematic files and hex file for 8051 also.
I have set the Vref(+)=2.5 and the Vin to 2.5.
In this case the ADC should have an ouptut FF. But the output is not FF.
Can someone explain the reason
 

hi

connect some led's to the output of the adc and vary the adc input voltage
check the status of the led and you will come to know whether the system of functioning ok or not

ml
 

send me your code in C plz.... I am facing the same problem...
can u help me?:roll:
 
Last edited:

I have found that ADC output pins are inverted in Proteus. So, just invert the pin connections. In you circuit OUT1...OUT7 is connected to P1.0...P1.7, So, connect it like OUT1...OU7 = P1.7...P1.0
 

Problem interfacing adc0808 with 8051.
I have uploaded the schematic files and hex file for 8051 also.
I have set the Vref(+)=2.5 and the Vin to 2.5.
In this case the ADC should have an ouptut FF. But the output is not FF.
Can someone explain the reason

first: the schematic is correct,but i suggest using a resistor for input.
second: i think your code has some problems!!
did you noticed the timing diagram of ADC0808??!!!
third : i found the problem: you have chosen the adc=001, and it means you have chosen the in4 pin,so you should connect the input to in4 pin and it works!!:wink: don't forget the resistor for input
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top