ADC Convertor

Status
Not open for further replies.

stmxela

New Member
Hello, I bought adc0820ccn instead of adc0804. I wired the pin of the components, but it doesn't work. What is the problem??
Thank you!
 

Attachments

  • ansq.png
    108.9 KB · Views: 225
  • ansq1.png
    140.7 KB · Views: 232
Partial schematics and a description of "it doesn't work" makes it very difficult to advise.

Mike.
 
A quick look at your schematic shows Vin not connected and the Vref+ connected to the LDR.

Mike.
 
VREF is a fixed voltage that defines the input range, eg. 0-3V or whatever.
That needs an external connection to a fixed voltage.

The digital value out represents what proportion of that voltage is measured on the ADC input.

You can use the ADC0820 with VREF - connected to 0V/GND and VREF + connected to +5V/VCC, to give a 0-5V input range.
(The 0804 has those connections internally).

Do not exceed the supply voltage range; you can go lower, eg. 2.5V, but not higher.

The LDR circuit should connect to V IN as with the 0804 version.
 
For stand-alone operation, the mode pin must be connected to VCC not GND - see figure 7 on page 7 of the data sheet:

There is a possibility you may need to use some logic to hold or latch the outputs while the /INT pin is high after each conversion is triggered, as the outputs float until new data is available. That only matters if you are getting an unacceptable level of flickering or instability on the display.

You could use an 8 bit latch on the ADC outputs and enable or clock data in with each /WR pulse, so it's stable through the conversion time.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…