PIC18F4580 – Interfacing POT(ADC)

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

Schematic

Note: 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 PIC18F4580 Mini Development Board

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

Resources

How to buy?

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

Leave a Reply