A bench PSU controller using PIC16F887