Fundamentals of IoT – Your IoT Journey (Beginner Level)

screenshot_10.png

Duration: ½ Day

Session Summary 

This 1/2 day fast-paced deep dive into the Internet of Things (IoT) is designed for University students, business executives business owners and entrepreneurs who want to understand what the Internet of Things (IoT) is, how to begin their IoT journey and its potential impacts to a business.

Dr. Mazlan Abbas, CEO & Co-Founder of FAVORIOT will guide you through the details of IoT from business case formulation, business strategy to implementation, describing key decisions and how to avoid the main pitfalls. It is geared towards people who need to understand IoT, what opportunities it offers and how to implement IoT solutions in their business. Areas covered are:

IoT Core Concepts

  • Underlying Technologies and Concept of IoT
  • Assessing Business Opportunities
  • How to Introduce IoT in your business using s simple Business Model Canvas
  • Creating your own IoT Business and Project checklist
  • The course provides simple examples and analogies to help participants understand what IoT is, what it can deliver and how it can be implemented in a business scenario.

What Will You Learn?

  • IoT Core Concepts
    • The core concepts of IoT – Sensors, Connectivity, and Applications
  • How to take your first steps in your IoT journey
  • The Types of Problems IoT Solves.
    • IoT might make things smarter and easier, but what real-world problem can IoT potentially solve? And what issues can it solve right now?
  • How to Spot IoT Opportunities
    • How to train users across your organization – including business leaders – to spot IoT opportunities.
  • How to Overcome Possible Challenges
    • The Possible Issues And Problems Companies and Individuals May Face When Getting Started With IoT
  • How organizations can benefit from new revenue streams generated by new business models and services.
    • Moving from technology-based to outcome-based business model

Course Breakdown

Topic 1: What is the Internet of Things & Why Are Businesses Investing Heavily in it?
Topic 2: The capabilities and essential elements of a smart, connected product
Topic 3: What are new markets in the Internet of Things Industry?
Topic 4: What is the necessary building block to start building IoT solutions.

Pre-Requisites

  • No prior knowledge of data science, machine learning, or statistics is required. Basic Understanding of Fundamental Business concepts.
  • Very basic Telecommunications Technology and Internet understanding

Required Software

  • No Software required

Speaker

Dr. Mazlan Abbas

Conference-PhotoDr. Mazlan is the co-founder and CEO of FAVORIOT Sdn Bhd. He is ranked among 50 Most Impactful Smart Cities Leaders by World CSR Congress 2017, ranked Top 10 in IoT Top 100 Influencers by Postscapes 2017, ranked No. 20th Thought Leader in IOT by 2014 Onalytics Report – “The Internet of Things – Top 100 Thought Leaders and UTM Alumni Industry Personality 2016. He is currently one of Global Vision Board Member (2017). Before Favoriot, he spent 2.5 years as CEO of REDtone IOT and 8 years in MIMOS Berhad as Senior Director Wireless Communications Cluster. He also spent 13 years in CELCOM (mobile operator), handling many senior management positions. Prior to Celcom, he spent 10 years as an Assoc. Professor at Universiti Teknologi Malaysia. He is currently the Adjunct Professor for Universiti Sultan Zainal Abidin (UniSZA), Universiti Malaysia (UniMY) and Universiti Teknologi Petronas (UTP). He was also the Adjunct Professor for UTM from 2008 to 2013 and UTHM (2004-2005, 2013-2016). Dr.Mazlan is a frequent speaker in many major & established IOT, Smart Cities and telco conferences locally and globally. He sits in Industry Advisory Panel (IAP) for several local universities. He graduated from Universiti Teknologi Malaysia with a BEE (1984), University of Essex (UK) with MSc. in Telematics (1986) and Universiti Teknologi Malaysia with a Ph.D. in Telecommunications (1993). He also received an Honorary Doctorate in Electrical Engineering from UTHM (2017).

The full list of Dr. Mazlan’s Talks.

Posted in Internet of Things | Tagged , , , , | Leave a comment

IOT Automatic Plant Watering System

ABSTRACT

The team worked on the Arduino based automatic plant watering system with a built in pump and a water tank. This system is useful especially for user’s who have a day job and travel a lot as this system can water plants only when necessary without any human intervention. What makes our project unique than the other innovations in the current market for watering plants is it’s built in function which allows the user to be updated from time to time about the status of the system and plant.

In this report, we will further discussed how we the entire system works part by part, which included two main parts, offline watering system and online ESP8266 Wifi shield as well as FAVORIOT PLATFORM. Each parts will be discussed and explained in detail of how it works and compiled together as a completed project.

