If there still is any doubt, I have explained the modalities of the 16F877A ADC with example codes here:
https://www.edaboard.com/blog/1569/
https://www.edaboard.com/blog/1570/
https://www.edaboard.com/blog/1571/
https://www.edaboard.com/blog/1572/
https://www.edaboard.com/blog/1573/
https://www.edaboard.com/blog/1574/
Hope this helps.
Tahmid.
Yes, that's what it means. When you configure any pins as analogue, only those pins can act as input for analogue voltage/signal and thus for ADC. The ones configured for digital can only read if the input is high (1) or low (0).
Hope this helps.
Tahmid.
Yes, that's what it means. When you configure any pins as analogue, only those pins can act as input for analogue voltage/signal and thus for ADC. The ones configured for digital can only read if the input is high (1) or low (0).
Hope this helps.
Tahmid.
Connect one decoupling capacitor between pins 11 and 12 and another between pins 31 and 32.
If you intend to use external reference, you'll need to use pins 4 and 5 for VREF- and VREF+ respectively. So, you'll need to connect a decoupling capacitor across pins 4 and 5.
Hope this helps.
Tahmid.
There isn't any strict requirement for the value. 100nF is okay.
Hope this helps.
Tahmid.
That capacitor is the bypass capacitor (also called decoupling capacitor): https://en.wikipedia.org/wiki/Decoupling_capacitor
Without a decoupling capacitor, you may not face a problem most of the times. And probably you will not. But having it will ensure that noise does not affect it.
Hope this helps.
Tahmid.
Without a decoupling capacitor, you may not face a problem most of the times. And probably you will not. But having it will ensure that noise does not affect it.
Hope this helps.
Tahmid.
Without a decoupling capacitor, you may not face a problem most of the times. And probably you will not. But having it will ensure that noise does not affect it.
Hope this helps.
Tahmid.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?