Praguejs tessel

50 %
50 %
Information about Praguejs tessel
Devices & Hardware

Published on October 23, 2014

Author: ladislavprskavec

Source: slideshare.net

Description

Tessel is a microcontroller that runs JavaScript.

1. microcontroller that runs JavaScript Ladislav Prskavec @abtris PragueJS October 2014

2. Module Port A Module Port C Module Port B Module Port D GPIO

3. microUSB wifi CC3000 processor ARM Cortex M3 RAM 32MB Flash 32MB

4. reset button wifi button Power LED Status/debug LEDs

5. Blink var tessel = require('tessel') var led1 = tessel.led[0].output(1); var led2 = tessel.led[1].output(0); setInterval(function() { console.log("I'm bliking!!!"); led1.toggle(); led2.toggle(); }, 1000);

6. Blink DEMO

7. Climate var tessel = require('tessel'); var climatelib = require('climate-si7020'); var climate = climatelib.use(tessel.port['D']); climate.on('ready', function () { console.log('Connected to si7005'); setImmediate(function loop () { climate.readTemperature('c', function (err, temp) { climate.readHumidity(function (err, humid) { console.log('Degrees:', temp.toFixed(4) + 'C', 'Humidity:', humid.toFixed(4) + '%RH'); setTimeout(loop, 300); }); }); }); }); climate.on('error', function(err) { console.log('error connecting module', err); });

8. Climate DEMO

9. Ambient var tessel = require('tessel'); var ambientlib = require('ambient-attx4'); var ambient = ambientlib.use(tessel.port['B']); ambient.on('ready', function () { setInterval( function () { ambient.getLightLevel( function(err, ldata) { if (err) throw err; ambient.getSoundLevel( function(err, sdata) { if (err) throw err; console.log("Light level:", ldata.toFixed(8), " ", "Sound Level:", sdata.toFixed(8)); }); })}, 500); // The readings will happen every .5 seconds unless the trigger is hit ambient.setLightTrigger(0.5); // Set a light level trigger // The trigger is a float between 0 and 1 ambient.on('light-trigger', function(data) { console.log("Our light trigger was hit:", data); // Clear the trigger so it stops firing ambient.clearLightTrigger(); // After 1.5 seconds reset light trigger setTimeout(function () { ambient.setLightTrigger(0.5); },1500); }); ...

10. Ambient DEMO

11. Web Server DEMO

12. Web Server DEMO

13. Questions? Ladislav Prskavec @abtris ladislav@prskavec.net

14. Resources • http://start.tessel.io/install • https://tessel.io/docs/power • https://projects.tessel.io/projects • https://github.com/tessel/hardware/blob/master/design-files.md • https://forums.tessel.io/ • https://github.com/tessel/ambient-attx4 • https://github.com/tessel/climate-si7020 • https://github.com/tessel/relay-mono • https://github.com/johnnyman727/mqtt-climate • https://github.com/johnnyman727/tessel-webserver-demo

Add a comment

Related presentations

Apresentação sobre material design no Android, conceitos, e aplicações.

The latest Top 10 from the Rassed research program explore different ways in which...

This workshop was held at MakerFaire in Rome, the 4th of October 2014. In this wor...

linea del tiempo de mac os, linux y windos

Hax s5-voltera

Hax s5-voltera

November 10, 2014

Voltera pitch - HAX S5

Related pages

Talks 2014 « PragueJS | Czech JavaScript user group

PragueJS Welcome to Czech JavaScript user group. Home; About; Talks. 2015; 2014; 2013; 2012 ¶October 2014. Tessel is a microcontroller that runs ...
Read more

Tessel Near You: Events and Conferences | Tessel Blog

Tessel is a JavaScript-programmable microcontroller. It's Node-compatible and ships with Wifi built in. Use it to easily make physical devices that connect ...
Read more

Aleš Roubíček - ReactJS - YouTube

Aleš Roubíček - ReactJS ... PragueJS - Duration: 47:30. ... Tessel is a microcontroller that runs JavaScript.
Read more

Robin Pokorný - React a CSS - YouTube

Robin Pokorný - React a CSS ... PragueJS 26.2.2015, Avast ... Tessel is a microcontroller that runs JavaScript.
Read more

PragueJS 2014.10

PragueJS 2014.10 Share on Facebook Share on Twitter. Event in Praha. Radlicka ... Ladislav Prskavec - Tessel is a microcontroller that runs JavaScript.
Read more

Přednášky - Prskavčí blog

23.10.2014 PragueJS – Tessel is a microcontroller that runs JavaScript. 2013. ... 30.8.2012 PragueJS – GruntJS; 2011. 23.9.2011 WebExpo Deployment in ...
Read more

PragueJS pořádá již tento čtvrtek javascriptový ...

PragueJS pořádá již tento čtvrtek javascriptový meetup, ... Ladislav Prskavec – Tessel is a microcontroller that runs JavaScript.
Read more