Chapter Ii. Introduction To Iot: Kevin Ashton, Inventor of The Internet of Things
Chapter Ii. Introduction To Iot: Kevin Ashton, Inventor of The Internet of Things
Chapter Ii. Introduction To Iot: Kevin Ashton, Inventor of The Internet of Things
INTRODUCTION TO IoT
That doesn’t mean your smart speaker will discuss the key points of last night’s big
game with you. But your connected refrigerator may send you an alert on your
smartphone that you’re low on eggs and milk because it knows you’re near a
supermarket.
IoT Applications
Top 10 IoT application areas
The Internet of Things (IoT) has quickly become a huge part of how people live,
communicate and do business. All around the world, web-enabled devices are turning
our world into a more switched-on place to live.
1. Security
Ask any security expert about the biggest headaches of the 21st century and
they’ll likely bring up IoT devices. The reason? In cybersecurity terms, IoT
devices greatly expand the “attack surface,” or the amount of potential areas for
cybercriminals to penetrate a secure network.
In 2017, a casino’s data was compromised by hackers who accessed its network
through an IoT thermostat in one of its fish tanks. Far worse, parents have
reported strangers accessing their IoT baby monitors through the internet and
using them to talk to their children.
2. Regulation
Another common characteristic of technological innovations is that government
regulation often takes a long time to catch up with the current state of technology.
With the rapid evolution that’s happening every day in IoT, the government is
taking its time in catching up and businesses are often left without crucial
information they need to make decisions.
The lack of strong IoT regulations is a big part of why the IoT remains a severe
security risk, and the problem is likely to get worse as the potential attack surface
expands to include ever more crucial devices. When medical devices, cars and
children’s toys are all connected to the Internet, it’s not hard to imagine many
potential disaster scenarios unfolding in the absence of sufficient regulation.
Quality control in IoT can be particularly tricky from a regulatory perspective. With
huge numbers of IoT devices now being imported from countries like China that
have different standards of quality and security, many experts are calling for
strong and universal security standards for IoT technology.
3. Compatibility
New waves of technology often feature a large stable of competitors jockeying for
market share, and IoT is certainly no exception. This can be good news, since
competition creates increased choices for consumers, but it can also create
frustrating compatibility issues.
Home mesh networks are one area where compatibility trouble is looming.
Bluetooth has long been the compatibility standard for IoT devices. In fact, it was
named after an ancient king, Harald Bluetooth, known for unifying warring tribes.
But when it comes to home automation using mesh networking, several
competitors have sprung up to challenge Bluetooth’s mesh network offerings,
including protocols such as Zigbee and Z-Wave. It could be years before the
market settles enough to crown a single universal standard for home IoT.
Continued compatibility for IoT devices also depends upon users keeping their
devices updated and patched, which, as we’ve just discussed, can be pretty
difficult. When IoT devices that have to talk to each other are running different
software versions, all kinds of performance issues and security vulnerabilities can
result. That’s a big part of why it’s so important that IoT consumers keep their
devices patched and up to date.
4. Bandwidth
Connectivity is a bigger challenge to the IoT than you might expect. As the size
of the IoT market grows exponentially, some experts are concerned that
bandwidth-intensive IoT applications such as video streaming will soon struggle
for space on the IoT’s current server-client model.
Thus, it’s important for IoT companies to carefully examine their IoT connectivity
providers and to choose one with a strong record of service and innovation.
Features like intelligent switching between mobile network operators (MNOs) are
particularly useful for creating a more reliable and user-friendly IoT product for
your customers.
5. Customer expectations
It’s often said that it’s better to under-promise and over-deliver. Many IoT
manufacturers have learned this the hard way, with IoT start-ups failing often and
leaving bewildered customers in their wake. When customer expectations and
product reality don’t match, the results can be system failures, orphaned
technologies and lost productivity.
With such strong competition in the IoT market, customers whose expectations
aren’t met won’t hesitate to go elsewhere. Businesses looking to enter this
competitive and innovative sector should be prepared for a market that never sits
still and customers who always want a smoother and more advanced experience.
What is Arduino?
Arduino is an open-source
electronics platform based on easy-
to-use hardware and software.
Arduino boards are able to read
inputs - light on a sensor, a finger on
a button, or a Twitter message - and
turn it into an output - activating a
motor, turning on an LED, publishing
something online. You can tell your
board what to do by sending a set of
instructions to the microcontroller on
the board. To do so you use the
Arduino programming language
(based on Wiring), and the Arduino Software (IDE), based on Processing.
Over the years Arduino has been the brain of thousands of projects, from everyday
objects to complex scientific instruments. A worldwide community of makers - students,
hobbyists, artists, programmers, and professionals - has gathered around this open-
source platform, their contributions have added up to an incredible amount of accessible
knowledge that can be of great help to novices and experts alike.
Arduino was born at the Ivrea Interaction Design Institute as an easy tool for fast
prototyping, aimed at students without a background in electronics and programming.
As soon as it reached a wider community, the Arduino board started changing to adapt
to new needs and challenges, differentiating its offer from simple 8-bit boards to
products for IoT applications, wearable, 3D printing, and embedded environments. All
Arduino boards are completely open-source, empowering users to build them
independently and eventually adapt them to their particular needs. The software, too, is
open-source, and it is growing through the contributions of users worldwide.
Why Arduino?
Thanks to its simple and accessible user experience, Arduino has been used in
thousands of different projects and applications. The Arduino software is easy-to-use for
beginners, yet flexible enough for advanced users. It runs on Mac, Windows, and Linux.
Teachers and students use it to build low cost scientific instruments, to prove chemistry
and physics principles, or to get started with programming and robotics. Designers and
architects build interactive prototypes, musicians and artists use it for installations and
to experiment with new musical instruments. Makers, of course, use it to build many of
the projects exhibited at the Maker Faire, for example. Arduino is a key tool to learn new
things. Anyone - children, hobbyists, artists, programmers - can start tinkering just
following the step by step instructions of a kit, or sharing ideas online with other
members of the Arduino community.
There are many other microcontrollers and microcontroller platforms available for
physical computing. Parallax Basic Stamp, Netmedia's BX-24, Phidgets, MIT's
Handyboard, and many others offer similar functionality. All of these tools take the
messy details of microcontroller programming and wrap it up in an easy-to-use
package. Arduino also simplifies the process of working with microcontrollers, but it
offers some advantage for teachers, students, and interested amateurs over other
systems:
Cross-platform - The Arduino Software (IDE) runs on Windows, Macintosh OSX, and
Linux operating systems. Most microcontroller systems are limited to Windows.
Open source and extensible hardware - The plans of the Arduino boards are
published under a Creative Commons license, so experienced circuit designers can
make their own version of the module, extending it and improving it. Even relatively
inexperienced users can build the breadboard version of the module in order to
understand how it works and save money.
Types of Arduino
Features of Different Types of Arduino Boards
Arduino ESP8266
Brief About NodeMCU ESP8266
The NodeMCU
ESP8266 development
board comes with the
ESP-12E module
containing ESP8266
chip having Tensilica
Xtensa 32-bit LX106
RISC microprocessor.
This microprocessor
supports RTOS and
operates at 80MHz to
160 MHz adjustable clock frequency. NodeMCU has 128 KB RAM and 4MB of Flash
memory to store data and programs. Its high processing power with in-built Wi-Fi /
Bluetooth and Deep Sleep Operating features make it ideal for IoT projects.
NodeMCU can be powered using Micro USB jack and VIN pin (External Supply Pin). It
supports UART, SPI, and I2C interface.
Applications of NodeMCU
Prototyping of IoT devices
Low power battery operated applications
Network projects
Projects requiring multiple I/O interfaces with Wi-Fi and Bluetooth functionalities
Arduino IDE
Sample 1
void setup() {
Serial.begin(9600);
Serial.print("Hello World");
}
void loop() {
}
Sample 2
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.print("Hello World");
}
Light up 1 LED
1-led
1-200 ohms resistor
void loop() {
// put your main code here, to run
repeatedly:
tone(buzzer, 1000);
delay(1000);
noTone(buzzer);
delay(200);
}
// Reads the echoPin, returns the sound wave travel time in microseconds
duration = pulseIn(echoPin, HIGH);