Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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
    ansq.png
    108.9 KB · Views: 217
  • ansq1.png
    ansq1.png
    140.7 KB · Views: 227
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.

Latest threads

New Articles From Microcontroller Tips

Back
Top