Need some advice on ADC pins on an older PIC (namely 16F84A)

Thread Starter

Boreal Knight

Joined Feb 18, 2017
10
On our design project, we opted to use a PIC16F84A https://ww1.microchip.com/downloads/en/devicedoc/35007b.pdf and a temperature sensor namely LM35. I looked the net for codes and the most I could find were PIC16F877A and the codes always convert analog to digital and have some sort of ADC function. PIC16F877A http://ww1.microchip.com/downloads/en/DeviceDoc/39582C.pdf also has AN0, AN1 pins which are ADC converters needed for the code while PIC16F84A doesnt have any pins like that. I dont know if I should continue working with F84A since we need a certain value for the temp sensor before it activates an input or if it can be fixed with an ADC IC. And from what I noticed from other tests using a sound sensor that it only returns either a zero or a one despite adjusting the values on the if statements.

Should I just switch the PIC to a newer version or can this be adjusted using an ADC IC namely a TLC549?
 
Top