20
Pi In The Sky (Web Interface) Gaston Seneza Philander Smith College, Little Rock, AR SIParCS Intern Mentors: Dr. Richard Loft & Dr. Raghu Raj Kumar 1

Pi In The Sky (Web Interface) Gaston Seneza Philander Smith College, Little Rock, AR SIParCS Intern Mentors: Dr. Richard Loft & Dr. Raghu Raj Kumar 1

Embed Size (px)

Citation preview

1

Pi In The Sky (Web Interface)

Gaston SenezaPhilander Smith College, Little Rock, AR

SIParCS InternMentors: Dr. Richard Loft & Dr. Raghu Raj Kumar

2

Raspberry Pi

Low cost, low power

Credit card-sized computer

ARM Cortex A7 Processor

R-Pi 2 version is approximately 6 times faster than R-Pi 1

R-Pi 2 Model B

What’s R-Pi?

3

Web-based Weather Data System

WeatherPi Station(Sensors)

Connect toMySQL + Fetch data

Display data on web

Request data

Push DataParse data+StoreData as Database

Response data

4

Total Cost & Technologies used

Total Cost Estimated: $200

sensors

R-Pi 2Model B

Web Interface

5

Web Interface(WI)

WI is the interaction between a user and a software running on a web server

User Interface (UI) is the interaction between web browser and a page it downloaded and rendered.

Goal of WI: Generate self-explanatory, user friendly UI that produces desired results

Web server minimizes undesired outputs for user

Is WI the same as UI?

No

So what is it then?

6

Tools and Requirements

Apache2 server

php5 and php5-gd

MySQL-Server for Database

Drupal version 7.18

Graphing Libraries: jpGraph & Google charts tools

7

Our Website Languages used: HTML5, JS, PHP, CSS3

Purpose:

Provide sensor data to the users according to their request

Display graph and tabular data for input time parameter

8

WI Design Requirements Motivation from Bill Scott…”For every action

there’s an equal and opposite interaction“

For every request data, there’s a response data

00:00 18:00

07-18-2015

9

PHP5 & PHP5-GD

PHP5 to produce dynamic web pages

PHP5 for accessing MySQL database server

PHP5-GD to dynamically manipulate images

10

JpGraph

Connect to MySQL Database

s

11

What is Drupal?

~Free open source software

~CMS, runs on Apache2 server

~Large development Community

12

Why Drupal?

A platform for rapid website assembly

Enormously scalable

Flexible for deployment

Freeeeeeeee!!!!!!!!!!!

13

Testing Drupal

Implementation was first done using only Apache

Attempted to improve content management using Drupal

Installed and used Google chart modules for graphics

14

REQUEST FORM

00:00 23:00

07-23-2015

15

A REQUEST GETS A RESPONSE

Web server is contacted and returns a graph of Temperature vs time

(°C)

16

Results & Conclusions

~For every request made, a server manages to respond

~Data observation: Tables or Plots

~My Experience: Apache was easier to work with, but Drupal offers more modules

18

Future work

Developing Drupal modules that will allow us to plot real-time data on Drupal site and add security

More research on how R-Pi supports Drupal

Creating a dynamic website using Drupal

19

Acknowledgement

Dr. Richard Loft & Dr. Raghu Raj Kumar

Priyanka Sanghavi

Rashmi Oak

Harish Ramachandran

Amogh Simha

Silvia

Jennifer W.

SIParCS Co-Interns

IAN BRAGG, WHITNEY NELSON, K. JENISH

20

Questions