international journal of informative & futuristic research · that can be of great help to...

9
This work is published under Attribution-NonCommercial-ShareAlike 4.0 International License International Journal of Informative & Futuristic Research Volume 6 Issue 3 November 2018 www.ijifr.com ISSN : 2347-1697 29 1 C.Vinay Kumar, 2 Dr. K.Anitha Sheela 1 M.Tech. Student, JNTUH College of Engineering Hyderabad -India 2 Professor, JNTUH College of Engineering Hyderabad -India . I. INTRODUCTION Private cloud is “A form of cloud computing where service access is limited or the customer has some control/ownership of the service implementation.” In a Private Cloud, the infrastructure policies are governed by a single organization where workloads and data can IMPLEMENTATION OF CLOUD SERVER FOR REAL TIME INFORMATION USING RASPBERRY PI AND NODE MCU Paper ID IJIFR/V6/ E3/ 009 Page No. 29-35 Subject Area Elec. & Comm. Engineering Abstract Private cloud server can be set up in a Raspberry Pi which could be used as a storage device for applications involving real time signals. Raspberry Pi is a cost effective microprocessor in which cloud computing infrastructure can be obtained using cloud platforms provided by specific cloud vendors. Real time signals acquired by any sensor that measures environmental factors are analog in nature. Using micro controllers like Arduino or any analog to digital converters these analog signals can be discretized and transmitted serially to the Raspberry Pi. Hence Raspberry Pi can be used as a cloud server which serves as a storage device for real time applications. This project has two parts one is Storing Real time data in cloud and the second is Hard disk drive is mounted to cloud to store large amount of data. Instead of using Arduino in this case Node MCU is used since this module has built in Wi-Fi because of which latency can be reduced and low cost .Using this Wi-Fi module in Node MCU the various environmental data which can be acquired by various sensors like temperature BMP, Rain, Light and humidity .There are various cloud services providers viz.. Own cloud, Things Speak Cloud, Godady etc. In this work Things Speak Cloud was used because it is user friendly and it is free of cost . A separate API key is used to send data into Things Speak Cloud. People are creating and consuming data at such rapidly growing rate that it challenges providers of cloud storage to manage increasingly large amount of storage .Because different HDDs perform better under different workloads ,the customers can benefit from modeling HDD performance to determine which performance characteristics are best for various elements of cloud storage providers environment. The speed at which data can be acquired from cloud and also checking whether the acquired data is correct. These are to be verified before deploying the system. Key Words : Cloud computing, Raspberry pi, Arduino, NodeMcu , Real time signals

Upload: others

Post on 24-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: International Journal of Informative & Futuristic Research · that can be of great help to novices and experts alike. C. Node MCU: NodeMCU is an open-source firmware and development

This work is published under Attribution-NonCommercial-ShareAlike 4.0 International License

International Journal of Informative & Futuristic Research

Volume 6 Issue 3 November 2018 www.ijifr.com ISSN : 2347-1697

29

1C.Vinay Kumar,

2Dr. K.Anitha Sheela

1M.Tech. Student, JNTUH College of Engineering Hyderabad -India

2Professor, JNTUH College of Engineering Hyderabad -India

.

I. INTRODUCTION

Private cloud is “A form of cloud computing where service access is limited or the customer has some control/ownership of the service implementation.” In a Private Cloud, the infrastructure policies are governed by a single organization where workloads and data can

IMPLEMENTATION OF CLOUD SERVER FOR

REAL TIME INFORMATION USING

RASPBERRY PI AND NODE MCU

Paper ID IJIFR/V6/ E3/ 009 Page No. 29-35 Subject Area Elec. & Comm.

Engineering

Abstract

Private cloud server can be set up in a Raspberry Pi which could be used as a storage device for applications involving real time signals. Raspberry Pi is a cost effective microprocessor in which cloud computing infrastructure can be obtained using cloud platforms provided by specific cloud vendors. Real time signals acquired by any sensor that measures environmental factors are analog in nature. Using micro controllers like Arduino or any analog to digital converters these analog signals can be discretized and transmitted serially to the Raspberry Pi. Hence Raspberry Pi can be used as a cloud server which serves as a storage device for real time applications. This project has two parts one is Storing Real time data in cloud and the second is Hard disk drive is mounted to cloud to store large amount of data. Instead of using Arduino in this case Node MCU is used since this module has built in Wi-Fi because of which latency can be reduced and low cost .Using this Wi-Fi module in Node MCU the various environmental data which can be acquired by various sensors like temperature BMP, Rain, Light and humidity .There are various cloud services providers viz.. Own cloud, Things Speak Cloud, Godady etc. In this work Things Speak Cloud was used because it is user friendly and it is free of cost . A separate API key is used to send data into Things Speak Cloud. People are creating and consuming data at such rapidly growing rate that it challenges providers of cloud storage to manage increasingly large amount of storage .Because different HDDs perform better under different workloads ,the customers can benefit from modeling HDD performance to determine which performance characteristics are best for various elements of cloud storage providers environment. The speed at which data can be acquired from cloud and also checking whether the acquired data is correct. These are to be verified before deploying the system.

