Hey guys,
I'm thinking of using one of the pic16f family members for one AC powered project and, choosing the right resistor and the right cap, can I use the equivalent for the pic16HV family powered directly from the mains? I would need some sort of protection circuit for the garbage that we find on the AC line, but the idea is the same. Well, sure it would reduce the costs with parts to build a AC-DC convertes but it all seems to be too good to be true...