20
CLANs - Classroom area networks Andrew Stratton [email protected]

Andrew Stratton [email protected]. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Embed Size (px)

Citation preview

Page 1: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

CLANs - Classroom area

networksAndrew Stratton

[email protected]

Page 2: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Raspberry Pi

Linux based ‘cut downmobile phone’

New Technology Old performance

SD Card boot and disk Debian image standard Python on board

and Scratch

Micro USB power – can power from laptop Optional

HDMI/AV output USB Keyboard + Mouse Ethernet PIO for VERY cheap/easy access to custom I/O

Page 3: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Mobile

Mobile Based Internet Access

Wifi

Wired Internet provider

Laptop

Mobile

Wireless

Access Point

Wireless Access Point

Wifi

Wired

3G

3G

Wireless access points have SSID (and encryption)

Page 4: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Pirate Box

Laptop

Wifi

LinuxBox

Wireless

Access Point

Filestore

Ad hoc, local wireless access SSID can be anything

Security risk... May not have encryption (very) local wireless file server

Wifi

Page 5: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Wifi Direct – new standard

Replacement for Bluetooth? Devices become Wireless Access Points, e.g.

printer scanner camera file store

Devices broadcast an SSID for connection Accessible from any wifi device

Laptop Smartphone Tablet Console

etc. Generally need to install an application/driver

Page 6: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Tablet

Smartphone

Classroom Area Networks

Laptop Wifi

(very) local Wireless Web Server n.b. Typically NO Internet Access May be called ‘Personal Area Networks’

LinuxBox

Wireless Access Point

Web Server

Application Server

Local Database

Page 7: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Clientside Software

Html 5 Browser based applications: jQuery Mobile (library)

Javascript+CSS library based on jQuery Cross platform

Application cache The application works offline

i.e. when the CLAN server is unavailable Local Storage

Allows persistent data on the client device, e.g.user idapplication data, e.g. answers to questions,

downloaded feedback, etc.

Client application is ‘installed’ from the Server

Page 8: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Serverside Software

Most Serverside technologies availabledotNET presently an issue

Windows is missing a ‘piece’ of the puzzle

Suitable are:LAMP - Apache / MySql / PHPRuby on RailsNode.jsPython Java and JSPGroovy on Grails

Page 9: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Proof of concept - Quiz

Nokia Internet Tablet Slow processor, low memory, linux based equivalent to Raspberry Pi (but available at the time )

Deliberately not ‘industry’ strength Local IP client address allocated by DHCP Domain name redirection

e.g. google.co.uk will load local web server pages Uses ‘dnsmasq’ – Linux software

Tablet

Smartphone

LaptopWifi

N810 Internet

Tablet

Wireless Access Point

webpy static files

webpy application

Sqlite Database

Html 5jQuery Mobile

Page 10: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Proof of concept - Quiz

jQuery Interface

Page 11: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Proof of concept - Quiz Sqlite persistence

jQuery Mobile widgets

Page 12: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Proof of concept - Quiz

Admin interface Extend Database

Page 13: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

CLAN Benefits

Can be used anywhere (within range)Up a mountain, on a coach/ship/train/plane In schools with no wifi/internet/login In Hallam

Allows any server software, i.e.No need to ask IT Services But - no support from IT Services

Technical demonstrations, e.g.Ruby on RailsWireless Game server

Runs locally Runs only while switched on

Page 14: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

On Campus ideas

‘Regular’ classes:Registering physical attendance at

seminar/lectureGiving immediate (anonymous) feedback

e.g. ‘traffic light cups’ ‘Throw away’ comprehension tests

Open days - Quick, easy access toCourse and/or module detailsTimetablePersonal/anonymous questionsRegistering interest

Page 15: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Off Campus ideas

Coach/field trip, e.g. reading objectives (class resources)choosing groupssubmitting findings reportgiving feedback

School/College visitsSame as Open Days

Take the data with you...

Potential for ‘anywhere’ setupe.g. Train Station, Students Union, Library,

etc. May allow ‘uncool’ access

Page 16: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Conference usage

Bring wireless network with youNo need to setup security logins on site

All setup can be done offsite and then moved

No need for even a power supply Allow registration by smartphone

Have to be physically present Database can be copied at end (or disposed

of) Reduce registration queues No need for a desk

Registration staff could walk around the registration area

While attendees chat/relax/network

Page 17: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

What CLANs are unlikely to be

A way to access the internetCan be – but mostly pointless

Persistent environmentsSince not always availableBut can cross multiple sessionsNoSql databases could allow syncing to

internet Available from the internet

Just local (wifi) access onlyBut Ethernet is on board (model B RPi)

Page 18: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Issues Availability of Smartphones

Could share one e.g. guest access with ‘split’ screen or tabs

Only one connection – so no Internet access No email, blackboard, wikipedia, facebook, twitter,

etc. Could be a good thing

Html 5 Browser Becoming much more popular/available

Technical issues Susannah’s mobile didn’t work Wireless contention

Security But – raises awareness of ‘hijacking’ possibility

Performance

Page 19: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Next - Raspberry Pi CLAN Similar power to n810 Cheap

Runs linux (debian) Includes python as standard

Boots from an SD card Can have different images for different

purposes Swap card to swap class !?

Can power from a laptop HDMI output (if needed) But - some Wifi Driver issues – early days...

RPi Wifi USB

SD Card

Power lead

Total

£20/35 £15 ~£4 ~£2 £41/56

Page 20: Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python

Thank you

Now I need your ideas...

[email protected]