32
Uh… I don’t know what I’m doing…

SydPHP: IoT and Ugly Ties

Embed Size (px)

Citation preview

Uh…

I don’t know what I’m doing…

SydPHP

IoT and RSSKenneth Scott Huntley

Miller College of SWSi TAFEMiller, NSW, Australia

#SydPHP #UglyTie @MillerTAFEScott

SydPHP

IoT and RSSKenneth Scott Huntley

Miller College of SWSi TAFEMiller, NSW, Australia

#SydPHP #UglyTie @MillerTAFEScott

IoT an

d

Ugly T

ies

Let me tell you about my friend Steve

#SydPHP #UglyTie @MillerTAFEScott

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.

It made me wonder if I could use electronics to light items of clothing on fire as well.

Could I light a tie on fire?

#SydPHP #UglyTie @MillerTAFEScott

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.

It made me wonder if I could use electronics to light items of clothing on fire as well.

Could I light a tie on fire?

#SydPHP #UglyTie @MillerTAFEScott

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.

It made me wonder if I could use electronics to light items of clothing on fire as well.

Could I light a tie on fire?

#SydPHP #UglyTie @MillerTAFEScott

Steve

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.

It made me wonder if I could use electronics to light items of clothing on fire as well.

Could I light a tie on fire?

#SydPHP #UglyTie @MillerTAFEScott

Steve

Adriana

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.

It made me wonder if I could use electronics to light items of clothing on fire as well.

Could I light a tie on fire?

#SydPHP #UglyTie @MillerTAFEScott

Steve

Who is this guy?

Adriana

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.

It made me wonder if I could use electronics to light items of clothing on fire as well.

Could I light a tie on fire?

#SydPHP #UglyTie @MillerTAFEScott

Steve

Who is this guy?

Adriana

And why is he so short?

Adventures in Conference Proposals

#SydPHP #UglyTie @MillerTAFEScott

Adventures in Conference Proposals

I thought “hey, what if I could connect a wearable to Moodle?”

After all, there was a Moodle Moot in Japan that had a call for proposals out.

They’ll never select my proposal anyway.

Meh.

#SydPHP #UglyTie @MillerTAFEScott

Adventures in Conference Proposals

I thought “hey, what if I could connect a wearable to Moodle?”

After all, there was a Moodle Moot in Japan that had a call for proposals out.

They’ll never select my proposal anyway.

Meh.

#SydPHP #UglyTie @MillerTAFEScott

I’m a big fan of famous last words

Adventures in Conference Proposals

I thought “hey, what if I could connect a wearable to Moodle?”

After all, there was a Moodle Moot in Japan that had a call for proposals out.

They’ll never select my proposal anyway.

Meh.

#SydPHP #UglyTie @MillerTAFEScott

I’m a big fan of famous last words

Adventures in Conference Proposals

I thought “hey, what if I could connect a wearable to Moodle?”

After all, there was a Moodle Moot in Japan that had a call for proposals out.

They’ll never select my proposal anyway.

Meh.

#SydPHP #UglyTie @MillerTAFEScott

I’m a big fan of famous last words

And a big fan of the anvil

drop animation in Keynote

Adventures in Conference Proposals

I thought “hey, what if I could connect a wearable to Moodle?”

After all, there was a Moodle Moot in Japan that had a call for proposals out.

They’ll never select my proposal anyway.

Meh.

#SydPHP #UglyTie @MillerTAFEScott

I’m a big fan of famous last words

And a big fan of the anvil

drop animation in KeynoteWoo Hoo!

#SydPHP #UglyTie @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.

The tie I took to Japan was working* off a Lilypad USB.

#SydPHP #UglyTie @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.

The tie I took to Japan was working* off a Lilypad USB.

But is this the Internet of Things?

Well… funny thing about that…

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

#SydPHP #UglyTie @MillerTAFEScott

#SydPHP #UglyTie @MillerTAFEScott

The “Backend” The “Frontend”

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…

#SydPHP #UglyTie @MillerTAFEScott

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…

#SydPHP #UglyTie @MillerTAFEScott

Adafruit “Bluefruit”

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.

#SydPHP #UglyTie @MillerTAFEScott

#SydPHP #UglyTie @MillerTAFEScott

The “Backend” The “Frontend”

#SydPHP #UglyTie @MillerTAFEScott

The “Backend” The “Frontend”

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

something to show…

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

#SydPHP #UglyTie @MillerTAFEScott

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

#SydPHP #UglyTie @MillerTAFEScott

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

#SydPHP #UglyTie @MillerTAFEScott

It turns out I had the answer two weeks ago…PunchThrough Design’s LightBlue Bean

❖ It arrived the day of phunconf

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

❖ Four days before I left for Japan, I started playing with it, and realised:

BEAN + PYTHON = MOODLE RSS THINGY I WANTED ALL ALONG

#SydPHP #UglyTie @MillerTAFEScott

#SydPHP #UglyTie @MillerTAFEScott

The “Backend” The “Frontend”

#SydPHP #UglyTie @MillerTAFEScott

The “Backend” The “Frontend”

So let’s swap out the backend last night for today…

…even though I won’t have time to demo it…

Demo Time

#SydPHP #UglyTie @MillerTAFEScott