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.
Analog Pin Configuration for PIC16F84A with Potentiomete
-
- Posts: 7
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 1:45 pm
- Has thanked: 1 time
Analog Pin Configuration for PIC16F84A with Potentiomete
- Attachments
-
- Pic16F84A_Prog_AN_Leds.fcfx
- (10.85 KiB) Downloaded 6 times
-
- Valued Contributor
- Posts: 1733
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 386 times
- Been thanked: 595 times
Re: Analog Pin Configuration for PIC16F84A with Potentiomete
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
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
Thanks though! just checked the datasheet and u're totally right. My mistake
Best regards!
Rod
Best regards!
Rod
-
- Valued Contributor
- Posts: 1733
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 386 times
- Been thanked: 595 times
Re: Analog Pin Configuration for PIC16F84A with Potentiomete
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
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
-
- Matrix Staff
- Posts: 1978
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 519 times
- Been thanked: 706 times
Re: Analog Pin Configuration for PIC16F84A with Potentiomete
I beleive the 16f88 is a pin compatible option with adc ability. There are loads though any 18pin 16f should be pin compatible.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel