Page 1

ARDUINO 101 EXERCISE:

05 – Controlling components that need more current (MOSFET transistor)

Aim: Arduino is very good at controlling components that demand a small current (less than 20 milliamps). Larger components such as dc motors need more current. Trying to operate a dc motor directly from the Arduino can cause the pin to stop working and can also potentially destroy the main processing chip. The aim of this exercise is to demonstrate how to use a metal oxide semiconductor field effect transistor (MOSFET) to control current hungry components.

Polarised Diode

Mosfet IRF510

DC Motor

Additional Information: The diode is not required but is used to protect the Arduino from back electromotive force (EMF). Instructions: This is one of the more complex circuits in Arduino 101 and therefor quite difficult to explain in words. In order to complete the task at the end of this exercise make sure to use a digital I/O that is capable of PWM. Follow the circuit diagram carefully and everything should work out. Task: Using the information gained in exercise 04 about PWM and the circuit in exercise 03 using potentiometer. Make a speed control for the MOSFET DC motor controller. A MOSFET’s ability to switch fast makes it perfect for use with PWM.

A Curriculum designed by Alcwyn Parker 2011.

9v

+ -

PARTS LIST: 1x 9volt battery

1x DC motor

1x IRF510 MOSFET

1x polarised diode

Jumper cables

1x battery connector


ARDUINO 101 EXERCISE CODE:

LINKS:

http://arduino.cc/en/Tutorial/Fade http://en.wikipedia.org/wiki/Pulse-width_modulation http://en.wikipedia.org/wiki/Piezoelectric_sensor http://en.wikipedia.org/wiki/Counter-electromotive_force

A Curriculum designed by Alcwyn Parker 2011.

Arduino 101 05_Mosfet  

how to use the mosfet with the Arduino

Arduino 101 05_Mosfet  

how to use the mosfet with the Arduino

Advertisement