This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to resolve the contention between 2 ADC0801!!!???

How to resolve the contention between 2 ADC0801!!!???

I would like using two ADC0801 in order to read 2 Vol electric signal ., 2 ADC interfaces with AT89c51 by using common input..If I use an ADC, no problem, but with 2 ADC ,ADC will not working!!!! Please help me!!!

My programmer and file Proteus is below

www.MegaShare.com/512261

Parents Reply Children
  • "Problem with an interrupt signal only affects how you will know that a conversion is done - it does not affect your ability to talk with the ADC"

    i understand this thing.My mean:i use button to allow operate ADC,star convert,,then wait signal INTR from ADC send to CHIp to alert "finish start convert",after chip will read ADC then show in leg7seg...is this right??

    my code use for operating ADC

    if(button1==1){
    CS_1=0;
    WR_1=0;
    WR_1=1;
    while (INTR_1==1);//wait for signal INRT_1...cho den khi co tin hieu ngat tu ADC
    CS_1=0;
    RD_1=0;
    //CS_1=1 not write here khong the dat o day...dan toi ko doc duoc
    }