Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Exploring Arduino

You're reading from   Exploring Arduino Tools and Techniques for Engineering Wizardry

Arrow left icon
Product type Paperback
Published in Dec 2019
Publisher Wiley
ISBN-13 9781119405375
Length 512 pages
Edition 2nd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Jeremy Blum Jeremy Blum
Author Profile Icon Jeremy Blum
Jeremy Blum
Arrow right icon
View More author details
Toc

2
Digital Inputs, Outputs, and Pulse-Width Modulation

What You'll Need for This Chapter:

  1. Arduino Uno or Adafruit METRO 328
  2. USB cable (Type A to B for Uno, Type A to Micro-B for METRO)
  3. Half-size or full-size breadboard
  4. Assorted jumper wires
  5. Pushbutton
  6. 220Ω resistors (×3)
  7. 10kΩ resistor
  8. 5mm red LED
  9. 5mm common-anode RGB LED

Blinking an LED is great, as you learned in the preceding chapter, but what makes the Arduino microcontroller platform so useful is that the system is equipped with both inputs and outputs. By combining both, your opportunities are nearly limitless. For example, you can use a magnetic reed switch to play music when your door opens, create an electronic lockbox...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image