Without A/D you can try POT or RCTIME commands, but your better off going with a pic with A/D functionality. Probably cheaper than your PIC16F84A! Another option is an external A/D chip.