You have the $2 option by going with a 40DIP PIC16F887/4 and mikroC.