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)

Try the following

At the end of this chapter, we arrive at a point, where we must apply what we have learned so far. So, let us dive into the following exercises.

  • In the photodiode example, add a red LED to the circuit (refer to the Chapter 3, Day 1 - Building a Simple Prototype). Make the red LED glow as soon as the measured voltage exceeds 0.55 volts.
  • In the DHT11 example, add a red LED and a green LED. Modify the loop() function and add logic to make the green LED glow if the temperature is below 25 degrees centigrade. Make the red LED glow if the temperature is above 25 degrees centigrade. Do not make any of the LEDs glow if the temperature is equal to 25 degrees centigrade.
  • In the soil moisture sensor example, include a Piezo buzzer and make a continuous sound as soon as the measured value of soil moisture on pin A3 falls below 400.
...