Skip to content

Web UI based data acquisition & control unit for FRDM-KL25z Development board

Notifications You must be signed in to change notification settings

manasdas17/IoT_FRDM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT_FRDM

Web UI based data logger for FRDM-KL25z Development board

alt tag The web interface is created using Node.js. You will need "serialport", "socket.io", "smoothie" & "ws" modules to make this work. You also need to upload the mbed code to a FRDM-KL25z dev. board. Click the link in References [1] for installation instructions on Linux based operation system.

Installation Instructions: (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: "./Web UI Source/node_modules")
    npm install serialport
    npm install socket.io
    npm install smoothie
    npm install ws

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.


H/W Schematic:

alt tag

References:

1. Youtube demo video: youtube link

About

Web UI based data acquisition & control unit for FRDM-KL25z Development board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.2%
  • HTML 15.7%
  • C++ 2.1%