I thought I'd finished this out but something didn't work.
Thanks to Henrik, using the transistor and 12 volts to turn the MOSFET on does work; most of the time. Periodically it will skip parts of the routine but restart at the right place. I feel this could be due to the power supply and all I need is to find some filter caps.
Thanks for all the help.
Bookmarks