INTRODUCTION

For the automatic plant watering system, a moisture level sensor is attached to the soil of the plant and when the reading of the sensor is below the pre-set value, the pump will be activated. On the other hand, when the reading of the sensor is above the pre-set value, the pump will be deactivated. The pump will pump water from a built in water tank. To update the user regarding the condition of the system, an Arduino compatible shield known as the [1]ESP8266 ESP-01E UART Wi-Fi shield shown in Figure 1. This device helps the Arduino board connect to the internet and allow the integrating of data from the Arduino board using the [2]FAVORIOT platform shown in Figure 2. The FAVORIOT platform is a platform which is compatible for any Internet of Things (IoT) and can collect and store data from various sensors and microcontrollers. The user will be updated about the status of the system via emails and graphs of the moisture level and water tank level will be displayed in the FAVORIOT platform.

The project is the integration of offline automatic plant watering system and the online IOT system. This is system is the beginner level of IOT system, which data are uploaded online to FAVORIOT platform and displayed in graphs form and send a notification to the user for any unusual condition or emergency case happened as shown in Figure 2 and Flowchart 2.

Figure 1 ESP8266 ESP-01E UART Wi-Fi shield

Figure 2 Basic functions of FAVORIOT platform

EXPERIMENTAL DESIGN

Figure 3 Completed System

Figure 3 shows the completed set up of the project, which includes ESP8266 ESP-01E UART Wi-Fi shield, Soil Moisture sensor, Water Level Sensor, 6-12V of the water pump, 12V relay, 7.4V Li-Po Battery, 3 pots of soil, water tank, breadboard and Arduino UNO

MATERIALS

  • ESP8266 ESP-01E UART Wi-Fi shield
  • Arduino Adjustable Soil Moisture Sensor + Soil Hygrometer Sensor
  • Liquid/Water Level Sensor Module
  • 6-12V Water Pump
  • 12V Relay
  • 4V Li-Po Battery
  • Breadboard Jumper Wire
  • Arduino UNO
  • Pipes
  • Breadboard
  • 3 pots of soil
  • Water tank

METHODS

AT+RST Restarts the Module
Response – OK
AT+CWMODE=mode Set AP’s info which will be connect by ESP8266
Response – OK
mode:
1 means Station mode
2 means AP mode
3 means AP + Station mode
AT+CWJAP=ssid,pwd Set AP’s info which will be connect by ESP8266.
Response – OK
ssid: string, AP’s SSID (wifi name)
pwd: string, MAX: 64 bytes (wifi password)
AT+CIFSR Get local IP address.
Response – +CIFSR:IP_address +CIFSR:IP_address OK
IP_address:
IP address of ESP8266 softAP
IP address of ESP8266 station
AT+CIPSTART=type,addr,port Start a connection as client. (Single connection mode)
Response – OK
type: string, “TCP” or “UDP”

addr: string, remote ip

port: integer, remote port

AT+CIPSEND=length Set length of the data that will be sent. For normal send (single connection).
Response – SEND OK
length: data length, MAX 2048 bytes

After command is executed “>” is returned to indicate ‘ready to accept data of specified length‘.

Send data of designated length. When data length defined by length is met, the transmission of data starts. If the connection cannot be established or gets disrupted during data transmission, the system returns: ERROR

If data is transmitted successfully, the system returns: SEND OK

AT+CIPCLOSE Close TCP or UDP connection.For single connection mode
Response – OK

Table 1: AT Command of ESP8266 that applied in the Project

Table 1 shown all the [3]AT Command of ESP8266 Wifi shield module that we applied to manipulate the ESP8266 Wifi shield module to perform various tasks, which included, reset wifi shield module, set the station mode of ESP8266, connect ESP8266 to internet via hotspot by its name and password, set a single TCP connection, send data and close TCP connection.

In Flow Chart 1, it show the steps of working of ESP8266, from resetting the ESP8266 wifi shield, establish TCP internet connection, recognizing the address, sending data to close TCP connection.

Whereas in Flow Chart 2, it has shown how the data is manipulated after its sent to FAVORIOT PLATTFORM. After the data are sent to FAVORIOT, it will be displayed in line graph, which is, soil moisture level and water level. Besides, two rules are set, if any the conditions are met, then it will send an email to the user to notify them of what is happened.

 

Flow chart 1: How to apply AT command to function ESP8266

 