Key Words : Cloud computing, Raspberry pi, Arduino, NodeMcu , Real time signals

Page 2: International Journal of Informative & Futuristic Research · that can be of great help to novices and experts alike. C. Node MCU: NodeMCU is an open-source firmware and development

30 Sheela A. K., Kumar V.C. :: Implementation of cloud server for real time

information using raspberry pi and node MCU

ISSN: 2347-1697

International Journal of Informative & Futuristic Research (IJIFR)

Continuous 63rd Edition, Volume - 6, Issue -3, November 2018

be moved to and from internal and external data centers. Private Clouds provide an

organization a single point of control for security, manageability, privacy, audit, compliance

and governance. Graphically, that means that either the provider tunnels through that opaque

boundary and limits service access or the customer tunnels through that opaque boundary

through ownership or control of the implementation. Note that control/ownership is not the

same as setting service levels – these are specific to the implementation, and not even visible

through the service.

Setting up your own cloud will so be terribly helpful for a handful of reasons. price and

privacy reasons are mentioned on top of. 3 necessary service platforms cloud, Google Drive

and Drop box all handle similar rating schemes that embrace free basic storage and monthly

fees for extended storage. Google Drive takes the lead here with fifteen GB free storage

that is three times over iCloud’s base storage and virtually eight times over what Drop box offers without charge, 2 GB. For one TB of storage, you may pay €9,99 per month on all of those platforms. Providing subscribing for the oneTB set up for one year would price you

over shopping for a 1 TB disk drive, for several folks, the selection is quickly created. The

amount of options is platform dependent however several embrace a sharing possibility, auto-

sync to native folders and calendar synchronization . Luckily, there square measure

several choices out there for making a personal cloud with similar options. Solutions vary

from dearer ready-to- use NAS devices (Network connected Storage, cf. below), to the

bottom or free computer code that may be put in on essentially any system to attain similar

goals. All these solutions are based on the same core elements, a storage device, processing

power, Internet connectivity and software.

II. HARDWARE SETUP

A. RASPBERRY PI

For this project, a Raspberry Pi one Model B is employed, running Raspbian as software

package. There’s associate NGINX server running on that, furthermore because the file-

hosting service Own Cloud and also the alpha fetoprotein file-sharing service Net talk. to

create it easier to attach to the server for good, we have a tendency to put in no- ip

consumer code. to supply some level of information redundancy, a daily backup method is

scheduled in the dead of night victimization sync.

Page 3: International Journal of Informative & Futuristic Research · that can be of great help to novices and experts alike. C. Node MCU: NodeMCU is an open-source firmware and development

31 Sheela A. K., Kumar V.C. :: Implementation of cloud server for real time

information using raspberry pi and node MCU

ISSN: 2347-1697

International Journal of Informative & Futuristic Research (IJIFR)

Continuous 63rd Edition, Volume - 6, Issue -3, November 2018

B. Arduino Uno:

Arduino is associate ASCII text file natural philosophy platform supported easy-to-use

hardware and code. Arduino boards square measure able to browse inputs - light-weight on a

sensing element, a finger on a button, or a Twitter message and switch it into

associate output activating a motor, turning on associate semiconductor diode,

publication one thing on-line. You’ll tell your board what to try to by causing a collection of directions to the microcontroller on the board. to try to to thus you employ the Arduino

artificial language (based onWiring), and also the Arduino code

(IDE), supported process. Over the years Arduino has been the

brain of thousands of comes, from everyday objects to advanced

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.

C. Node MCU:

NodeMCU is an open-source firmware and development kit that helps to build IoT product.

NodeMCU is developed to make easier using advanced API for hardware IO. The API can

reduce redundant work for configuring and manipulating hardware. NodeMCU is designed

like Arduino hardware Input Output (IO). NodeMCU uses lowest cost Wi-Fi MCU that is ESP

8266. ESP8266 is the most integrated Wi-Fi chips Size of the chip is 5mm x 5mm.

ESP8266EX requires minimal external circuitry and integrates a 32-bit Ten silica MCU,

standard digital peripheral interfaces, antenna switches, RF balun, power amplifier, low noise

receive amplifier, filters and power management modules - all in one small package

.ESP8266EX integrates Ten silica L106 32-bit micro controller (MCU) which features extra

low power consumption and 16-bit RSIC, reaching a maximum clock speed of 160 MHz With

the Real Time Operation System enabled and Wi- Fi stack functional, about 80% of the

