![]() |
![]() |
![]() |
|
|
|||||||
| 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? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
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 |
|
|
|
|
|
|
(permalink) |
|
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. |
|
|
|
|
|
|
(permalink) |
|
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.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
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.
__________________
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. |
||
|
|
|
|
|
(permalink) |
|
yeah i do but it doesn't state anywhere in the datasheet about operating it in standalone mode.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
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/ |
||
|
|
|
|
|
(permalink) |
|
what do you mean by clip?
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
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. |
||
|
|
|
|
|
(permalink) |
|
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?
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
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
__________________
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. |
||
|
|
|
|
|
(permalink) |
|
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
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
Lets know how it goes.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
||
|
|
|
|
|
(permalink) |
|
lol. will update u soon
|
|
|
|
|
|
|
(permalink) |
|
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
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
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. |
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| 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 |