I am creating my first PCB that will use PIC16F690 and be powered by 24 volts. LM7805 will be used to reduce the24 volt supply to 5 volts to power the pic. I need the pic to be able to toggle a 24 V circuit. Should I use a voltage regulator on the input side of the 24V toggled circuit? If so, how do I increase the output from the pic to 24V for the output wire?