37
If you know about how the web works, you know that when you request a webpage…

Moodle and the Internet of Things

Embed Size (px)

Citation preview

Page 1: Moodle and the Internet of Things

If you know about how the web works,

you know that when you request a webpage…

Page 2: Moodle and the Internet of Things

…you get sent back a response code.

Page 3: Moodle and the Internet of Things

“200” means everything OK, so you never see that one.

That’s why most people don’t know about these codes.

Page 4: Moodle and the Internet of Things

Occasionally you’ll get a “404”, meaning the HTML file wasn’t found.

Page 5: Moodle and the Internet of Things

Maybe you’ll get a “301”, “307” or “308” if the page has moved…

Page 6: Moodle and the Internet of Things

…or a “504” if the Internet is a little slow today.*

*much more of a problem in Australia than here in Japan!

Page 7: Moodle and the Internet of Things

You might get a “403 - Forbidden” if you’re not supposed to access that page.

Or a “407” if you have to authorise your proxy connection.

Page 8: Moodle and the Internet of Things

Or maybe you’ll get a “418” if the webserver is actually a teapot.

Page 9: Moodle and the Internet of Things

True story, 418 is the response code if the server is actually a little teapot.

Page 10: Moodle and the Internet of Things

How odd…

Page 11: Moodle and the Internet of Things

This makes more sense if you look at the date the “Hyper Text Coffee Pot Control Protocol” was published on.

Page 12: Moodle and the Internet of Things

April 1, 1998

Page 13: Moodle and the Internet of Things

It’s an April Fool’s Day joke.

Page 14: Moodle and the Internet of Things

But we live in an age when appliances like televisions and refrigerators are connected to the Internet.

Page 15: Moodle and the Internet of Things

An age when an old April Fool’s Day joke starts coming true…

Page 16: Moodle and the Internet of Things

Moodle Moot Japan 2015

Moodle and the Internet of Things

Kenneth Scott Huntleyケネス スコット ハントリー

Miller College of SWSi TAFEMiller, NSW, Australia

#MootJP15 @MillerTAFEScott

Page 17: Moodle and the Internet of Things

おはようございます。

#MootJP15 @MillerTAFEScott

G’Day!

How’s it going, eh?

Page 18: Moodle and the Internet of Things

My name is Scott.

I’m a Canadian-Australian from Miller College, part of South Western Sydney Institute of TAFE (SWSi), Sydney, Australia.

#MootJP15 @MillerTAFEScott

Page 19: Moodle and the Internet of Things

TAFE: Technical and Furthering Education

(vocational qualifications, such as the trades)

#MootJP15 @MillerTAFEScott

Page 20: Moodle and the Internet of Things

TAFE NSW consists of a number of institutes.

SWSi is the South West Sydney Institute.

Miller College is one of the SWSi campuses.

#MootJP15 @MillerTAFEScott

Page 21: Moodle and the Internet of Things

#MootJP15 @MillerTAFEScott

Page 22: Moodle and the Internet of Things
Page 23: Moodle and the Internet of Things
Page 24: Moodle and the Internet of Things

Let me tell you about my friend Steve

Steve is the guy who got me into the Internet of Things by lighting a t-shirt on fire.

#MootJP15 @MillerTAFEScott

Steve

2 other good friends who don’t fit this narrative but I still

love and don’t want to feel neglected

Page 25: Moodle and the Internet of Things

Demo Time

#MootJP15 @MillerTAFEScott

Page 26: Moodle and the Internet of Things

#MootJP15 @MillerTAFEScott

Getting the tie working was a very long and difficult process for a software guy.

I experimented with two boards designed for wearables, the Lilypad USB and the Adafruit Flora.

Today, the tie is working off a Lilypad USB.

Page 27: Moodle and the Internet of Things

But is this the Internet of Things?

Well… funny thing about that…

The Flora board was the one I selected for the tie…

#MootJP15 @MillerTAFEScott

Page 28: Moodle and the Internet of Things

#MootJP15 @MillerTAFEScott

The “Backend” The “Frontend”

Page 29: Moodle and the Internet of Things

But is this the Internet of Things?

Originally the “backend” was hooked up to Bluetooth.

The idea was a message could be sent to the tie.

Like if an RSS feed changed.

And Moodle events can generate RSS feeds…

#MootJP15 @MillerTAFEScott

Adafruit “Bluefruit”

Page 30: Moodle and the Internet of Things

But is this the Internet of Things?But…

Getting a stable connection was difficult because of Unknown Reason X and “I’m a software guy”.

Actually, I’m pretty sure Unknown Reason X is that Bluetooth and the Neopixel LEDs are drawing too much power at the same time. But I don’t know how to fix that.

#MootJP15 @MillerTAFEScott

Page 31: Moodle and the Internet of Things

#MootJP15 @MillerTAFEScott

The “Backend” The “Frontend”

So let’s just quickly swap out the backend so I at least have

something to show…

Page 32: Moodle and the Internet of Things

Oh noes

During debugging (on Feb 10th), I actually broke a Lilypad USB.

This day sucked.

We found enough spare parts to sew together another backend

#MootJP15 @MillerTAFEScott

Page 33: Moodle and the Internet of Things

Oh noes

During debugging (on Feb 10th), I actually broke a Lilypad USB.

This day sucked.

We found enough spare parts to sew together another backend

#MootJP15 @MillerTAFEScott

Page 34: Moodle and the Internet of Things

It turns out I had the answer two weeks ago…

PunchThrough Design’s LightBlue Bean

❖ It arrived two to three weeks ago

❖ Didn’t play with it much trying to get other demos ready

❖ Last weekend, four days before I left for Japan, I started playing with it, and realised:

BEAN + PYTHON = MOODLE RSS THINGY I WANTED ALL ALONG#MootJP15 @MillerTAFEScott

Page 35: Moodle and the Internet of Things

Getting back to the point…

So, this is pretty and all, but who cares?

It’s not about a tie, or a pair of gloves, or RSS.

The bigger picture is can we use IoT in eLearning?

#MootJP15 @MillerTAFEScott

Page 36: Moodle and the Internet of Things

Demo Time……kind of…

#MootJP15 @MillerTAFEScott

Page 37: Moodle and the Internet of Things

Thank you very much for listening to my crazy stories and ideas.

#MootJP15 @MillerTAFEScott

Ta!

どうもありがとうございました