Skip to main content Accessibility help
×
Hostname: page-component-8448b6f56d-sxzjt Total loading time: 0 Render date: 2024-04-24T08:07:27.639Z Has data issue: false hasContentIssue false

16 - Beginning IoT Hardware Projects

Published online by Cambridge University Press:  09 January 2021

Sudip Misra
Affiliation:
Indian Institute of Technology, Kharagpur
Anandarup Mukherjee
Affiliation:
Indian Institute of Technology, Kharagpur
Arijit Roy
Affiliation:
Indian Institute of Technology, Kharagpur
Get access

Summary

Learning Outcomes

After reading this chapter, the reader will be able to:

  • Understand the common hardware platforms, sensors, and actuators used in IoT

  • Assess the importance of each sensor or hardware in various applications

  • Understand the code structure required to operate these hardware and sensors /actuators connected to them

  • Relate the IoT hardware and sensors according to the requirements of their applications

Introduction to Arduino Boards

Arduino is an open-source platform which comprises both hardware and software modules. The hardware are typically processor boards with analog and digital pins for various functions. Arduino IDE (integrated development environment) is the software that is used to communicate to the hardware and program them to perform specific functions. We cover the process right from the installation of Arduino IDE to loading codes to the processor boards.

Arduino vs. Raspberry Pi: Choosing a board

An Arduino board has a mounted micro controller chip to perform simple tasks. The board can execute single tasks at a time, in a repetitive manner. The main focus area of Arduino is integration of hardware to the board rather than complex computation or multitasking. For example, the Arduino board can sense the ambient temperature of an area and display it on an output console. Raspberry Pi is a more complex system, much like a minicomputer. It has an advanced processor, uses Linux-based operating systems, and is able to perform multiple tasks with complex computation. Raspberry Pi gives the option forWi-Fi connectivity and access point formation, something which would require external components to be connected on to a regular Arduino board. The choice of selecting Raspberry Pi or Arduino depends solely on one's application. If users want to perform rudimentary, basic level tasks then Arduino is the best option; it avoids any kind of complexities. If the intended application needs multiple tasks to be done with complex computations, Raspberry Pi is a much more suitable choice as it has pretty much everything integrated on-board. Once the users decide which board to choose, they can narrow down the options based on their requirement and the available features on the board such as operating voltage, RAM size, clock speed, storage, and additional wireless connectivity modules.

Arduino installation and setup

Installer files are available for different variants of the operating system on the official website of Arduino. Download the installer (Figure 16.1) and execute the file.

Type
Chapter
Information
Introduction to IoT , pp. 321 - 354
Publisher: Cambridge University Press
Print publication year: 2021

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×