1 of 29

The Gopher Tessel

Or the internet of obsolete things…

2 of 29

Hi, I’m Emma.

She/Her

3 of 29

Why am I talking about an obsolete internet service?

4 of 29

If you are interested in a thing, chances are there are others who are interested too. — Simone Giertz

5 of 29

Back in the 1990’s

6 of 29

Before the Web…

7 of 29

Gopher?

8 of 29

I had forgotten about Gopher…

9 of 29

Has anyone written a Gopher server in Node?

10 of 29

Oh good.

11 of 29

Oh good.

Someone else is interested in this problem too.

Thanks, Simone.

12 of 29

Tessles run Node!

13 of 29

Tessels support sensors:

14 of 29

Temperature

15 of 29

Humidity

16 of 29

A Gopher that told you about its location

17 of 29

And another reason for doing this: learning how to work with a Tessel.

18 of 29

else if (data === 'Temp\r\n') {

console.log('Reading climate module temp data');

climate.readTemperature('f', function(err, temp) {

console.log('Serving climate module temp data');

socket.write('The current temperature at this device\'s location is '

+ temp.toFixed(4) + 'F\r\n');

socket.end();

});

}

19 of 29

Yeah, it’s all callbacks…

20 of 29

Attach sensors, load code and…

21 of 29

Attach sensors, load code and…

Humidity and temperature sensor

22 of 29

Attach sensors, load code and…

Humidity and temperature sensor

LEDs

23 of 29

Demo!

24 of 29

And the blinking lights…

25 of 29

Next!

26 of 29

Control other people’s lights.

27 of 29

Cat photos.

28 of 29

https://github.com/emceeaich/gopher-tessel

29 of 29

Thank you!

emma@mozilla.com // @triagegirl