Web UI for MSP430
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.
Special thanks to Jigyasu Juneja for testing this for me!
for any queries or suggestions, feel free to contact me at firstname.lastname@example.org