Skip to content

jaspreetsingh009/webui_msp430

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Web UI for MSP430

alt tag The web interface is created using Node.js. You will need "serialport" and "socket.io" modules to make this work. You also need to upload the launchpad code to a MSP430FR5739 launchpad (a.k.a fraunchpad)

Procedure: (on ubuntu)

1. Install node.js:
    sudo apt-get install python-software-properties
    sudo add-apt-repository ppa:chris-lea/node.js
    sudo apt-get update
    sudo apt-get install nodejs

2. Install npm (node package manager):
    sudo apt-get install npm

3. Install the aforementioned modules (first "cd" to you project directory)
    npm install serialport
    npm install socket.io @0.9.14

These modules will be installed in "node_modules" folder in your current directory. Now, i will recommend installing "localtunnel" which will allow you to source your localhost to a webpage (intranet to internet).

4. Install localtunnel
    sudo apt-get install ruby ruby1.8-dev rubygems1.8 libopenssl-ruby
    sudo gem install localtunnel

Running the server:

The server will run on port 8080 (you can change this in the server.js file if required)

Run server  :   node index.html (first cd to your project directory)
locatunnel   :   lt --port 8080

The localtunnel will generate a subdomain for you and you can use that to access your website anywhere.

References:
1. Node beginner book : http://www.nodebeginner.org/
2. Understanding node.js : Link to the post
3. Youtube demo video: youtube link

Special thanks to Jigyasu Juneja for testing this for me!

for any queries or suggestions, feel free to contact me at jaspreetsingh009@gmail.com

About

A web based user interface for TI's MSP430FR5739 launchpad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published