Page 1 of 1

Analog Pin Configuration for PIC16F84A with Potentiomete

Posted: Sat Oct 04, 2025 11:20 pm
by r_teixeir
Hello everyone,
I'm working on a Flowcode 8 project using the PIC16F84A microcontroller. I noticed that when I try to use a potentiometer as an analog input, there is no option to configure the analog pin mapping for the selected pin.
Is this a limitation of the PIC16F84A within Flowcode, or am I missing a configuration step? Any guidance or workaround would be greatly appreciated.
Thanks in advance for your support!
Best regards,
Rodrigo L.

Re: Analog Pin Configuration for PIC16F84A with Potentiomete

Posted: Sun Oct 05, 2025 12:04 am
by chipfryer27
Hi

As far as I remember, the 16F84A doesn't support ADC function on any pin.

You could use an external ADC or any one of a number of similar PICs that do support ADC.

Regards

Re: Analog Pin Configuration for PIC16F84A with Potentiomete

Posted: Sun Oct 05, 2025 2:23 am
by r_teixeir
Thanks though! just checked the datasheet and u're totally right. My mistake

Best regards!

Rod

Re: Analog Pin Configuration for PIC16F84A with Potentiomete

Posted: Sun Oct 05, 2025 3:07 am
by chipfryer27
Hi

Im not at a PC just now so can't offhand recommend a direct replacement, but there are many similar PICs that do support ADC.

Regards

Re: Analog Pin Configuration for PIC16F84A with Potentiomete

Posted: Sun Oct 05, 2025 10:41 am
by BenR
I beleive the 16f88 is a pin compatible option with adc ability. There are loads though any 18pin 16f should be pin compatible.