Flow Chart 2: Function and role of Favoriot Platform

 GENERAL RESULTS

The functionality of the components is tabulated below in Table 1and Table 2. The picture of the overall complete system is illustrated in Figure 3. The soil Moisture Level Sensor will be have maximum reading when the soil is dry, however, when the soil is wet, the reading of soil Moisture Level Sensor will drop. The water level sensor will have its maximum reading when the tank is full and vice versa. Therefore, we can observe that, whenever the water tank is low, an Email will be sent to the user. However, if the plant is still wet, Email 1.0 will be sent and if the plant is dry, Email 2.0 will be sent to the user. Besides, the water pump functions as whenever, the plant is dry until a certain limit, the water pump will receive signal to pump water to water the plant.

Table 2 Soil Moisture Level Sensor functionality

Soil Moisture Level Sensor Water Pump Water Level Sensor Email
Dry(>320) HIGH LOW(<100) EMAIL 2.0 SENT
Wet (<270) LOW HIGH(>100) EMAIL NOT SENT
Dry(>320) HIGH HIGH(>100) EMAIL NOT SENT
Wet (<270) LOW LOW(<100) EMAIL 1.0 SENT

 

Table 3 Water Level Sensor functionality

Water Level Sensor Email
HIGH(>100) EMAIL NOT SENT
LOW(<100) EMAIL 1.0 SENT

Figure 4: Soil Moisture Level Sensor sensed the plant is dry (>320)

Figure 5: Water pump received signal to pump water from water tank

In Figure 4, we inserted the soil Moisture Level sensor into a pot of dry soil, as we checked the reading of soil Moisture Level sensor reading from serial monitor, the reading is exceeded 320, which indicate the plant is dry. Therefore, as shown in Figure 5, the water pump is activated and pump the water from water tank.

Figure 6: Soil Moisture Level Sensor sensed the plant is wet (< 270)

Figure 7: Water pump does not receive signal and will not function

Figure 6 shown that we inserted the soil moisture sensor into a wet pot of soil, which the reading of soil moisture sensor is smaller than 270 and display in serial monitor. Therefore, in Figure 7, the water pump does not work because there is no signal received by it to water the plant.

Figure 8: The reading of Soil Moisture Level sensor and Water level sensor will be sent to FOVORIOT PLATFORM in a JSON string form from time to time in a particular device and account by using API key.

  

Figure 9: After the soil moisture level and water level data are received, two line graphs are plotted in the form of, Water Level or Soil Moisture Level vs times and dates.

 

Figure 10: Soil Moisture Level and Water level sensor will change from time to time, and will be monitored.

Figure 8 shows the result of uploaded the data to FAVORIOT, the data will be uploaded from time to time, and stored in FAVORIOT in string form. In our case, the reading of the soil moisture level sensor and water level sensor are uploaded and stored in the FAVORIOT. Furthermore, two graphs are plotted as shown in Figure 9 and Figure 10, with the form of, data (Soil moisture level/ water level) vs times and date. Each time the new data is uploaded, the graph will have the changes. Therefore, the admin and user can monitor the condition of plant moisture level and water tank level from time to time.

Moreover, there are two emergency cases, which shown in table 2 that might happen, which is when the water in the water tank is running dry as well as when the water is running dry and the plant is dry as well. Therefore for the first case, an Email 1.0 will be sent to the user, which shown in Figure 11. It will notify the user the water in water tank is running low, which carry a string message, “Your water tank is running dry”.

However, the other case which is the emergency case, is when water tank is running dry as well as when the water is running dry. This will cause a fatal consequence to the plant. Therefore, a strong notification will be sent to the user, which is Email 2.0 as shown in Figure 12. It carries a string message, “Caution !!!! Your water tank is running low and your plant is DYING !!!!” .

Figure 11: Email 1.0

Figure 12: Email 2.0

DISCUSSION

In the Discussion section, the completed Arduino code is discussed and will be explained how the code is programming to make the system function part by part.

Code A

In code A, we included [4]SoftwareSerial.h library. This will enable normal IO pins to be used as bit bashed UART pins. This hardware allows arduino to receive serial communication even while working on other tasks, as long as there room in the 64 byte serial buffer.

Code B

In Code B, we assign “OPPO F7”, which is the name of our hotspot internet, and “12345678”, which is the password of the hotspot internet, to be string of said and password. These two strings will be further used to connect ESP8266 to internet. Besides, we applied the built in library function, Software Serial to assign digital pin 2 and pin 3 to be the RX and TX, which are the receive pin and transmit pin.

