Book Image

Learn Arduino Prototyping in 10 days

By : Kallol Bosu Roy Choudhuri
Book Image

Learn Arduino Prototyping in 10 days

By: Kallol Bosu Roy Choudhuri

Overview of this book

This book is a quick, 10-day crash course that will help you become well acquainted with the Arduino platform. The primary focus is to empower you to use the Arduino platform by applying basic fundamental principles. You will be able to apply these principles to build almost any type of physical device. The projects you will work through in this book are self-contained micro-controller projects, interfacing with single peripheral devices (such as sensors), building compound devices (multiple devices in a single setup), prototyping standalone devices (powered from independent power sources), working with actuators (such as DC motors), interfacing with an AC-powered device, wireless devices (with Infrared, Radio Frequency and GSM techniques), and finally implementing the Internet of Things (using the ESP8266 series Wi-Fi chip with an IoT cloud platform). The first half of the book focuses on fundamental techniques and building basic types of device, and the final few chapters will show you how to prototype wireless devices. By the end of this book, you will have become acquainted with the fundamental principles in a pragmatic and scientific manner. You will also be confident enough to take up new device prototyping challenges.
Table of Contents (13 chapters)

Rationale for using a resistor

Resistors are commonly used to reduce the amount of current flowing from the source to the destination. To draw up an analogy, it is like squeezing a water supply tube at a particular point thus reducing the flow of water. Similarly, by placing a resistor across a piece of wire, the flow of current gets reduced.

Use a resistor to reduce the flow of the current in a circuit, in order to protect a delicate electronic component that cannot tolerate high currents.

The rule of thumb is to apply a resistor of an appropriate value, in series just before a delicate electronic component that cannot withstand too much current, for example an LED. We will look at an example of this fundamental concept in the following hands-on activity for blinking the three external LEDs in a cyclic fashion.

The two ends of a resistor do not have any polarity. A resistor can...