Previous in Forum: Backup Battery of PLC System   Next in Forum: DVD to Data Disc Conversion
Close
Close
Close
3 comments
Rate Comments: Nested
Participant

Join Date: Apr 2010
Location: Bangalore
Posts: 1

Interfacing ADC7135 With 89S52

04/02/2010 5:25 AM

Hi all,

I am doing a project based on physical parameter I am using adc 7135 for conversion. Please any one help me providing the assembly level code for drive the adc

Thank you

__________________
Sharath Pandith
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru

Join Date: Dec 2010
Posts: 1686
Good Answers: 116
#1

Re: Interfacing ADC7135 With 89S52

08/03/2019 4:13 PM

The ICL7135 is an integrated ADC with multiplexed BCD & digit select drive to a numeric display. That is not really a microprocessor interface device, although it can be read into μP inputs. It appears the strobe pulses must be read as an indicator that, after the A-D conversion the 7135 output Digit code and BCD value of digit are valid for reading-in. Since the ADC takes >20000 clock cycles per reading, an interrupt driven μP routine seems sensible - it would appear 2 x 8 bit inputs [including data like over-range] should be read by μP when strobe occurs.

Doing internet search finds you are not the only one using 7135 e.g.

https://www.edaboard.com/showthread.php?177666-Need-help-on-adc-7135-Flickering

Surely, the point of the project is that you understand how the 7135 outputs data & design your own interface software - not cribbing other people's work?

Register to Reply
Guru

Join Date: Dec 2010
Posts: 1686
Good Answers: 116
#2
In reply to #1

Re: Interfacing ADC7135 With 89S52

08/03/2019 4:25 PM

See Wiktionary, meaning 23....

https://en.wiktionary.org/wiki/crib

Register to Reply
Guru

Join Date: Dec 2010
Posts: 1686
Good Answers: 116
#3

Re: Interfacing ADC7135 With 89S52

08/03/2019 5:10 PM

I think you need to carefully read "Strobe" section in ICL7135 data sheet & figure 4. Over 1000 counts, each digit is output for 200 counts each; D5 then D4 etc

I cannot see how the code referenced is reading the 5 BCD digits into an array of RAM in succession after BUSY changes state. You need to read the BCD at the middle of each digit pulse e.g. wait 100 counts after "not busy" for the first digit, then 200 counts for the following 4 digits. You must use μP timer counts of equivalent time to 100 & 200 of 7135 counts, allowing for their clock periods.

Register to Reply
Register to Reply 3 comments

Previous in Forum: Backup Battery of PLC System   Next in Forum: DVD to Data Disc Conversion

Advertisement