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)

Things you will learn in this book

After completing this book, you will have learnt the following types of projects, devices, and fundamentals.

The following are the types of projects:

  • 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 AC powered devices (a light bulb)
  • Using transmitters, receivers and transceivers
  • Short range wireless communications (using Bluetooth and radio frequency)
  • Long range wireless communications (using GSM modules)

The following are sensors/device examples:

  • External LEDs
  • Photodiodes
  • Photo resistors (LDRs)
  • DHT11 temperature and humidity sensor
  • Soil moisture sensor
  • MQ2 smoke detector
  • Piezo Buzzer
  • SD card module
  • 16x2 LCD
  • HC-SR05 ultrasonic sensor
  • DC motor
  • Push button
  • AC-DC relay
  • Sound detector
  • TSOP1738/TSOP1838 IR receiver
  • SM0038 IR receiver
  • IR transmitter LED
  • NRF24L01 RF module
  • HC-04 Bluetooth module
  • GSM SIM800 module
  • ESP8266 Wi-Fi module

The following is the list of fundamentals/concepts:

  • Arduino C programs/sketches
  • Measuring voltage via analog pins from resistors, diodes, and transistors
  • Using serial window for viewing program output and debugging
  • Ohm's law calculations
  • Bread boarding
  • Voltage based logical HIGH/LOW
  • Using homogeneous voltage devices that is, 5V devices with Arduino Uno R3
  • Using device datasheets
  • Working with Arduino libraries
  • Digital input/output
  • Analog input/output
  • Using interrupts
  • Reverse current in motors
  • Voltage division technique
  • Using external power supply
  • Using multiple power sources
  • Concept of pull up resistors
  • Concept of pull down resistors
  • Concept of Pulse Width Modulation (PWM) for motor speed control
  • Using multiple power sources in a single setup
  • Common grounding
  • Keeping DC and AC powered circuits separate
  • Working with Infrared (IR) signals
  • Prototyping Radio Frequency (RF) devices
  • Working with a Bluetooth device
  • Wi-Fi module
  • Basic AT commands
  • GSM module
  • Internet of Things
  • IoT edge device prototyping
  • IoT Cloud