processing power is still available for user application programming and development.

III. OPERATING SYSTEM: RASPBIAN

There are operating systems out there that are specifically tailored for building home storage

devices. They are slimmed-down versions of general-purpose operating systems, focusing on

file sharing protocols and features Amahi offers a straightforward user interface that includes

one-click installers of popular applications such as ownCloud and Plex. It is based on Linux so

it is possible to install native Linux apps as well.Free NAS may be a refined home server OS,

supported FreeBSD.

Page 4: International Journal of Informative & Futuristic Research · that can be of great help to novices and experts alike. C. Node MCU: NodeMCU is an open-source firmware and development

32 Sheela A. K., Kumar V.C. :: Implementation of cloud server for real time

information using raspberry pi and node MCU

ISSN: 2347-1697

International Journal of Informative & Futuristic Research (IJIFR)

Continuous 63rd Edition, Volume - 6, Issue -3, November 2018

It supports RAID and plenty of different things however needs a minimum of 1GB RAM per

TB of storage that you simply install, that the Raspberry Pi one doesn't have. an alternate

would be NAS4Free, that is associate recent, less refined version of Free NAS. It’s a lot of fitted to powerless devices. We will use Raspbian, supported Debian, as a result of its

optimized for the Raspberry Pi. It offers the flexibleness to put in different native UNIX

packages that square measure, in turn, conjointly optimized for the Pi. Next to it, it's fairly well

documented.

A. OS INSTALLATION:

Raspberry Pi doesn't have internal storage or inbuilt software system associated it needs an

SD-card that’s established also the Pi. Associate SD-card has got to be connected to the

conventional windows machine employing a card reader. From the Raspberry Pi’s official web

site NOOBS has got to be downloaded and unzipped an equivalent within the SD-card

once that the SD- card is the inner storage for the Raspberry Pi and

victimization. From the Raspberry Pi’s official website NOOBS has to be downloaded and

unzipped the same in the SD-card after which the SD- card serves as the internal storage for

the Raspberry Pi and using the NOOBS main menu Raspbian OS can be installed in it. As soon

as the SD-card is inserted in the Raspberry Pi, the device boots up.

IV. BLOCK DIAGRAM

A. Owncloud installation:

Own Cloud may be a free and open supply software system. Own cloud operated like that of

the Drop-box or Google drive that's wide used for storing files for private use syncing with

the own files on a own server or web site. Own Cloud may be a suite of client-server software

system for making file hosting services and victimization them. Own Cloud is functionally

terribly like the wide used Drop box, with the first purposeful distinction being that Own

Cloud is free and ASCII text file, and thence anyone will install and operate it for free of

charge on a personal server and aside from the disk capability of the device there aren't any

limits on cupboard space or to the quantity of connected shoppers. On the opposite hand,

Page 5: International Journal of Informative & Futuristic Research · that can be of great help to novices and experts alike. C. Node MCU: NodeMCU is an open-source firmware and development

33 Sheela A. K., Kumar V.C. :: Implementation of cloud server for real time

information using raspberry pi and node MCU

ISSN: 2347-1697

International Journal of Informative & Futuristic Research (IJIFR)

Continuous 63rd Edition, Volume - 6, Issue -3, November 2018

although Drop box serves for similar purpose, it's not open supply. Raspberry pi may be a

device which might be became a network primarily based non-public memory device by

putting in own cloud in order that it may be treated as a cloud server for transfer of files over

the web. It’s a private cloud that runs on the server. Victimization Raspberry Pi cloud, it's doable to push detector knowledge to cloud for real time knowledge storage.

B. After mounting an external hard disk drive to owncloud.

C. After mounting an external hard disk drive to owncloud.

V. INSTALLING THE DESKTOP SYNCHRONIZATION CLIENT

Page 6: International Journal of Informative & Futuristic Research · that can be of great help to novices and experts alike. C. Node MCU: NodeMCU is an open-source firmware and development

34 Sheela A. K., Kumar V.C. :: Implementation of cloud server for real time

information using raspberry pi and node MCU

ISSN: 2347-1697

International Journal of Informative & Futuristic Research (IJIFR)

Continuous 63rd Edition, Volume - 6, Issue -3, November 2018

Instead of using ownloud in this I have been used a Thing speak due to reduce latency and

low cost. We can analyse practical real time data from the environmental measure. We can

also execute by using an Node mcu instead of Arduino uno. Since this module has built in

Wi-Fi because of which latency can be reduced and low cost.Write an Arduino program to

detect an temperature and humidity We can observe output (digital) in serial monitor, serially

we have to see like analog output in “Things Speak”. Create an things speak channel observe output in private window by sending through serial monitor Using node mcu the temperature

and humidity can able to seen in thing speak by DHT11 sensor. In this work Things Speak

