I need to switch a motor on and off by cutting it's battery connection and even though I could use a relay, I would rather to use a MOSFET, so things will be smaller and quieter.
The problem is, I am not sure about the best way to activate the MOSFET. It will be connected directly to he battery, so the load will be just after the MOSFET, which prompts me to use a P-Channel MOSFET...BUT the battery will be around 10V (7 cells of NiMH) and the MCU controlling the MOSFET will have a 5V signal, so the MCU won't be able to turn the MOSFET off, since 5V will still left the P-Channel MOSFET conducting.
The first thing that comes to my mind is to use a BJT to control the MOSFET and the MCU will control the BJT...but I wanted to ask in here first if there are other options out there, and ask for recommended circuits.
I am also concerned about flyback diodes, because since the motor is in a sealed box, there is no way I can place a diode in parallel with it to avoid voltage spikes around the MOSFET, so alternatives are most welcome (but please avoid saying "hey what about a relay", because this option I already know, and I am looking for new ones :D ).