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

4
Using Transistors and Driving DC 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 breadboard
  • Assorted jumper wires
  • 1kΩ resistor
  • 10kΩ resistors (×2)
  • 10kΩ trim potentiometer
  • Photoresistors (×2)
  • 9V battery
  • 9V battery clip
  • L7805CV 5V voltage regulator
  • 10μF 50V electrolytic capacitors (×2)
  • 0.1μF ceramic capacitor
  • 1N4001 diode
  • PN2222 NPN bipolar junction transistor (BJT)
  • Roving robot chassis kit with wheels and DC motors
  • 9V DC motor
  • TI L293D dual H-bridge motor driver

You're now a master of observing information from the world around you. But how...