Quote Originally Posted by jason View Post
Ya there alot more spendy. I'm trying to keep the cost down to minimal. here in Mexico in Newark the current chip is $1.38 and the 18F4620 is $7.28. However the PIC16F877A-I/PT is $5.70 and if I use a AD for the voltage detection which will save me about $2 that brings me down to $3.70, still a bit more. But like you say the added options. I will think about it.
One other thing to note...
The PIC16F59 is a 12-bit device, not a 14-bit device like the F877, or 16-bit like the 18F4620.
Using PBP, you'll be limited as to which commands you can use with the 16F59.
Maybe check out the 18F4410/18F4510. Looks to me like they might be a bit cheaper than the 16F877A.