PIC16F877A – Interfacing POT(ADC)

PIC16F877A mini development board has a POT connected to pin RA0 i.e, channel0 via jumper J16. Turning the POT varies the input to RA0 from 0 to 5V. Sample code to check the ADC module of PIC16F877A with potentiometer is given below. The output is displayed on LCD and the variation can be checked with the POT.

SchematicNote: To use potentiometer, don’t forget to short jumper J16. Leaving it open frees RA0 and it can be used for any other desired purpose.

Sample Code

Topics related to PIC16F877A Development Board-Mini

  1. PIC16F877A Mini Development Board – Overview
  2. PIC16F877A Mini Development Board – Interfacing LED
  3. PIC16F877A Mini Development Board – Interfacing LCD
  4. PIC16F877A Mini Development Board – Serial communication(USART)
  5. PIC16F877A Mini Development Board – Interfacing Switch
  6. PIC16F877A Mini Development Board – Interfacing Buzzer
  7. PIC16F877A Mini Development Board – Interfacing  POT(ADC)
  8. PIC16F877A Mini Development Board – Interfacing Temperature sensor
  9. PIC 16F877A Mini Development Board – Interfacing Servo Motor
  10. PIC 16F877A Mini Development Board – Interfacing μRFID Reader

Resources

How to buy?

SupportPlease share your ideas with us, visit our forum for discussion

Leave a Reply