Skip to content

pirumpi/emic2-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emic 2 Web Interface

This is my first attent to create a Tessel module utilizing simple components from Radio Shack and Sparkfun.

Components used

Software

Wiring

Tessel emic2

Assembly

Assembly 1

Assembly 2

Assembly 3

Assembly 4

Assembly 5

Web Interfance

webinterface

Install & run

    git clone https://github.com/pirumpi/emic2-interface.git
    npm install //Install dependencies 
    tessel push app.js //run app

Code Preview

    var tessel = require('tessel');
    var router = require('tiny-router');
    var emic2 = require('emic2').use(tessel.port['D']);
    router
        .use('static', {path: './static'})
        .get('/language/{lan}', function(req, res){
            emic2.setLanguage(req.body.lan);
            res.send('ok');
        })
        .get('/volume/{vol}', function(req, res){
            emic2.setVolume(parseInt(req.body.vol));
            res.send('ok');
        })
        .........

Comments

The module is actually too big, so I can't connect other modules if this one is connected. I would really like to get my hands on a Tessel prototype board so I can get the right mesurements. Overall, it was a fun and simple projects for the holidays.

About

A web interface for the Emic 2 module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published