Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Thread Tools Display Modes
Old 28th September 2007, 06:21 AM   (permalink)
Default help needed for ADC circuit

hi guys,

i intend to use the ADC0804 IC as the ADC for my uni project. the datasheet says it can operate in a standalone mode. i've cr8ed a standalone circuit with LEDs to show the output. however, my circuit seems moody. sometimes it works sometimes it doesn't. i followed the diagram given but i left the digital ground out. furthermore, connecting digital ground to the supply ground does not solve my problem. any ideas?

ps: i'm trying to get it to work before interfacing it with the microprocessor
Attached Images
File Type: jpg ADC.JPG (34.3 KB, 23 views)
konzen is offline   Reply With Quote
Old 28th September 2007, 07:04 AM   (permalink)
Default

hi,
Show us how you are controlling/connecting the CS,WR,RD lines in the stand alone mode, how are you generating these control signals.

Do you have the digital ground connected back to the control signal source, ie: are your CS,WR,RD lines referenced to digital ground in the circuit?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 28th September 2007 at 07:06 AM.
ericgibbs is offline   Reply With Quote
Old 28th September 2007, 07:40 AM   (permalink)
Default

i've left them out as i thought it wasn't required if i just wanted to run it standalone. i guess i'm wrong? sorry i'm quite new to this. we get no help from the lecturers at all for this project.
konzen is offline   Reply With Quote
Old 28th September 2007, 07:43 AM   (permalink)
Default

Quote:
Originally Posted by konzen
i've left them out as i thought it wasn't required if i just wanted to run it standalone. i guess i'm wrong? sorry i'm quite new to this. we get no help from the lecturers at all for this project.
hi,
The control pins have to be connected to the correct logic levels.

Do you have the datasheet?... this should tell you how to connect for stand alone operation.

EDIT: Look at this clip from datasheet.
Attached Images
File Type: jpg screenhunter14.jpg (14.5 KB, 13 views)
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 7th July 2008 at 11:21 AM.
ericgibbs is offline   Reply With Quote
Old 28th September 2007, 07:55 AM   (permalink)
Default

yeah i do but it doesn't state anywhere in the datasheet about operating it in standalone mode.
konzen is offline   Reply With Quote
Old 28th September 2007, 08:16 AM   (permalink)
Default

Quote:
Originally Posted by konzen
yeah i do but it doesn't state anywhere in the datasheet about operating it in standalone mode.
hi,
The clip from the datasheet is the stand alone, free running mode!
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline   Reply With Quote
Old 28th September 2007, 08:28 AM   (permalink)
Default

what do you mean by clip?
konzen is offline   Reply With Quote
Old 28th September 2007, 08:34 AM   (permalink)
Default

Quote:
Originally Posted by konzen
what do you mean by clip?
hi,
A 'clip' is a part of the datasheet that I have copied.
Its a small extract from a larger document.


Look at this 'clip' from the datasheet, I have modified it, you should now be able to follow this/

IMPORTANT: the start switch is a momentary switch, close and release!
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 28th September 2007 at 08:38 AM.
ericgibbs is offline   Reply With Quote
Old 28th September 2007, 08:39 AM   (permalink)
Default

oh okay. i'll rewire my circuit. one more question, since there's no microprocessor involved, does that mean i tie the D ground to the A ground?
konzen is offline   Reply With Quote
Old 28th September 2007, 08:47 AM   (permalink)
Default

Quote:
Originally Posted by konzen
oh okay. i'll rewire my circuit. one more question, since there's no microprocessor involved, does that mean i tie the D ground to the A ground?
hi,
Connect the 'D' ground back to your power supply 0 Volt/Common
and connect another wire from the 'A' ground back to the power supply 0B/common .

I'll edit the clip and repost it.

EDIT: Re-look at clip, for grounds
Attached Images
File Type: gif Image2.gif (22.5 KB, 14 views)
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 7th July 2008 at 11:21 AM.
ericgibbs is offline   Reply With Quote
Old 28th September 2007, 08:53 AM   (permalink)
Default

okay thanks alot. your help in these couples of hours was more valuable than the 3 past days i spent researching on this. this week was supposedly my mid semester break. engineering students have it tough
konzen is offline   Reply With Quote
Old 28th September 2007, 08:55 AM   (permalink)
Default

Quote:
Originally Posted by konzen
okay thanks alot. your help in these couples of hours was more valuable than the 3 past days i spent researching on this. this week was supposedly my mid semester break. engineering students have it tough
hi,
Lets know how it goes.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline   Reply With Quote
Old 28th September 2007, 08:58 AM   (permalink)
Default

lol. will update u soon
konzen is offline   Reply With Quote
Old 28th September 2007, 09:52 AM   (permalink)
Default

nope doesn't work. the CSbar and RDbar pins should be driven low right? also i think the INTRbar pin is driven low to stop conversion. therefore INTRbar and WRbar pins cant be tied together
konzen is offline   Reply With Quote
Old 28th September 2007, 10:11 AM   (permalink)
Default

Quote:
Originally Posted by konzen
nope doesn't work. the CSbar and RDbar pins should be driven low right? also i think the INTRbar pin is driven low to stop conversion. therefore INTRbar and WRbar pins cant be tied together
hi,

The INTR is an output that happens when the ADC conversion is complete and its used to re-trigger a WR [WRITE] command according to the datasheet.

The CS is chip select it must be low, RD is READ and it also must be low.

Have you fitted the resistor and capacitor to the IC?? [10K and 150pF]

Have you connected the momentary start switch?
and switched it 'once' after you have powered up?

Do you have an analog input voltage?

Do you have a Vref voltage as per the ADC note [look at the clip]
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 28th September 2007 at 10:14 AM.
ericgibbs is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
LM3914 Help - Battery Monitor Circuit Needed! Skyone Electronic Projects Design/Ideas/Reviews 19 15th August 2006 10:32 PM
Newbee help needed on a 12v circuit. (Swithced resistor) stubs Electronic Projects Design/Ideas/Reviews 13 10th January 2006 06:20 PM
Circuit Needed Please jkon General Electronics Chat 2 19th December 2003 01:39 AM
Voltage Comparsion Circuit needed waqar Electronic Projects Design/Ideas/Reviews 1 16th May 2003 12:09 PM
info on how to make your own circuit boards needed Richie086 General Electronics Chat 2 2nd May 2003 01:10 PM



All times are GMT. The time now is 02:40 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.