Code C

In Code C, we assigned data as variable of a String, variable x as integer, enb, pos and neg to be integers with the value of 5, 6 and 7 respectively. Besides, we assigned threshold and limit to be the integer with value of 320 and 270 respectively.

Code D

In code D, we set up the ESP8266 Wi-Fi shield module and Arduino serial with communication speed of 15200 baud using esp.begin and Serial.begin. We also assign enb, pos and neg pins, which are digital pin 5, 6 and 7 to be the output.

After that, void rest() is called as shown in Code E, with 0.5 second of delay, void connect Wi-Fi() is called, as shown in Code F, to connected ESP 6288 wifi shield module to Internet using hotpots.

Code E

In this void reset, AT+RST command is used, to reset the ESP 8266 wifi shield module, after received response “OK”, serial monitor will print “Module Reset”.

Code F

In Code F, we first applied AT+CWMODE=1 command to set the ESP8266 Wi-Fi shield module to function as a station mode. A string named cmd is created with AT+CWJAP=ssid,password command. After this command is executed, and received response “OK”, the internet connection of ESP8266 Wi-Fi shield module is established, and serial monitor will print “Connected” to indicate the success of connection to internet.

Code G

Code G is the offline part of our project, which located under the void loop. Integer variable soil_1 is the reading of soil moisture level sensor which it takes reading from Analog pin 2, A2, and integer variable water is the reading of water level sensor, which takes reading from Analog pin 3, A3. Then, we rearrange the reading of variable soil_1, soil moisture level sensor’s reading from range of 0 – 1023 to 0 – 700 range.

After that, Soil moisture level reading and Water level reading will be printed in serial monitor in the form of, “Soil value: “soil” ” and “Water level value: “water” ”.

Then we used if statement, that whenever, the soil moisture reading is greater than the threshold level, which is 320, it indicated that the plant is dry. Digital Pin 5, which is the enable pin of 12V relay will be high to activate the water pump via the 12V relay. Digital Pin 6 and Pin 7 are set to one low and high for the 6-12 V DC water pump. However, when the soil moisture reading is below the limit, which indicate the plant soil is wet, then, the relay enable pin, as known as Digital pin 5, will be set as low to turn off the water pump.

Code H

Code H is located under void loop, which will be executed after Code G. This part of code is to create a JSON format into variable data, which include information of, device developer ID, water level sensor reading and soil moisture level reading. We will then print out the data and the data length in serial monitor.

Then, void httppost() is called and executed, and this void will be discussed further in Code I.

Code I

Code J

CONCLUSION

The objective of the project which is to make an automatic plant watering system which can alert the user from time to time was achieved. The overall system functioned well and an email could be sent when either the water tank level or moisture level is low. The only area that needed some improvement was the neatness of the project box.

However, this is just the beginning of the Internet of things (IOT) project. There is plenty of future work that can be implemented in the future. We can develop a [5] mobile app in order to monitor the value of soil moisture level and water tank level and alter can be changed to be the notification of mobile phone application.

In future, a more completed project that can be done that, not only plant watering system, [6] but the whole smart housing system, which can include, door security lock system, a face recognizing security camera, smart temperature air conditioner, etc. Therefore, we found that there is plenty of possibility thing of housing IOT that can be done in future and improvement can be achieved.

REFERENCE

[1] “ESP8266 Overview”. Espressif Systems. Retrieved 2017-10-02.

[2] https://platform.favoriot.com/tutorial/, June 2018

[3] https://github.com/espressif/ESP8266_AT/wiki, June 2018

[4]https://www.arduino.cc/en/Reference/SoftwareSerial, June 2018

[5] Internet Of Things: The Role Of Mobile Apps. (n.d.). Retrieved from https://readwrite.com/2018/05/02/internet-of-things-the-role-of-mobile-apps/

[6] https://www.forbes.com/sites/forbestechcouncil/2017/06/06/best-smart-home-devices-and-how-iot-is-changing-the-way-we-live/#51aa2c1d43bd, 2018

[NOTE: This project is being done by Taylor’s University, our FAVORIOT’s University’s collaborator. Supervisor – Mr. Mohammad Taghi, Students – Kuan Jun Wei and Prishitha Kandasamu ]

Posted in Internet of Things | Tagged , , , | Leave a comment

FAVORIOT recognized as MDEC’s partner for PRIDE Program

 

