There is an example design like this on the Microchip web page. Check it out! Anthony