Loading DesignSpark, please wait..

We apologise for the slowness of this page You are using Internet Explorer 6, upgrading your browser will greatly enhance your experience using DesignSpark

The gateway to online resources and design support for engineers, powered by RS ComponentsAllied

Arduino Starter Kit - Video 6 - Motorized Pinwheel

Posted by Simon Holt

2645 views

In this tutorial Massimo Banzi, shows us how to use our Arduinos for real life situations. This project shows us how to use a DC motor to spin a color wheel at different speeds. Massimo also teaches us how to use a mosfet transistor in order to protect the circuit from potential current spikes from the DC motor.
 
A DC motor is a simple electro-mechanical device, normally powered by a 9V battery, whereas Arduino can only provide up to 5V from its pins. The other issue is when an electric motor is turned off it can generate a spike of voltage that can damage the circuit.  In this tutorial, an arduino controlled mosfet transistor is used as a gate to open and close a separate circuit, where the electric motor is wired to a 9V battery. Since the motor and the Arduino are on two separate circuits, the Arduino is protected from dangerous spikes. 

The mosfet is controlled by a simple push-button, that tells the transistor to close the circuit between the battery and the motor, causing the motor to start spinning. The code is actually simpler than in previous tutorials, as reading a signal from the button and applying it back to the mosfet transistor is all that needs to be done.

You can find the previous tutorials here and subscribe to the upcoming Arduino video tutorials. As Massimo always says: build it, hack it and share it on the internet, because Arduino is you.

1 comments

Comments

  • blockhead Avatar blockhead

    Posted by blockhead at

    At 3-15 in the video the presenter states that applying a voltage to the gate causes the gate and source to connect together. I believe that he meant to say it causes the source and drain to connect together.

Leave a comment