KUALA LUMPUR – FAVORIOT has pledged to support MDEC’s initiative, the “Platform for Real Industry Driven Project Exchange” (PRIDE) program when both parties signed a Memorandum of Understanding (MoU) in June 2018. FAVORIOT will participate as a partner focusing on various engagements such as participation as an industry speaker, providing internship and job placement opportunities; and contributing to university curriculum review as the subject matter expert in the area of Internet of Things (IoT) and Fourth Industrial revolution (4IR), among many other engagements.

Conference-PhotoDr. Mazlan Abbas, CEO, and Co-Founder of FAVORIOT has been frequently invited to give on IoT and 4IR in the Universities. He said, “If Malaysia wants to be at the forefront of 4th Industrial Revolution, we need to change our mindset and take the front seat, to become the doers, leaders, risk takers and champion the digital transformation – in both areas of supply and demand. We need 100K IoT/4IR professionals by 2020? Can we achieve this by 2020? That’s the challenge facing the industry now and we hoped the Universities are able to quickly churn out new high-quality talents fast”.

ABOUT FAVORIOT

FAVORIOT is a Malaysian IoT Startup that focuses on providing a peace of mind solution called Raqib for the pilgrims and their family members during performing their Hajj. Favoriot also offers a senior care solution called Favorwatch to monitor the elderly’s health, safety, and location. Both solutions above comprised of Smart Wearables connected to Favoriot IoT middleware. The middleware also being used by more than 20 organizations to build their own IoT solutions.

ABOUT MDEC

Malaysia Digital Economy Corporation or MDEC (formerly known as Multimedia Development Corporation Sdn. Bhd.) is the lead agency in driving the digital economy in Malaysia under the Ministry of Communications and Multimedia Malaysia. Since its inception 21 years ago, MDEC’s mission is to develop the nation’s digital economy. MDEC’s implementation efforts are centered on driving investments, building local tech champions, catalyzing digital innovation ecosystems and propagating digital inclusivity.

Posted in Internet of Things | Tagged , , , , , , | Leave a comment

Dell Malaysia Digital Summit 2018

MyDuino training on IoT using FAVORIOT IoT middleware to connect sensors.

Photos courtesy of MyDuino.

Posted in Internet of Things | Leave a comment

eFM – Wearable Technology – Supply vs Demand

“Let’s Jam at GEM” at MEREKA Makerspace, Feb 28, 2018.

The wearable technology market has rocketed over the past several years. It’s not just smartwatches and fitness trackers: tech companies are competing to create new wearable experiences with the widest possible appeal.

In this session, Dana Blouin, eFM podcast host, moderates discussion on demand and supply of wearable technology between Dr. Mazlan Abbas, CEO of FAVORIOT, Joseph Dolcetti , CEO of SportsBoleh, Khor Xin Yun, Co-Founder & CEO of Walnut Wellness, and Edison Lim, CEO of Tag La Technology.

You can listen to the eFM podcast on “Wearable Technology – Supply vs Demand



Posted in Internet of Things | Leave a comment

Industry 4.0: How Disruptive Technology Affects Business Globally

Upcoming Invited Talk by Dr. Mazlan Abbas, CEO of FAVORIOT at Arshad Ayub Graduate Business School (AAGBS), UiTM SHAH ALAM, June 9, 2018

You are likely benefitting from The Internet of Things (IoT) today, whether you’re familiar with the term. If your phone automatically connects to your home, or if you have a smartwatch counting your steps, congratulations! You have adopted one small piece of a very large IoT pie, even if you haven’t adopted the name yet.

IoT may sound like a business buzzword, but it’s a real technological revolution that will impact everything we do. It’s the next Internet Tsunami of new possibility that is destined to change the face of technology, as we know it.  IoT represents a massive wave of technical innovation. It’s one of the key technologies for the Fourth Industrial Revolution (4IR). Our limited understanding of the possibilities hinders our ability to see future applications for any new technology. Mainstream adoption of desktop computers and the Internet didn’t take hold until they became affordable and usable. When that occurred, fantastic and creative innovation ensued. We are on the cusp of that tipping point with the 4thIndustrial Revolution.

4IR matters because it will create new industries, new companies, new jobs, and new economic growth. It will transform existing segments of our economy: retail, farming, industrial, logistics, cities, and the environment. You will live and work smarter, not harder – and what we are seeing now is only the tip of the Tsunami. This presentation will take you into the journey of IoT and the 4thIndustrial Revolution and how it will help companies to survive in the 21stCentury. Get Ready to Disrupt or Being Disrupted!

You can view or download the presentation below:


Posted in Internet of Things | Tagged , , , | Leave a comment