The title says it all. I'm working on a project that requires me to power a brushed DC motor that can reverse directions and change speeds. Everything is controlled by Arduino, but an external battery powers the motor. The Arduino steps in between in order to control power flowing to the motor. I'm new to electronics and this is my first project, so I'm hoping for some guidance from the EE community here.
Is my approach of using a MOSFET to control the speed of the motor and a relay (since it can reverse voltage) to control the direction a reasonable one?
How would this look in a circuit diagram if it could work at all?
I hope this is sufficient information, but if you need more details, please most a comment and I will elaborate. If you have any other approaches you'd like to share, please do.
Edit: The suggested duplicate "question" doesn't help me or answer my question because I don't see a question and I don't see how the answers address every part of the question I'm asking here. My main question specifically asks if I can use a transistor and a relay in the same circuit to control the direction and speed of a motor. I'd also like to know how I could implement this by seeing a circuit diagram.