Your Kit-of-Parts

You should have:

  • WEFT board (EAGLE files)
  • Electrode (EAGLE files)
  • Another Electrode
  • Extra set of barrel-to-screw-terminal connectors
  • Tiny breadboard
  • Some M-F jumpers
  • A sensor of some kind, probably an analog light sensor
  • Piezo disk for debugging and extra fun

You also need:

  • Laptop with Arduino, Teensyduino installed.
  • (Optional) Project with analog output that you want to map to electrovibration signal
  • Micro-USB cable to load sketches and power your board

Some resources and references that will be handy, now and later:

About the Microcontroller

We’re using the excellent Teensy 3.2 for this, because it has a DAC and an excellent Audio Library that makes waveform generation way easier. I set mine to run at 96MHz, but any of its clock options should work fine with the i2c interface. For analog waveform generation using the phase accumulator method, use the fastest possible clock speed (the DAC blanks out during interrupt and i2c transactions, so the faster the clock, the less noticeable the blanking).

Here’s the documentation page for the Teensy we’re using.

Here’s a pinout (front and back) made by PJRC. The WEFT UI Board uses pins 5, 6, 8, and A14.

Some Teensy-specific libraries we’ll be using:

  • The Audio Library
  • The Encoder library (I like this one because the pins used can be any combination of interrupt-enabled or not)