ASM2 IoT
ASM2 IoT
ASM2 IoT
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
Grading grid
P3 P4 P5 P6 M3 M4 M5 D2
Page | 1
Summative Feedback: Resubmission Feedback:
Page | 2
Table of Contents
I. Introduction............................................................................................................................................... 4
II. Outline a plan for an appropriate IoT application using common architecture, frameworks, tools,
hardware and APIs…………………………………………………………………………….........................................................5
1. Investigate architecture, frameworks, tools, hardware and API techniques available to develop IoT
applications (P3)....................................................................................................................................... 5
a. Architecture..................................................................................................................................... 5
b. Framwork (Ewings Framework)....................................................................................................... 6
c. Tools................................................................................................................................................. 7
d. Hardware....................................................................................................................................... 12
2. Determine a specific problem to solve using IoT(P4)........................................................................14
a. Problem definition......................................................................................................................... 14
b. Purpose of the project................................................................................................................... 14
c. Functions of the project................................................................................................................. 15
III. Develop an IOT application using any combination of hardware, software, data, platforms and services
.................................................................................................................................................................... 17
1. Employ an appropriate set of tools to develop a plan into an IoT application(P5)..........................17
2. Run end user experiments and examine feedback(P6)...................................................................21
IV. Conclusion............................................................................................................................................. 25
V. References.............................................................................................................................................. 26
Page | 3
I. Introduction
As we all know today, technology contributes a lot to people’s lives in fields such as industry,
agriculture, transportation, ... IOT or the internet of things is also contributing a lot to it. Here I am
in this assignment I will give the basics of internet of things and explore various forms of IoT
functionality. Then I’ll go over the standard architecture, frameworks, tools, hardware and APIs
available for use in IoT development. Next I will pick out the things needed to develop IoT
applications. Finally I eetermine a specific problem to solve using IoT and give a blueprint for that
project.
Page | 4
II. Outline a plan for an appropriate IoT
application using common architecture,
frameworks, tools, hardware and APIs
1. Investigate architecture, frameworks,
tools, hardware and API techniques
available to develop IoT applications (P3)
Here are the architectures, frameworks, hardware and tools to use for an IoT
project:
a. Architecture
While there are countless ways to build a complete IoT architecture from
start to finish, this architecture simplifies it into three basic building blocks:
Page | 5
remote server. It provides powerful servers and databases that
enable powerful IoT applications and integrates services such as
data storage, big data processing, filtering, analytics, 3rd party
APIs, business logic, alarms, monitoring, and user interfaces.
Figure 1 Architecture
Page | 6
Figure 2 Ewings Esp8266 Stack
c. Tools
• Arduino IDE o Arduino IDE is an open source software mainly used to
write and compile code into Arduino modules or other modules
Page | 7
o It makes compiling code so easy that even an average person with no
technical knowledge can do it.
o It has versions for operating systems such as MAC, Windows, Linux
and runs on Java platform with built-in functions and commands that
are important for debugging, editing and compiling code in the
environment. . o This environment supports both C and C++
languages.
o The Arduino IDE integrates with over 700 libraries, written and
shared by the publisher Arduino Software and members of the
Arduino community. We can utilize them for our own project without
spending any money. [ Arduino ]
Page | 8
Figure 4 Arduino Libraly
• Blynk
o Blynk is an open source software designed for IoT (Internet of Things)
applications. The application helps us to use remote hardware
control, can display sensor data, store data, transform data or do
many other things.
o Currently, Blynk supports 2 platforms, Android and iOS. You can
search on Blynk on AppStore and GooglePlay.
Page | 9
Figure 5 Blynk app
Page | 10
o For example, when we execute the command to turn off the lights,
the blynk server immediately changes the state of the lights to the off
state [ IFTTT ]
• Google assistant
Virtual assistant can be understood as a complex programmed software.
Accordingly, it is possible to proceed with the execution of various
control commands. As well as carry out the implementation of user
requests. Such as conducting information search, following orders, etc.
We only with the command "Oke Google" that we can control all the
devices in the house. Users no longer have to physically adjust devices
with switches like before. Which can completely control any device with
voice. [ Google asisstant ]
Page | 11
Figure 8 Google assistant app
d. Hardware
• The ESP8266 NodeMCU Lua CP2102 Wifi RF Transceiver Kit is a
development kit based on the ESP8266 Wifi SoC chip with an easy-to-use
design and it can directly use the Arduino’s compiler to program and
load the code.
• The ESP8266 NodeMCU Lua CP2102 Wifi Transceiver RF Kit is used for
applications that need to connect, collect data and control via Wifi
waves, especially IoT-related applications.
Page | 12
Figure 9 Esp8266 NodeMcu
• Pinout:
Page | 13
2. Determine a specific problem to solve using IoT(P4)
a. Problem definition
As technology develops, smart homes will also appear more. A smart home
is a house in which electrical and electronic equipment is installed that can
be controlled or automated or semi-automatically. Replace humans in
performing one or several management and control operations. This
electronic system communicates with the user through an indoor electronic
board, a mobile phone application, a tablet computer or a web interface.
In this project, I will do a project " Make smart window locks with RFID
magnetic cards Arduino". This is a very convenient project for users, with
high applicability in life, especially in the era of industrialization.
1. Advanced security: Smart door locks with RFID add an extra layer of security
compared to traditional locks. RFID technology provides secure and convenient
access control.
2. Convenience: Users can unlock the door simply by swiping an RFID card,
eliminating the need to use a physical key. This can be especially useful in
situations where multiple people need access to a space.
Page | 14
5. Audit Trail: Some RFID systems can keep a log of who accessed the door and
when. This can be useful for security purposes or tracking comings and goings in
a certain area.
6. Learning and skill development: Building a smart door lock using Arduino
provides hands-on opportunities to learn about RFID technology,
microcontrollers, programming, and electronic circuits. It can be a great
educational project for students and hobbyists.
8. Prevent unauthorized access: The presence of a smart door lock can play a
role in preventing unauthorized access. Potential intruders may be discouraged
by advanced security features.
When undertaking a project like this, it's important to consider both the
technical aspects, such as programming the Arduino, as well as the practical
implications, such as user experience and reliability. In addition, attention should
be paid to system security to prevent manipulation or unauthorized access.
c. Functions of the project
1. RFID Module Integration:
- Connect RFID module to Arduino.
- Authenticate RFID card data.
2. Card Authentication:
- Verify card identity.
- Store authorized card IDs.
3. Lock Mechanism:
- Use servo/solenoid to control lock.
- Trigger on valid RFID card.
Page | 15
4. LED Indicators:
- Show lock status.
- Visual feedback for authentication.
5. Programming Logic:
- Handle authentication, timeouts, and manual override.
- Implement security features.
Page | 16
III. Develop an IOT application using any
combination of hardware, software, data,
platforms and services
1. Employ an appropriate set of tools to develop a plan into
an IoT application(P5)
Page | 17
1.2. Hardware
Page | 18
Page | 19
1.3. Photo of the project
Page | 20
2. Run end user experiments and examine feedback(P6)
2.1. List of survey questions and summary about the survey
Page | 21
Page | 22
Page | 23
Page | 24
IV. Conclusion
The conclusion, I personally think that IOT is useful and handy in life if you can apply it correctly and
reasonably. For a small demo project like this one, it is very easy to implement, my team only needs 1
month more research to complete it, but for a complete product that can be used and widely applied
More broadly in life, I may need a lot more time and work, we believe IOT will play an important role in
the development of industry and people's lives. Since then, this technology era will develop to the world
in general and Vietnam in particular.
We need to strive more in more projects in the future . And in the end we would like to express our
thankful for the 6 participants for help us with the survey.
Page | 25
V. References
Team, T.A. (2018) What is Arduino?, Arduino. Available at:
https://www.arduino.cc/en/Guide/Introduction (Accessed: 24 November 2023).
Internet of things (IoT): Blynk Framework for smart home: Kne Social Sciences (2023) KNE Publishing.
Available at:
https://knepublishing.com/index.php/Kne-Social/article/view/4128/8495#:~:text=Blynk%20is%20an
%20IoT%20platform,address%20on%20the%20available%20widgets. (Accessed: 24 November
2023).
Page | 26