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)

Future inspiration - Automatic room lights

Based on what we have learnt in this chapter and in Chapter 6, Day 4 - Building a Standalone Device previously, the following figure is a simple idea to automate the lights at your home:

Figure 6: Automatic room lights

As depicted in the preceding figure, the Arduino is interfaced with your room light via a Relay module in order to keep the DC circuit separate from the high voltage AC mains. Utilize what we learnt in this chapter for achieving the Relay module interfacing.

The DC part of the circuit has an HC-SR04 ultrasonic sensor and has been powered from an external battery. Use the knowledge you gathered in Chapter 6, Day 4 - Building a Standalone Device for the basic wiring and sketch for using an ultrasonic sensor with the Arduino.

Place the HC-SR04 ultrasonic sensor strategically on one side of the entrance door to a room. Let...