Skip to content

Install

billroy edited this page Mar 22, 2013 · 4 revisions

Installing Bitlash Commander

First, you must install Bitlash onto your Arduino; then you must install Bitlash Commander, which has some pre-requisites.

Installing Bitlash on the Arduino

Install the Bitlash library from GitHub into your Arduino library folder (see https://github.com/billroy/bitlash/wiki/install).

Next, (after restarting the Arduino IDE), connect your arduino and perform these commands in the Arduino IDE to upload the bitlashdemo sketch, which speaks basic Bitlash:

File -> Examples -> bitlash -> bitlashdemo
File -> Upload

This wouldn't be a bad time to connect to Bitlash on the arduino using the Serial Monitor (at 57600 baud) and familiarize yourself with Bitlash a bit. When you're done, close the Serial Monitor and continue here.

Installing Bitlash Commander on the PC

Install Prerequisites: node.js, git, build environment

You need node.js (http://nodejs.org) and git (http://git-scm.com). Do those installs, and return here.

You also need a compiler and build environment for your platform so that the serial port driver will build successfully. Follow the guidance for your platform here in the section titled "To Install" before proceeding: https://github.com/voodootikigod/node-serialport

Install Bitlash Commander

In a new terminal window, incant:

$ git clone http://github.com/billroy/bitlash-commander
$ cd bitlash-commander
$ npm install
$ node index.js

Open a web browser on localhost:3000 to see the default control panel.

See Server Options for details on other options starting the server.

Clone this wiki locally