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)

Part 1 - Simulation of sound activated light bulb controller

In this section, we will simulate the usage of a relay device with an LED. Once we understand the basics of interfacing a relay device, we will move on to using an actual AC bulb with a relay.

For building the simulated prototype the following parts will be required:

  • Arduino Uno R3
  • USB connector
  • Two pieces 1.5V AA batteries + holder case
  • One sound detector sensor module
  • One 5V 10A AC power relay
  • One red LED
  • One 100 Ohms resistor
  • Jumper wires as required
Purchase the relay based on the AC mains rating in your country. For example, in some countries the voltage rating is 220V, whereas in other countries it may be 110V.

Before moving on, since we will also use a sound detector module with our prototype, let us quickly take a look at the basic pin out of a typical sound detector device:

Figure 3: Sound detector module...