The Gopher Tessel
Or the internet of obsolete things…
Hi, I’m Emma.
She/Her
Why am I talking about an obsolete internet service?
If you are interested in a thing, chances are there are others who are interested too. — Simone Giertz
Back in the 1990’s
Before the Web…
Gopher?
I had forgotten about Gopher…
Has anyone written a Gopher server in Node?
Oh good.
Oh good.
Someone else is interested in this problem too.
Thanks, Simone.
Tessles run Node!
Tessels support sensors:
Temperature
Humidity
A Gopher that told you about its location
And another reason for doing this: learning how to work with a Tessel.
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();
});
}
Yeah, it’s all callbacks…
Attach sensors, load code and…
Attach sensors, load code and…
Humidity and temperature sensor
Attach sensors, load code and…
Humidity and temperature sensor
LEDs
Demo!
And the blinking lights…
Next!
Control other people’s lights.
Cat photos.
https://github.com/emceeaich/gopher-tessel
Thank you!
emma@mozilla.com // @triagegirl