Cloud was used because it is user friendly and it is free of cost. A separate API key is used to

send data into Things Speak Cloud. In things speak we have to create a channel and filed

labels (temp&humdty). Copy the API key &paste it into an arduino program, we have to

switch on our mobile hotspot (ssid, pass) in the program. Finally upload to it into broad.

Page 7: International Journal of Informative & Futuristic Research · that can be of great help to novices and experts alike. C. Node MCU: NodeMCU is an open-source firmware and development

35 Sheela A. K., Kumar V.C. :: Implementation of cloud server for real time

information using raspberry pi and node MCU

ISSN: 2347-1697

International Journal of Informative & Futuristic Research (IJIFR)

Continuous 63rd Edition, Volume - 6, Issue -3, November 2018

VI. REFERENCES [1] Joonsang Baek, Quang Hieu Vu, Joseph K. Liu, Xinyi Huang, and Yang Xiang, (2015) “A Secure

Cloud Computing Based Framework for Big Data Information Management of Smart Grid”, IEEE TRANSACTIONS ON CLOUD COMPUTING, VOL. 3, NO. 2.

[2] [2]Fung Po Tso, David R. White, Simon Jouet, Jeremy Singer, Dimitrios P. Pezaros, (2013) ” The Glasgow Raspberry Pi Cloud:A Scale Model for Cloud Computing Infrastructures”, IEEE 33rd International Conference on Distributed Computing Systems Workshops .

[3] [3].owcloud.org. (2014, October). OwnCloud. Retrieved from www.owncloud.org: www.owncloud.org

[4] Sanjana Prasad, P.Mahalakshmi, A.John Clement Sunder, R.Swathi4(2014),” Smart Surveillance Monitoring System Using Raspberry PI and PIR Sensor”, (IJCSIT) International Journal of

Computer Science and InformationTechnologies, Vol. 5 (6)

[5] Rashmi , Dr.G.Sahoo, Dr.S.Mehfuz(2013), “Securing Software as a Service Model of Cloud Computing: Issues and Solutions”, International Journal on Cloud Computing: Services and Architecture (IJCCSA) ,Vol.3, No.4.

[6] Introduction to the new ownCloud Encryption App. (2014, October). Retrieved from

http://www.schiessle.org/: http://blog.schiessle.org/2013/05/28/introduction-to-the-new-

owncloud-encryption-app/

[7] Hildmann, T., & Kao, O. (2014). Deploying and Extending On-Premise Cloud Storage Based on

ownCloud.2014 IEEE 34th International Conference on Distributed Computing Systems

Workshops. doi:10.1109/icdcsw.2014.18.

[8] Jadeja, Y., & Modi, K. (2012). Cloud computing - concepts, architecture and challenges.2012

International Conference on Computing, Electronics and Electrical Technologies (ICCEET).

doi:10.1109/icceet.2012.6203873.

[9] S. Dave, Data Acquisition System and Data Loggers, Slideshare, 2011.

[10] RaspberryPi,2012.<https://www.raspberr (Accessed January 20, 2017).

Page 8: International Journal of Informative & Futuristic Research · that can be of great help to novices and experts alike. C. Node MCU: NodeMCU is an open-source firmware and development

Authorised Signature With Seal

This is certified that the paper entitled

Implementation of cloud server for real time information using Raspberry Pi and node MCU

Authored by

C.Vinay Kumar M.Tech. Student, JNTUH College of Engineering Hyderabad -India

has been accepted & published online in IJIFR continuous 63rd edition

Volume 6-Issue 3, November 2018 under Paper ID: IJIFR /V6/E3/09. The mentioned paper is accepted after rigorous evaluation through double blind peer reviewed process.

International Journal of Informative & Futuristic Research

www.ijifr.com

ISSN: 2347-1697

IJIFR Impact Factor (2016) = 6.051 Volume 6, Issue 3, November 2018

Dated : 29/11/2018

Page 9: International Journal of Informative & Futuristic Research · that can be of great help to novices and experts alike. C. Node MCU: NodeMCU is an open-source firmware and development

Authorised Signature With Seal

This is certified that the paper entitled

Implementation of cloud server for real time information using Raspberry Pi and node MCU

Authored by

Dr. K. Anitha Sheela Professor, JNTUH College of Engineering Hyderabad -India

has been accepted & published online in IJIFR continuous 63rd edition

Volume 6-Issue 3, November 2018 under Paper ID: IJIFR /V6/E3/09. The mentioned paper is accepted after rigorous evaluation through double blind peer reviewed process.

International Journal of Informative & Futuristic Research

www.ijifr.com

ISSN: 2347-1697

IJIFR Impact Factor (2016) = 6.051 Volume 6, Issue 3, November 2018

Dated : 29/11/2018