LittleBits "EtchASketch" Style controller for the WaterColorBot via CNCServer
JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
littleBitsController
.gitignore
LICENSE
README.md
etch-a-bits.js
package.json

README.md

Etch-A-Bits

A LittleBits "EtchASketch" Style controller for the WaterColorBot via CNCServer.

Etch-A-bits demo

Check out the video of this project in action!

What you need:

  1. 1 littleBits Arduino kit, includes fork, button, two dimmers, power block & Arduino block
  2. 1 RaspberryPi or other computer of almost any kind capable of running Node.js programs with at least two USB ports
  3. 1 WaterColorBot
  4. Optionally, a Buddha Board. Currently this app is setup for only a simple Buddha Board demo, though it could be changed easily to allow for getting other colors, as long as you can manage the limitation of only one button.

Etch-a-Bits Build

Build it:

  1. Connect all the littleBits blocks together as shown above.
  2. Clone or download a copy of this code to your computer.
  3. Open the code from the the "littleBitsController" folder in your Arduino IDE, and upload that to the littleBits Arduino. Remember the battery needs to be connected and switched on to be able to upload to the Arduino.
  4. On the Raspberry Pi, install Node.js, then clone this repository (git clone https://github.com/techninja/etch-a-bits.git), or download the ZIP file as above.
  5. Go into the directory (cd etch-a-bits/), and run npm install. This will chug away for a while, downloading, compiling and installing all required dependencies.
  6. Plug in the WaterColorBot, then plug in the littleBits Arduino (with power), and run the app via node etch-a-bits.js. The Serial ports each one provides should be automatically selected and connected.
  7. The orange-yellow TX light on the Arduino should light and stay lit when it's transmitting data to the the program. If it isn't lit, it isn't transmitting. Any loss of power to the littlebits will reset the Arduino and break the connection. We highly reccomend the white mounting board for your finished controller.

Use it!

  • Press the button once to go get water. Once it finishes it will go back to the last position on the canvas and put the brush/pen down.
  • Turn the dimmers for 1:1 control of the X and Y Axes
  • Double-click the button to lift and park the brush/pen. Any movement of the dimmers after park (or before you get water) will allow for accurate positioning of the "last position" without actually drawing, allowing you to make broken line drawings.

Made by TechNinja & "Super-Awesome" Sylvia as a 1 day hack for Maker Faire Bay Area 2015. See the video here.