Skip to content

Latest commit

 

History

History
77 lines (45 loc) · 1.59 KB

README.md

File metadata and controls

77 lines (45 loc) · 1.59 KB

Digital Level

This is a digital level built with Tessel 2, its accelerometer module and compatible webcam.

Page

Features

  • Camera viewfinder
  • Sensitivity tuning
  • Set and reset calibration
  • LED indicator
  • LED flashlight

Setup

Get the source code

git clone https://github.com/ESLab-2017/Lab2.git 
cd Lab2

Download and install all the dependencies

npm install

Usage

Connect Tessel 2 and let it connect to wifi

t2 list
t2 wifi -n wifi_name -p wifi_password

Check the ip address of your Tessel 2

t2 wifi

Change the url in client/src/App.js

Build the client-side web page

yarn run build
yarn run move

Plug in accelerometer and camera modules

Start server

npm start

Open a browser and go to

localhost:3000

Start leveling!


Built With

  • Tessel 2 - A robust IoT and robotics development platform.
  • React - A Javascript libray for building user interface.
  • Express - Web framwork for Node.js.
  • socket.io - Enables real-time bidirectional event-based communication.

Team

Kuan Tung Kevin Mårtensson
Kuan Tung Mike Lee