I need to high-side drive a dc motor. I am missing a P channel mosfet, so till I get one I want to test my thing with an N channel one. I plan to drive it with an isolated battery and an optocoupler. Here is the schematic
Thanks for the schematics!
For a first test I suggest You use the N channel FET switching the low side. I'm a bit rusty and don't want to "guarantee" the correctness of Your circuit.
The position of R1 looks a little bit odd to me. I would like it placed between the ´gate and the source to make sure the off gate voltage goes low.