Actually, if the FET turns on when the photo-interrupter has an object in it, its perfect.
I am actually building a circular accelerator as a physics project. Kind of a scale, simplified model of CERN or FermiLab's Tevotron. To demonstrate how they work, in broad terms. This is the schematic for the electromagnet power supply.
I thought it should work, but I also thought I should check because I know when an inductor (the electromagnet) turns off, it dumps a voltage spike into the system. That's why I have a freewheeling diode next to the inductor. One of the choices I posted for said freewheeling diode is a Shottky, which is why I used the schematic symbol for one.
Do you think it would work for it's intended purpose? (That is, would it switch the FET on when something occluded the photo-transistor?)
*I meant to ask "Will it work as intended without burning anything out?"