Exploring Arduino
eBook - ePub

Exploring Arduino

Tools and Techniques for Engineering Wizardry

Jeremy Blum

Condividi libro
  1. English
  2. ePUB (disponibile sull'app)
  3. Disponibile su iOS e Android
eBook - ePub

Exploring Arduino

Tools and Techniques for Engineering Wizardry

Jeremy Blum

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

The bestselling beginner Arduino guide, updated with new projects!

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. You'll gain the skills you need to develop your own microcontroller projects!

This new 2nd edition has been updated to cover the rapidly-expanding Arduino ecosystem, and includes new full-color graphics for easier reference. 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. If you're ready to start creating, this book is your ultimate guide!

  • Get up to date on the evolving Arduino hardware, software, and capabilities
  • Build projects that interface with other devices—wirelessly!
  • Learn the basics of electrical engineering and programming
  • Access downloadable materials and source code for every project

Whether you're a first-timer just starting out in electronics, or a pro looking to mock-up more complex builds, Arduino is a fantastic tool for building a variety of devices. This book offers a comprehensive tour of the hardware itself, plus in-depth introduction to the various peripherals, tools, and techniques used to turn your little Arduino device into something useful, artistic, and educational. Exploring Arduino is your roadmap to adventure—start your journey today!

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Exploring Arduino è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Exploring Arduino di Jeremy Blum in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Computer Science e Hardware. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Editore
Wiley
Anno
2019
ISBN
9781119405306
Edizione
2
Categoria
Hardware

II
Interfacing with Your Environment

  • Chapter 4: Using Transistors and Driving DC Motors
  • Chapter 5: Driving Stepper and Servo Motors
  • Chapter 6: Making Sounds and Music
  • Chapter 7: USB Serial Communication
  • Chapter 8: Emulating USB Devices
  • Chapter 9: Shift Registers

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
    • CODE AND DIGITAL CONTENT FOR THIS CHAPTER
    • Code downloads, videos, and other digital content for this chapter can be found at:
    • exploringarduino.com/content2/ch4
    • Code for this chapter can also be obtained from the Downloads tab on this book's Wiley web page:
    • wiley.com/go/exploringarduino2e
You're now a master of observing information from the world around you. But how can you control that world? Blinking LEDs and automatically adjusting nightlights are a good start, but you can do so much more. Using assorted types of motors and actuators, and with the help of transistors, you can use your Arduino to generate physical action in the real world. By pairing motors with your Arduino, you can drive robots, build mechanical arms, add an additional degree of freedom to distance sensors, and much more.
In this chapter, you will learn how to control inductive loads like direct current (DC) motors, how to use transistors to switch high-current devices, and how to add integrated circuits (ICs) to your projects. At the end of this chapter, you will build a light-controlled car that you can control using only a flashlight!

NOTE

If you want to learn all about motors and transistors, you can watch a video on this topic on this chapter's content web page: exploringarduino.com/content2/ch4.

WARNING

In this chapter, you use a 9V battery so that you can run motors that require more power than the Arduino can provide. These voltages are still not high enough to pose a danger to you, but if hooked up improperly, these batteries can damage your electronics. As you make your way through the exercises in this chapter, follow the diagrams and instructions carefully. Avoid short circuits (connecting power directly to ground), and when you are sharing the ground line between power supplies, don't try to connect two separate voltage sources to each other. For example, don't try to hook both the 9V supply and the Arduino's 5V supply into the same supply row on the breadboard. Doing so could damage the 5V regulator on your Arduino, damaged the Arduino's microcontroller.

Driving DC Motors

DC motors, which you can find in numerous devices around your home, rotate continuously when a DC voltage is applied across them. These motors are commonly used as the driving motors in radio control (RC) cars, in power drills and saws, and as the motors that make the discs spin in DVD players. DC motors are great because they come in a huge array of sizes and are generally very cheap. By adjusting the voltage you apply to them, you can change their rotation speed. Using a gearbox, you can trade their speed for torque. By reversing the direction of the voltage applied to them, you can change their direction of rotation as well. This is generally done using an H-bridge, which you will learn about later in this chapter.
Brushed DC motors, such as the ones you are using for this chapter, employ stationary magnets (the stator) and a spinning coil (the rotor). Electricity is transferred to the coil using “brushes,” hence the name brushed DC motors. Unlike brushless DC motors (such as the stepper motors that you'll explore in the next chapter), brushed DC motors are cheap and offer easier speed control. However, brushed DC motors do not last as long because the brushes can wear out over time.
Some larger devices that rely on brushed motors, like corded power tools, have replaceable carbon brushes. Brushed DC motors work through an inductive force. When current passes through the spinning coil, it generates a magnetic field that is either attracted to or repelled ...

Indice dei contenuti