IoT Assignment 1 (Han Linn Htun)
IoT Assignment 1 (Han Linn Htun)
Table of Contents
What is Internet of Thing?.............................................................................................................3
Some IOT device and functionality................................................................................................ 3
Architecture Layers of Internet of Things......................................................................................4
Perception Layer........................................................................................................................ 5
Network Layer........................................................................................................................... 5
Middleware Layer...................................................................................................................... 5
Application Layer....................................................................................................................... 5
Business Layer............................................................................................................................5
IOT development Tools..................................................................................................................6
Arduino...................................................................................................................................... 6
Flutter........................................................................................................................................ 6
Tessel 2...................................................................................................................................... 6
Eclipse IoT.................................................................................................................................. 7
PlatformIO................................................................................................................................. 7
IOT development Hardware...................................................................................................... 7
Arduino...................................................................................................................................... 7
Raspberry Pi............................................................................................................................... 7
IoT development API..................................................................................................................... 8
Garmin Health API..................................................................................................................... 8
Google Assistant API.................................................................................................................. 8
Withings API...............................................................................................................................8
Home Assistant API....................................................................................................................8
Unofficial Tesla Model S API...................................................................................................... 9
The Impact of IOT.......................................................................................................................... 9
Negative impact.........................................................................................................................9
Positive impact...........................................................................................................................9
Standard IOT architecture (4 stages)...........................................................................................10
IOT Framework............................................................................................................................ 11
ThingSpeak...............................................................................................................................11
1
IOT VUC Han Linn Htun
Thinger.io................................................................................................................................. 12
Tools of IOT..................................................................................................................................12
Arduino.................................................................................................................................... 12
Arduino features......................................................................................................................12
Arduino Benefits...................................................................................................................... 13
PlatformIO............................................................................................................................... 14
Hardware Of IOT.......................................................................................................................... 14
Raspberry Pi............................................................................................................................. 14
Arduino.................................................................................................................................... 15
Software Development Life-Cycle................................................................................................15
IOT Architecture.......................................................................................................................... 17
Framework...............................................................................................................................17
Tools and Hardware.................................................................................................................17
Different Problem solving............................................................................................................18
IOT Architecture.......................................................................................................................... 18
Framework...............................................................................................................................18
Tools and Hardware.................................................................................................................18
Different Problem solving............................................................................................................19
Specific Forms of IoT Architecture...............................................................................................19
Bibliography................................................................................................................................. 21
2
IOT VUC Han Linn Htun
Internet of Thing
The IoT brings the power of the internet, data processing and analytics to the real world of
physical objects. For consumers, this means interacting with the global information network
without the intermediary of a keyboard and screen; many of their everyday objects and
appliances can take instructions from that network with minimal human intervention.
The basic elements of the IoT are devices that gather data. Broadly speaking, they are internet-
connected devices, so they each have an IP address. They range in complexity from
autonomous vehicles that haul products around factory floors to simple sensors that monitor
the temperature in buildings. They also include personal devices like fitness trackers that
monitor the number of steps individuals take each day. To make that data useful it needs to be
collected, processed, filtered and analyzed, each of which can be handled in a variety of ways.
Collecting the data is done by transmitting it from the devices to a gathering point. Moving the
data can be done wirelessly using a range of technologies or on wired networks. The data can
be sent over the internet to a data center or a cloud that has storage and compute power or
the transfer can be staged, with intermediary devices aggregating the data before sending it
along.
(Fruhlinger, 2020)
Heat detectors
Smoke detectors
3
IOT VUC Han Linn Htun
Heat Detector
Heat detector can either work on a fixed temperature basis, where it will trigger an alarm if the
temperature exceeds a pre-set value or they can work on the rate of change in temperature.
Commonly Heat detectors work in a similar way to an electrical fuse, the detectors contain a
eutectic alloy which is heat sensitive when a certain temperature is reached the alloy turns
from a solid to a liquid which in turn triggers the alarm.
Smoke detector
In the Light obscuring smoke detector, smoke interferes with a light beam between a light
source and photocell. The photocell measures the amount of light it receives. The variation in
photocell output, is being used to initiate an alarm. This type of detection can be used to
protect large areas with the light source and photocell positioned some distance apart. (What is
a Fire Alarm System? (Fire Detection System) | RealPars, 2020)
Perception Layer
Network Layer
Middleware Layer
4
IOT VUC Han Linn Htun
Application Layer
Business Layer
Perception Layer
This is IoT architecture's first layer. Numerous sensors and actuators are used in the perception
layer to collect useful information such as temperature, moisture content, detection of
intruders, sounds, etc. The main function of this layer is to obtain information from the
environment and to transfer information to another layer in order to be able to perform certain
actions on the basis of that information.
Network Layer
It is the binding layer between vision and middleware, as the name implies. Using networking
technologies such as 3G, 4G, UTMS, Wi-Fi, infrared, etc. it gets data from the awareness layer
and transfers data to the middleware layer. This is often referred to as the communication layer
since the communication between vision and the middleware layer is responsible for it. All the
data transmission carried out safely keeping the details collected confidential.
Middleware Layer
Middleware Layer has advanced features such as storage, computation, processing capabilities
for action taking. It stores all data sets and gives suitable data to that device based on the
device address and name. It can also take decisions based on data-set measurements obtained
from sensors.
Application Layer
The application layer manages all application process based on information obtained from
middleware layer. This application involves sending emails, activating alarm, security system,
turn on or off a device, smartwatch, smart agriculture, etc.
Business Layer
The success of any device does not depend only on technologies used in it but also how it is
being delivered to its consumers. Business layer does these tasks for the device. It involves
making flowcharts, graphs, analysis of results, and how device can be improved, etc.
(5 Layer Architecture of Internet of Things - GeeksforGeeks, 2020)
5
IOT VUC Han Linn Htun
Arduino
Flutter
This programmable processor core is designed for electronic projects of students and
engineers. This Arduino-based platform incorporates a wireless transmitter that displays up to
more than a half-mile. Moreover, don’t need a router, as flutter boards can communicate with
one another rapidly.
It comprises 256-bit AES encryption and it’s easy to use. Some of the features of Flutter
incorporate:
Tessel 2
This is a hardware provider that can be used to build basic IoT solutions and prototypes. Tessel
2 lends a helping hand through its numerous sensors and modules. This is a board which can
hold up to a dozen modules including the RFID, camera, GPS and the accelerometer.
All those Java developers who are proficient with Node.JS can use this device as Tessel can be
programmed using Node.JS. This way, Tessel can be used to churn out a host of server and
hardware firmware IoT solutions.
It comes with two processors, the Tessel hardware makes use of a 580MHz Mediatek MT7620n
and 48MHz Atmel SAMD21 coprocessor. While one can be used to run firmware applications at
a rapid speed, the other finds its use in exercising better input/output control and the efficient
management of power.
6
IOT VUC Han Linn Htun
Eclipse IoT
If IoT developer are ordained to build IoT devices, Cloud platforms and Gateways, then Eclipse
IoT can be top bet. Recognized as a collaboration of various companies and individuals who are
striving towards the development and establishment of IoT open technologies. Allowing to
develop, promote and adopt open source IoT technologies, Eclipse IoT is an instrument that can
help to gain technical expertise. Simply look into the vast assembly of services and projects
delivered by the Eclipse team and all covered.
PlatformIO
Next in the list of top IoT development tools and platforms is PlatformIO which is a cross-
platform IoT development environment. This platform comes with a build system, supported by
a library manager and IDE. The best part of PlatformIO is that it is compatible with more than
200 boards. Coming with a wonderful debugging integration, PlatformIO is conspicuous of a
serial port monitor.
Arduino
Arduino will be one of the first IoT hardware to come in mind when thinking about building a
simple connected device. Arduino microcontrollers are open-source hardware which means
that basically anyone can build it. There’s a wide range of Arduino versions including the most
popular Arduino Uno, Arduino YUN with enabled Wi-Fi connectivity and Arduino MKR family
that offers multiple wireless connectivity options such as Wi-Fi, Bluetooth, LoRa, SigFox and
Narrowband IoT.
Apart from hardware, Arduino offers IDE (integrated development environment) and recently
released Pro IDE for easier and faster coding. The platform has a well-established community,
online software tools, various development kits, Arduino IoT Cloud and other resources for
building connected devices.
Raspberry Pi
Raspberry Pi are originally small fully-fledged computers with a range of connectivity options, a
processor and up to 8GB of memory storage. It’s much more powerful and speedy than other
IoT boards and can handle complex functionality including data-heavy audio and video
streaming.
Just like Arduino, Raspberry Pi has its own community, accessory set, set-up and
troubleshooting guides and multiple resources for developers. However, Raspberry Pi is closed-
7
IOT VUC Han Linn Htun
source hardware, so to build a Pi-based application, developer will need to use the boards,
accessories and kits offered by the producer. (Top 10 Popular IoT Development Tools, 2020)
Garmin Health APITrack this API enables developers to leverage health and activity data
collected from Garmin wearables. There are methods available to collect data about steps,
sleep, calories, heart rate, stress, intensity minutes, body composition and more. Thirty types of
activity are monitored including running, cycling, paddle boarding, swimming and more.
Google Assistant can be embedded into devices to enable voice control, hotword detection,
natural language understanding, and other intelligence services. The Google Assistant APITrack
this API provides a way to manage and converse with devices. Google Assistant enables voice
control over phone applications, speakers, smart displays, automobiles, watches, laptops, TV,
and other Google Home devices (including Nest). Users can do Google searches about weather,
sports, traffic, news, flights, add reminders, manage tasks, control smart home devices, and
much more with this API and SDKs.
Withings API
Home Assistant is an open-source home automation platform that tracks and controls devices
at home. The Home Assistant REST API Track this API provides access to data methods for the
Home Assistant control service. It allows to return the current configuration, return basic
information about the Home Assistant instance, return all data needed to bootstrap, return an
8
IOT VUC Han Linn Htun
array of event objects and more. The Home Assistant Server Events Streaming API allows users
to consume server-sent events. And a Home Assistant WebSocket service is also available.
Tesla Model S JSON APITrack this API is not an official Tesla API, however it is based on the Tesla
Model S and it provides documentation used by the iOS and Android apps. This API can help
developers in the auto industry to go beyond controlling just one car since logged in users can
add several vehicles at a time. Unofficial Tesla Model S API works like a remote control from a
mobile phone, with vehicle controls to charge the car, flash the lights, honk the horn and get
status reports about battery charge and open doors. (Impact of 'Internet of Things (IoT)' on our lives
~ Group Discussion Ideas, 2020)
Review standard architecture, frameworks, tools, hardware and APIs available for use in IoT
development. P2 achieved.
Negative impact
Security is the major concern. An enormous amount of data now needs to be encrypted and
protected from the hackers. Also, a time will come when the privacy of people will be highly
challenged.
In the present world scenario, require Arduino IoT kit for running any of the sensor-based
application which is quite expensive in the market. This means the concept of IoT doesn’t
support compatibility in terms of USB connectivity.
IoT is encouraging the over-reliance of technology, our present generation has grown up with
the presence of a worldwide network of the internet where everything is so easily attainable
overly dependent on internet and for every decision, People now trust the technology more
than our cognitive thinking.
In this weird world where humans have found a way of measuring the stress level much
before their brains tell them, counting the number of people in the room, turning on to a
particular channel on TV, knowing the areas where the plant needs the water accurately can
now be done using the Internet of Things. This has been widely spreading leaving its imprints
on millions of people. A new era has now entered our lives where a man is a slave of technology
which is ironically developed the for making human’s work simpler.
9
IOT VUC Han Linn Htun
Positive impact
Today, People can have things like chairs, beds, cars and music system connected directly to the
internet. This can be done simply by using sensor connected devices to our physical
environment.
This will soon be high on demand because of its irresistible features such as ultra-low-cost with
absolutely zero maintenance cost. Apart from this, it is different from the other emerging
technologies having Artificial Intelligence and Machine learning, we need not have the required
computer science skills. People don’t have to be an expert to use it.
Talking in terms of healthcare, IOT has now reached all verticals one can imagine by developing
wearable sensor gadget for monitoring fitness, diet, medication management etc.It has made
the lives of physically disabled and senior citizens simpler since they have to live independently.
IoT can be widely used for monitoring the vibrations in the building, monuments, bridges, and
dams during the natural calamity such as earthquakes or tsunamis. This could be huge help to
control any natural disaster beforehand
With one tab on the IoT device, people can open our house gates, control the intensity of the
light and set them dim, unlock our cars, slide the curtains and the list is endless. This makes up
upgrade our standards of living. This could be useful for protecting our houses and lockers from
thievery. (Impact of 'Internet of Things (IoT)' on our lives ~ Group Discussion Ideas, 2020)
10
IOT VUC Han Linn Htun
The vital importance of this stage is to process the enormous amount of information collected
on the previous stage and squeeze it to the optimal size for further analysis. Besides, the
necessary conversion in terms of timing and structure happens here. In short, Stage 2 makes
data both digitalized and aggregated.
Stage 3. The appearance of edge IT systems
During this moment among the stages of IoT architecture, the prepared data is transferred to
the IT world. In particular, edge IT systems perform enhanced analytics and pre-processing
here. For example, it refers to machine learning and visualization technologies. At the same
time, some additional processing may happen here, prior to the stage of entering the data
center.
Likewise, Stage 3 is closely linked to the previous phases in the building of an architecture of
IoT. Because of this, the location of edge IT systems is close to the one where sensors and
actuators are situated, creating a wiring closet. At the same time, the residing in remote offices
is also possible.
Stage 4. Analysis, management, and storage of data
The main processes on the last stage of IoT architecture happen in data center or cloud.
Precisely, it enables in-depth processing, along with a follow-up revision for feedback. Here, the
skills of both IT and OT (operational technology) professionals are needed. In other words, the
phase already includes the analytical skills of the highest rank, both in digital and human
worlds. Therefore, the data from other sources may be included here to ensure an in-depth
analysis.
After meeting all the quality standards and requirements, the information is brought back to
the physical world — but in a processed and precisely analyzed appearance already. (4 Stages of
IoT architecture explained in simple words, 2020)
IOT Framework
ThingSpeak
11
IOT VUC Han Linn Htun
Thinger.io
Tools of IOT
Arduino
12
IOT VUC Han Linn Htun
software of Arduino comes in the form of the Arduino programming language and Integrated
Development Environment (IDE).
Arduino features
Arduino Benefits
Arduino IDE allows users to share their sketches to other programmers. Each sketch comes with
their own online link for users to share with their colleagues or friends. This feature is only
available in the cloud version.
Integrated Libraries
The software has hundreds of integrated libraries. These libraries were made and openly shared
by the Arduino community. Users can take advantage of this for their own projects without
involving third-party installations. (Arduino IDE Review: Pricing, Pros, Cons & Features |
CompareCamp.com, 2020)
14
IOT VUC Han Linn Htun
PlatformIO
Next in the list of top IoT development tools and platforms is PlatformIO which is a cross-
platform IoT development environment. This platform comes with a build system, supported by
a library manager and IDE. The best part of PlatformIO is that it is compatible with more than
200 boards. Coming with a wonderful debugging integration, PlatformIO is conspicuous of a
serial port monitor.
Key features
IDE
Build system
Unified debugger and library manager
Support for more than 400+ development boards, 20+ development platforms, and
more than 10+ frameworks
Rapid professional development with built-in C/C++ Intelligent Code Completion, Smart
Code Linter, and advanced Serial Port monitor
PlatformIO can be integrated with the popular IDEs and continuous integration systems
to speed up time to delivering IoT applications
PlatformIO might just be the fastest IoT development platform, perhaps with the exception of
Arduino. It allows developers to write their code and not care how the underlying libraries are
written or how the IDE compiles the source code. Moreover, there is no need to set up a tool
chain because PlatformIO downloads everything user need the first time use it.
Another big plus is PlatformIO's solid reference material; there is lots of good documentation
throughout GitHub and the PlatformIO site. (IoT Development Platform: PlatformIO, 2020)
Hardware of IOT
Raspberry Pi
Raspberry Pi are originally small fully-fledged computers with a range of connectivity options, a
processor and up to 8GB of memory storage. It’s much more powerful and speedy than other
IoT boards and can handle complex functionality including data-heavy audio and video
streaming.
Just like Arduino, Raspberry Pi has its own community, accessory set, set-up and
troubleshooting guides and multiple resources for developers. However, Raspberry Pi is closed-
15
IOT VUC Han Linn Htun
source hardware, so to build a Pi-based application, developer will need to use the boards,
accessories and kits offered by the producer.
16
IOT VUC Han Linn Htun
Arduino
Arduino will be one of the first IoT hardware to come in mind when thinking about building a
simple connected device. Arduino microcontrollers are open-source hardware which means
that basically anyone can build it. There’s a wide range of Arduino versions including the most
popular Arduino Uno, Arduino YUN with enabled Wi-Fi connectivity and Arduino MKR family
that offers multiple wireless connectivity options such as Wi-Fi, Bluetooth, LoRa, SigFox and
Narrowband IoT.
Apart from hardware, Arduino offers IDE (integrated development environment) and recently
released Pro IDE for easier and faster coding. The platform has a well-established community,
online software tools, various development kits, Arduino IoT Cloud and other resources for
building connected devices.
17
IOT VUC Han Linn Htun
18
IOT VUC Han Linn Htun
Developers must follow the coding guidelines defined by their organization and programming
tools like compilers, interpreters, debuggers, etc. are used to generate the code. Different high
level programming languages such as C, C++, Pascal, Java and PHP are used for coding. The
programming language is chosen with respect to the type of software being developed.
Stage 5: Testing the Product
This stage is usually a subset of all the stages as in the modern SDLC models, the testing
activities are mostly involved in all the stages of SDLC. However, this stage refers to the testing
only stage of the product where product defects are reported, tracked, fixed and retested, until
the product reaches the quality standards defined in the SRS.
Stage 6: Deployment in the Market and Maintenance
Once the product is tested and ready to be deployed it is released formally in the appropriate
market. Sometimes product deployment happens in stages as per the business strategy of that
organization. The product may first be released in a limited segment and tested in the real
business environment (UAT- User acceptance testing).
Then based on the feedback, the product may be released as it is or with suggested
enhancements in the targeting market segment. After the product is released in the market, its
maintenance is done for the existing customer base. (SDLC - Overview - Tutorialspoint, 2020)
Evaluate the impact of common IoT architecture, frameworks, tools, hardware and APIs in the software
development life cycle. M1 achieved.
Review specific forms of IoT architecture, frameworks, tools, hardware and APIs for different problem-
solving requirements. M2 achieved.
IOT Architecture
Framework
Arduino
19
IOT VUC Han Linn Htun
Arduino Uno
Breadboard
Ultrasonic Sensor
Buzzer 2x
LED
IOT Architecture
Sensor Devices Framework User
Framework
Arduino
Arduino Uno
Breadboard
Temperature sensor
Buzzer 2x
LED
20
IOT VUC Han Linn Htun
2. Weather Station
Most important useful part of the temperature is weather measurement because it can
measure weather in various conditions such as, hot, cold, rain, Storm. Most importantly this
sensor can detect storm or sea surface temperature if it is coming. With require tool and
hardware, meteorologist can monitor on their devices through internet at any time such as
temperature unit, graph etc.
21
IOT VUC Han Linn Htun
Many microcontrollers are available, such as Node MCU, Arduino, Raspberry Pi, and more. It is
cheaper and built into Wi-Fi as well, but there is less power supply. Where the Arduino
microcontroller is a cheaper option but not Wi-Fi designed. Arduino outputs 5 voltage. When
using Raspberry Pi, it is very costly to use this microcontroller as a small project so that it is so
expansive. Together with the wireless Wi-Fi module, the Arduino UNO microcontroller is
selected to communicate wirelessly from a distance a cell phone. The ultrasonic sensor
calculates the distance of the object. Then the object is very near the buzzer make the sound to
avoid the object. And the phone received Mail or sound to the nearest family member.
Evaluate specific forms of IoT architecture and justify their use when designing software
applications. D1 achieved.
22
IOT VUC Han Linn Htun
Bibliography
Fruhlinger, J., 2020. What Is Iot? The Internet Of Things Explained. [online] Network World. Available at:
<https://www.networkworld.com/article/3207535/what-is-iot-the-internet-of-things-explained.html>
[Accessed 15 December 2020].
Stevenson, J., 2020. What Are Car Proximity Sensors And How Do They Work?. [online] 360.here.com.
Available at: <https://360.here.com/2016/05/04/what-are-car-proximity-sensors-and-how-do-they-work/
#:~:text=Car%20proximity%20sensors%20do%20very,gets%20close%20to%20an
%20object.&text=Using%20echo%2Dtimes%20from%20sound,the%20closer%20the%20vehicle
%20gets.> [Accessed 23 December 2020].
PLC Programming Courses for Beginners | RealPars. 2020. What Is A Fire Alarm System? (Fire
Detection System) | Realpars. [online] Available at: <https://realpars.com/fire-alarm-system/> [Accessed
23 December 2020].
GeeksforGeeks. 2020. 5 Layer Architecture Of Internet Of Things - Geeksforgeeks. [online] Available at:
<https://www.geeksforgeeks.org/5-layer-architecture-of-internet-of-things/> [Accessed 23 December
2020].
Eduonix Blog. 2020. Top 10 Popular Iot Development Tools. [online] Available at:
<https://blog.eduonix.com/internet-of-things/top-10-popular-iot-development-tools/> [Accessed 23
December 2020].
Group Discussion Ideas. 2020. Impact Of 'Internet Of Things (Iot)' On Our Lives ~ Group Discussion
Ideas. [online] Available at: <https://www.groupdiscussionideas.com/impact-of-internet-of-things-iot-on-
our-lives/> [Accessed 23 December 2020].
Group Discussion Ideas. 2020. Impact Of 'Internet Of Things (Iot)' On Our Lives ~ Group Discussion
Ideas. [online] Available at: <https://www.groupdiscussionideas.com/impact-of-internet-of-things-iot-on-
our-lives/> [Accessed 23 December 2020].
Medium. 2020. 4 Stages Of Iot Architecture Explained In Simple Words. [online] Available at:
<https://medium.com/datadriveninvestor/4-stages-of-iot-architecture-explained-in-simple-words-
b2ea8b4f777f#:~:text=In%20essence%2C%20IoT%20architecture%20is,a%20sophisticated%20and
%20unified%20network.> [Accessed 23 December 2020].
Byteant.com. 2020. 5 Best Open Source Iot Frameworks | Byteant. [online] Available at:
<https://www.byteant.com/blog/5-best-open-source-iot-frameworks/> [Accessed 23 December 2020].
CompareCamp.com. 2020. Arduino IDE Review: Pricing, Pros, Cons & Features | Comparecamp.Com.
[online] Available at: <https://comparecamp.com/arduino-ide-review-pricing-pros-cons-features/>
[Accessed 23 December 2020].
23