Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A web based user interface for TI's MSP430FR5739 launchpad
branch: master
Failed to load latest commit information.
launchpad code Update main.c
webui Update main.html
README.md Update README.md

README.md

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

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

Something went wrong with that request. Please try again.