Skip to content

kuoe0/MPU6050-WebPlot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPU6050-WebPlot

plotting the signal from MPU6050

Latest version: v0.5.5

Usage

For back-end:

$ ./service_start.py [serial port] [baud rate] [polling timeout]

The data format received from deivce is 6 integers separated by comma in one line. For example, 123,456,789,-123,-456,-789.

For front-end:

Connect to http://localhost:8888/ in web browser.

Preview

web plot

Environment

  • OS X 10.9
  • Python 2.7.6

Requirement

Python

  • pyserial 2.7
  • tornado 3.1.1
$ pip install pyserial
$ pip install tornado

JavaScript

  • NodeJS
  • npm
  • bower
$ npm install -g bower
$ bower install