O'Reilly logo

Practical AVR Microcontrollers: Games, Gadgets, and Home Automation with the Microcontroller Used in Arduino by Alan Trevennor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 4

image

Moving On!

Your AVR chip is a silicon nerd! It’s a very smart little beast, but it’s very puny. You may as well ask it to calculate the square root of infinity as to directly energize a motor, or activate a solenoid. It’s all a question of electrical muscle: even a small electric motor will want to consume about 500 milliamps of current, whereas an MCU port pin starts to sweat at about 20 milliamps. So, for all that the AVR is smart, translating that smartness into making real-world things move or happen at the right time is not within its direct capabilities. It needs help.

That’s the main thrust of this chapter—how we deliver the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required