Giter Site home page Giter Site logo

tesselhackathon's Introduction

I wrote this README.MD file to help my team members by streamlining the learning process with Tessel and its modules. Our group won the most creative award at the TesselHackathon, hosted by Fullstack Academy. We built a version of labyrinth with an accelerometer, servo modules, and some cardboard.

Hardware: Tessel

Modules: Camera Servo Servo Motor Accelerometer Ambient Sensor

Team manager: Sam Ballan

Team members: Dane Tomseth Haily Keen Laura Weiner Matthew Starr Richard Song

Install NVM: 1st, make certain your bash profile is setup: touch ~/.bash_profile

Then.. run the install script. Copy and paste this in terminal curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash

Then.. install a later version of Node nvm install 0.12.x (x = version, 0.12 should work)

Debugging the WIFI....

  • tessel wifi -d (disconnect)
  • power cycle
  • tessel wifi -d (disconnect)
  • tessel wifi -l (list wifi networks)
  • tessel erase (clear the tessel);

Start instructions: Install the command line interface: npm install -g http://s3.amazonaws.com/builds.tessel.io/cli/tessel-cli-current.tar.gz

Tessel 1 Docs: https://github.com/tessel/t1-docs

Connect Tessel to WiFi: https://github.com/tessel/t1-docs/blob/master/wifi.md

Commands: tessel tessel list tessel logs tessel push [options] tessel repl tessel wifi -n -p [-s <security (wep/wpa/wpa2 by default)>] tessel wifi -n tessel wifi -l (lower case L) tessel wifi -d (disconnect) tessel pack tessel check tessel blink

Options: -a, --args Arguments to passin as process.argv -q, --quiet [Tessel] Hide tessel deployment messages -m, --messages [Tessel] Forward stdin as child process messages -l, --logs [Tessel] Stay connected and print logs -s, --single [Tessel] Push a single script file to Tessel -h, --help Show usage for tessel push -u --upload-dir Directory where uploads from process.sendfile should be saved

Deploying

When a host computer deploys code to Tessel (either via the run or push command), the host computer bundles up the entire "project directory" and sends it to the Tessel. The CLI must wrap up all the dependencies (node_modules and subfolders) before sending the project over because the Tessel has no mechanism for fetching them from the host computer once the script has initiated on Tessel. The CLI defines the root of a "project directory" as the highest level folder that contains a node_modules folder or a package.json (note: if you pass the -s flag, only a single file is sent). This means that when tessel run or tessel push is called, the CLI will traverse up the directory tree until it finds a folder that matches that criteria. It will not bundle the home folder of a filesystem because it's probably greater than the 32MB available on Tessel.

If you're having trouble figuring out which files are being sent to Tessel, use the tessel pack command.

Remember to npm install to get all of the node_modules listed in the package.json_

Tessel repo: https://github.com/tessel/t1-docs

Servo library: npm install servo-pca9685 https://github.com/tessel/servo-pca9685

Accelerometer library: npm install accel-mma84 https://github.com/tessel/accel-mma84

Ambient sensor library: npm install ambient-attx4 https://github.com/tessel/ambient-attx4

Camera library: npm install camera-vc0706 https://github.com/tessel/camera-vc0706

tesselhackathon's People

Contributors

danetomseth avatar lauralexis avatar ris0 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.