8
Controlling Motors with Mosfets
AVRs cannot directly control motors. In order to enable this, we need to use external components: metal-oxide-semiconductor field-effect transistors (MOSFETs), transistors that can switch or amplify voltages in circuits.
In this chapter, you’ll learn how to:
- • Use PWM with MOSFETs to control DC motors.
- • Use MOSFETs to control larger currents.
- • Use motor driver ICs to interface larger motors with your AVR microcontrollers.
Along the way, you’ll build a temperature-controlled fan and a two-wheel-drive robot vehicle, building on prior knowledge to complete more interesting and complex projects. By the end ...
Get AVR Workshop now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.