Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

8 ch Adc -> Mcu -> Pc

Status
Not open for further replies.

Analyzer

Full Member level 6
Joined
Nov 18, 2001
Messages
374
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
3,518
adc- rs232 interface schematic

Hi there,

I need to build an interface that has 8 ch adc connected to pc.I want to measure voltage between 0-5V with this circuit.I saw one guy built this device with pic14f000.I can't copy device because its mcu is code protected.So i need to build my own device.I need a similar project (schematic, source code of mcu (asm), source code of controller program for pc).Do you have any idea? I really need this project.Thanks.

Analyzer :(

P.S. I attached block diagram.
 

Analyzer

Full Member level 6
Joined
Nov 18, 2001
Messages
374
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
3,518
source code for adc with pic

Thanks but pity this is only one channel. :(
 

joebazoka

Advanced Member level 4
Joined
May 17, 2001
Messages
105
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,298
Location
Argentina
Activity points
734
mf614 humusoft block diagram

Try to put an ADC0838 of National Semiconductor. See the next url:
http://www.technology.niagarac.on.ca/students/msimms/
You can download the source code. In this you have a routine for read ADC0832. The ADC0838 have 8 channels, change the source code, is simple. Only you must add select channel in the routine. If you don´t need high speed is a good choice. Regards. I hope be useful.
 

Hishamsaleh

Full Member level 1
Joined
Jan 6, 2003
Messages
98
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
969
adc ic schematic examples

ADC-x RS232 Interface Schematic
 

senthilkumar

Advanced Member level 1
Joined
Nov 24, 2001
Messages
401
Helped
27
Reputation
54
Reaction score
19
Trophy points
1,298
Location
india
Activity points
3,969
how connect mcp3208 to 8051

hai,

u can use atmel mc AT90s8535.it has 8 channel builin adc.for its datasheet
u get from
www.atmel.com

and search the sample code from
www.google.com

and u can get the demo compiler from
www.imagecraft.com

if u need help pls pm me

i have experience it

bye
 

ee_freak

Junior Member level 2
Joined
May 28, 2001
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
somewhere in time
Activity points
146
adc to pc

Hi,

What wrong with PIC 16F877 or comparable? If you alredy know how to program PIC then it's extremely easy to program the ADC in PIC 16F8xx. I had also used MCP3208 from micochip and it's also easy to use with SPI interface.
 

Sobakava

Full Member level 6
Joined
Mar 27, 2002
Messages
350
Helped
8
Reputation
16
Reaction score
8
Trophy points
1,298
Activity points
3,346
16f877 schematic data acquisition

My undergraduate project was 16 channel analog data
acquisition board. I used PIC16F877 and 2x 4051 8x1 analog
mux for 16 channels but if you need only 8 channels and
0-5V range, it is really easy to implement with only PIC16F877
and MAX232 (for serial port).

What do you need? Schematic, pcb drawings, source code? I
can send word files of my project but unfortunately it is not in
English :-(
 

7rots51

Advanced Member level 4
Joined
May 17, 2002
Messages
1,184
Helped
25
Reputation
50
Reaction score
12
Trophy points
1,318
Activity points
9,651
pic adc pc

hi
TI company have 8 channel 16bit ADC with 8051 cpu inside it with large amount of flash memory and other feartures.you can use it for low speed designs.gain and filter can be programmed by software. and you can detect se/nsor wire break with it.

bye
 

Tornado

Full Member level 3
Joined
Apr 26, 2002
Messages
167
Helped
11
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,265
ccs compiler pic adc rc interne

Hi Analyzer, please visit Maxim at:

http://www.maxim-ic.com/appnotes10.cfm

Search and you will find an app like yours. Many other
apps are there just scan the site.

Note: You may not need the MCU if you use parallel port or RS232
just check.


Tornado
 

Analyzer

Full Member level 6
Joined
Nov 18, 2001
Messages
374
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
3,518
read spi with humusoft daq

Thank you for all replies.I am an electronic amateur, so i have no experience about some specific subjects such as adc<->dac.I need everything about this project.For example schematic, firmware for pic (c source code will be appreciated), source code of pc program.I can not find atmel mcu's here.So the most useful mcu is pic16f877 here (I can easily find).Can i have 8 ch adc with this mcu without adc ic? What is the resolution (how many bits?).I want to measure voltage simultaneously.If you have info, please help me :(
 

joebazoka

Advanced Member level 4
Joined
May 17, 2001
Messages
105
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,298
Location
Argentina
Activity points
734
adc0838 basic

I think that you must first the datasheet of PIC16f877. The ADC have 10 bits (I think). You can use the CCS compiler. This compiler have a wizard. With this you can generate the files with the libraries for ADC for example. You can download this in MCU fileman in this page. You only need free registration. Regards.
 

ee_freak

Junior Member level 2
Joined
May 28, 2001
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
somewhere in time
Activity points
146
adc mcu

Yes, it (16f877) has 8 chs of 10 bits adc. If you don't need very high accuacy then you need no external adc. If you're sure that the input signal will not exceed 5v then I think that you can just connect the adc input with simple rc filters.

If you're not already have other tools please look at

For C compiler : h**p://www.htsoft.com. Lite version is free but you can also find full version somewhere in internet.

For programming tools: h**p://www.ic-prog.com. jdm is simple but I nerver built it myself.
 

Analyzer

Full Member level 6
Joined
Nov 18, 2001
Messages
374
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
3,518
mcu interface with -10to10 adc

I have ccs, but i even don't play with 877 adc funtion.How will i connect measurement probes and how will i write a code for it? Is there any example projects around here? Thank you.
 

DrShoe

Member level 1
Joined
Apr 16, 2001
Messages
41
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Netherlands
Activity points
304
mcp3208 source code ccs

There is an example file (CCS) in the Examples dir: EX_AD12.C and EX_ADMM.C
The help file wil tell you everything.
If you want 10bit ADC you need to use a voltage reference like the REF02 otherwise the converter gives a very unstable value.
8 bits is no problem (19.5mV/bit)

The channel selector need some time to swich inputpin, and the analog input need to be low impedance or the conversion time becomes longer.
 

ME

Advanced Member level 4
Joined
Mar 14, 2002
Messages
1,309
Helped
55
Reputation
112
Reaction score
40
Trophy points
1,328
Activity points
14,861
adc0838 spi

The easiest solution for interfacing eight analog channels to PC is to use a PC data acquisition board for PCI slot (or the old ISA slot). Here is a PC data acquisition board with eight single-ended 12-bit analog input channels for PCI slot:
http://www.humusoft.cz/datacq/mf614.htm

If you got an ISA slot in your PC you can use this one:
http://www.humusoft.cz/datacq/ad512.htm
 

ME

Advanced Member level 4
Joined
Mar 14, 2002
Messages
1,309
Helped
55
Reputation
112
Reaction score
40
Trophy points
1,328
Activity points
14,861

masood_ahm

Newbie level 5
Joined
Feb 18, 2009
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Pakistan
Activity points
1,327
adc ccs 16f877

hi
i m using at8535 mcu .. i have some questions
1) can i connect AGND to a -5 and Aref to +5 for voltage levels starting from -5 to +5
2) what values should be used for the 2 capacitors connected with the crystal( the datasheet does not explain that)

3) i know a bit of assembly and i can learn 8051 assembly but dont know how to use ADC in at8535 mcu
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top