Producing 12V from an Arduino UNO, Even if needs external modules?

All I need is to drive a 12V DC Motor for some seconds and turn it off for some seconds but an arduino only produces a maximum of 5 volts.....

Any help with how i get it to work??

bekathwia23 days ago

You can use a separate power supply for the motor, and switch it using the transistor similar to the circuit in the Input/Output lesson. A sample circuit like this can be found in Randy's Robots Class: