14
139 CHAPTER 6 RESULT & DISCUSSION 6.1 Communication between two nodes using mail Figure 6.1 and 6.2 shows snapshot of mail boxes and indicates that node 1 sent the mail to node 2 using their respective mail ids. Selected option, mail id and sensor IoT sent mailbox are shown as 1, 2 and 3 in the snapshots. Figure 6.3 shows the mail box of Device IoT. It indicates that node 2 receive the mail from node 1 using their specified mail ids. Device IoT mail, inbox of Device IoT received mail from node 1 as shown as 1 and 2 in snap shot. Figure 6.4 shows the Device IoT mailbox which clearly indicates the mail received from Sensor IoT. Figure 6.1 Selected option (2) Mail ID and sensor IoT (3) sensor IoT sent mailbox

CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

139

CHAPTER 6

RESULT & DISCUSSION

6.1 Communication between two nodes using mail

Figure 6.1 and 6.2 shows snapshot of mail boxes and indicates that node 1 sent the mail to

node 2 using their respective mail ids. Selected option, mail id and sensor IoT sent mailbox are

shown as 1, 2 and 3 in the snapshots. Figure 6.3 shows the mail box of Device IoT. It indicates

that node 2 receive the mail from node 1 using their specified mail ids. Device IoT mail, inbox

of Device IoT received mail from node 1 as shown as 1 and 2 in snap shot. Figure 6.4 shows

the Device IoT mailbox which clearly indicates the mail received from Sensor IoT.

Figure 6.1 Selected option (2) Mail ID and sensor IoT (3) sensor IoT sent mailbox

Page 2: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

140

Figure 6.2 Selected options (2) sent mail of Sensor IoT

Figure 6.3 Device IoT mail (2) inbox of device IoT received mail from

[email protected]

Page 3: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

141

Figure 6.4 Selected option (2) device IoT mail (3) inbox showing mails received from

sensor IoT

Self-powered energy aware nodes which are enabled by Wi-Fi network and capable of

communicating self using mail box based on Internet of Things is proposed in this research. In

this setup all the nodes are connected to one another through Wi-Fi and communicate on the

Internet Protocol version 6 (IPv6). Here two nodes are accessing their own mail box,

according to the specified work indicated in the mailbox and the required action is taken. We

have implemented sensor side interface IoT and Device side interface IoT to communicate

both two nodes self using their mail id. This research work demonstrates that node 1 writes the

control action to be taken at the mail [email protected] and node 2 opens the mail reads the

message content and appropriate action is taken place.

6.2 Performance metrics

Average Queue Size

The average queue size depends on the previous average value and the present value of the

queue. Theformula for finding average queue size is given below

Page 4: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

142

avg = O * (1 - 2-n

) + C*( 2-n

)

Where n is the user-configurable exponential weight factor, O is the old average value

and C is the current value of queue length. For getting higher values of n, the previous value of

average should be more important.

Throughput

Throughput is defined as the average rate of successful message delivery over the

specified communication channel. It is generally measured in bits per second (bit/s or bps) and

sometimes in data packets per second or data packets per time slot

6.3 Performance analysis of the wirelessLan

This work will form a supplement to the earlier work titled „Self Powered Energy Aware

Internet of Things‟, embedded things with IP address and the ability to communicate self

using mailbox/message concept. WirelessLan network is used to create a self configurable

network. Nowvarious performance metrics of WirelessLAN is analyzed using Network

Simulator Tool, OPNET.

WLAN access point (AP) is capable of relaying traffic coming from any of its neighbors.

The metrics like wireless LAN average queue size, wireless LAN average load, average (in

wireless Lan Data Traffic Received (bits/sec)), average(in wirelessLan Data Traffic

sent(bits/sec)), throughput, delay and retransmission attempts have been used for performance

analysis of the wireless computer networks using simulation through OPNET Modeler.

Page 5: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

143

Figure 6.5 Average Data Traffic Sent(bits/sec) in WirelessLan

Figure 6. 6 Average Data Traffic Received(bits/sec) in WLAN

Figure 6.5 & 6.6 shows the average data sent and received by mobile nodes in

wirelessLan where all mobile nodes are using different trajectories. The amount of data sent

Page 6: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

144

and received by the mobiles depends on their distance and its movement from the server.

Figure 6.7 shows the overall load of the network when five mobile nodes are moving in

different directions.

Figure 6.8 indicates the throughput in wirelessLan network. In a wireless LAN, throughput

is defined as the fraction of time that a channel is used to transmit payload bits successfully.

When user population is increased beyond the specific limit, throughput decreases. The

throughput of Wi-Fi keeps on changing within some certain range due to overhead collisions

and propagation delay affecting at that time. Figure 6.9 shows WirelessLan Queue size

(packets). Queue size can be studied based on the factors such as size, priority or time of

arrival of data within queues. Average Retransmission Attempts in WirelessLan (packets) is

shown in Figure 6.10. In this research, five mobile nodes are tranfering the information with in

certain distance and Queue size as well as average retransmission rate will not be changed

tremondously.

Figure 6. 7 Average Load(bits/sec) in WirelessLan

Page 7: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

145

Figure 6.8 Average Throughput in WirelessLan (bits/seconds)

Figure 6.9 WirelessLan Queue size (packets)

Page 8: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

146

Figure 6.10 Average Retransmission Attempts in Wireless Lan(Packets)

6.4 Results of IoT applications

6.5 Case (i) Smart parking

Figure 6.11 and 6.12 shows Server Screenshots of the IoT based application, smart parking

of vehicles.

Figure 6.11 Server Screenshots

Page 9: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

147

Figure 6.12 Raspberry Pi Screenshots (IoT node)

6.6 Checking data on server (screenshots)

In this setup, actual IP address & port address on web browser (192.168.1.9:8000) are

assigned and the results obtained are as shown in figure 6.13.Whether slot is occupied (or)

empty can be checked by giving the actual IP address & port address in web browser with

state (192.168.1.2:8080/state/1/) and the results are updated on server. Figure 6.13 and 6.14

show the Screen shots of checking data on Server and Raspberrr Pi screenshots respectively.

Figure 6.13 Screen shots of checking data on Server

Page 10: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

148

6.7 Case (ii) weather reporting system

Raspberry Pi Screenshots

Figure 6.14 Raspberry Pi Screenshots- Weather reporting system

6.8 Updated data on twitter

Internet of Things based solution for environmental information sharing and

communication with inbuilt automotive electronics is presented in this work. The research

provides the vehicle user with environmental conditions dynamically and uses open source

cloud and twitter services along with hardware. For this purpose master slave architecture is

used. Data acquisition logic and control algorithm is driven by slave module and master

module respectively. The data acquisition rate is increased greatly and it is used for fast

motion system. The remote monitoring activities are effectively transformed into access within

the reach of vehicle users. Figure 6.15 shows Screenshots of weather update using Twitter.

Twitter interfaced with raspberry-pi to get the data from weather reporting bot and displayed

in twitter. Weather reporting bot is used to collect data on environmental conditions such as

temperature, pressure, humidity and light in an area using multiple end nodes shown in Figure

6.15.

Page 11: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

149

Figure 6.15 Screenshots of weather update using Twitter

6.9 Case (iii) smart irrigation

Raspberry Pi ScreenShots

Figure 6.16 to 6.18 show screen shots of smart irrigation results.

(in terminal window)

Figure 6.16 Screenshots of smart irrigation – 1

Page 12: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

150

Figure 6.17 Screenshots of smart irrigation – 2

Figure 6.18 Screenshots of smart irrigation – 3

6.10 Case (iv) Air pollution monitoring

Figure 6.19 to 6.21 show the Raspberry Pi ScreenShots of air pollution monitoring.

Page 13: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

151

Figure 6.19 Screenshots of Air pollution monitoring – 1

Figure 6.20 Screenshots of Air pollution monitoring – 2

Page 14: CHAPTER 6 - Shodhgangashodhganga.inflibnet.ac.in/bitstream/10603/107638/10/10_chapter - 6.pdf · 147 Figure 6.12 Raspberry Pi Screenshots (IoT node) 6.6 Checking data on server (screenshots)

152

Figure 6.21 Screenshots of Air pollution monitoring – 3

6.11 Chapter Conclusion

This Chapter deals with the results of mail communication between the two IoT nodes

and various performance metrics of WirelessLAN network. Also the results of IoT based

Smart parking, IoT based Weather reporting bot, IoT based Smart irrigation and IoT based Air

pollution control are shown and analyzed. Internet of Things based solution for environmental

information sharing and communication with inbuilt automotive electronics is presented in

this work. This research provides the vehicle user with environmental conditions dynamically

and uses open source cloud and twitter services along with hardware.