Book Image

Exploring Arduino - Second Edition

By : Jeremy Blum
Book Image

Exploring Arduino - Second Edition

By: Jeremy Blum

Overview of this book

Exploring Arduino makes electrical engineering and embedded software accessible. Learn step by step everything you need to know about electrical engineering, programming, and human-computer interaction through a series of increasingly complex projects. Arduino guru Jeremy Blum walks you through each build, providing code snippets and schematics that will remain useful for future projects. Projects are accompanied by downloadable source code, tips and tricks, and video tutorials to help you master Arduino. This edition covers the rapidly expanding Arduino ecosystem. Servo motors and stepper motors are covered in richer detail, and you'll find more excerpts about technical details behind the topics covered in the book. Wireless connectivity and the Internet-of-Things are now more prominently featured in the advanced projects to reflect Arduino's growing capabilities. You'll learn how Arduino compares to its competition, and how to determine which board is right for your project. By the end of this book, you would’ve gained the skills you need to develop your own microcontroller projects!
Table of Contents (13 chapters)
Free Chapter
1
Cover
8
Index
10
Acknowledgments
11
Figure Credits
12
End User License Agreement

5
Driving Stepper and Servo Motors

Parts You'll Need for This Chapter:

  • Arduino Uno or Adafruit METRO 328
  • USB cable (Type A to B for Uno, Type A to Micro-B for METRO)
  • Half-size or full-size breadboard
  • Assorted jumper wires
  • Pushbuttons (×2)
  • 1kΩ resistors (×4)
  • 10kΩ trim potentiometer
  • 5 mm Blue LEDs (×4)
  • 9V battery
  • 9V battery clip
  • L7805CV 5V voltage regulator
  • 10μF 50V electrolytic capacitors (×2)
  • TI L293D dual H-bridge motor driver
  • 12V (> 500 mA) DC wall adapter
  • Sharp GP2Y0A21YK0F IR distance sensor with JST cable
  • Standard 5V servo motor
  • NEMA-17 bipolar stepper motor
  • Hot glue or tape
  • Circular “clock face” (This can be a blank CD, or just paper.)
  • Binder clip
  • Popsicle stick
    • CODE AND DIGITAL CONTENT FOR THIS CHAPTER
    • Code downloads, videos, and other digital content for this chapter can be found at:
    • exploringarduino.com/content2/ch5
    • Code for this chapter can also be obtained from the Downloads tab on this book's Wiley web page...