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.

interfacing MCP3002 TO 8051 problem

Status
Not open for further replies.

maha384

Junior Member level 3
Joined
Apr 7, 2008
Messages
26
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Egypt
Activity points
1,455
I use the 10-bit ADC "MCP3002" interfaced to AT89s52(using serial communication) to read the voltage changed using a variable resistance 1k ohm.

it reads 0V,and 5V but in between the value is not correct and i don't know the reason for that.

attached MCP3002 datasheet, c code, pcb.
 

bobcat1

Advanced Member level 4
Joined
Jul 10, 2002
Messages
1,288
Helped
99
Reputation
198
Reaction score
34
Trophy points
1,328
Activity points
8,547
HI

Its look like a noise problem

Please add some ceramic 0.1 & 0.01 uF capacitor on the ADC power pin as close as possible

Please upload schematic diagram fof the circuit

All the best

The microcontroller specialist
 

maha384

Junior Member level 3
Joined
Apr 7, 2008
Messages
26
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Egypt
Activity points
1,455
i already add the capacitors but not ceramic and the schematic is uploaded thanks for reply
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top