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.

ADC help using MAX186A IC

Status
Not open for further replies.

thalukku

Junior Member level 2
Joined
Feb 7, 2007
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,406
Hi,
I am using MAX186A IC with parallel port to convert ADC. I have planned to use 8(A0 to A7) channel analog input and each data needs to be read thorugh the parallel port and digital data is converted to measured the voltage.

Please help me how to write the code for MAX186A using parallel port.

Thanks.
 

my suggestion is the max168s cs(low) , sck ,din and dout can be asigned to following signals.

cs and din to D0 and D1 of par port.
sck to either strobe or D2.

dout to another bit.

which os are you going to use for this ?

srizbf
18thmay2010
 

Hi,
I have attached a circuit which I have downloaded from the net.

I am using WIN XP OS.

Thanks.
 

the circuit can be constructed.
the software part requires understanding of parallel port access.

which compiler do you propose to use?
what language?

srizbf
19thmay2010
 

I got an idea how to write in the parallell port. If it doesnot work. I need your help.


Thanks for your valuable response.

Siva.
 

you can get the reqd one .

if posting , post with the information on environment , like , os, compiler used , version etc .

that will reduce the msg traffic .

srizbf
21stmay2010
 

Hi,
I am using C compiler for MAX186 ADC.
1. Control byte as 0x8F for channel 0.
2. External clock is used.
3. Single Ended.
D0 - SCLK
D1 - CS
D1 - DIN

Still I am getting '0' in the output.

Please anyone help me to solve the problem or if you are having any sample code please upload it.

I have attached the c code which I am using. Please tell me where I am doing wrong.

Thanks
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top