PIC18F4520 – Interfacing POT(ADC)

PIC18F4520 mini development board has a POT connected to pin RA0 i.e, channel0 via jumper J16. Sample code to check the ADC module of PIC18F4520 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 PIC18F4520 Mini Development Board

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

Resources

How to buy?

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

Leave a Reply