kwisatz / Tessel-Clap-Switch

Tessel listens for a clap, then toggles a relay to turn something on and off.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tessel-Clap-Switch

Tessel listens for a clap, then toggles a relay to turn something on and off.

###You need:

###To use:

  1. Clone this repo
  2. npm install
  3. Connect lights to Relay Module in Relay port 1
  4. Plug in modules to Tessel: Relay in port A; Ambient in port B
  5. Plug in tessel via USB
  6. Plug in power to lights/relay
  7. Run "tessel run index.js" from this folder in your terminal
  8. Clap! Watch the lights turn on and off.

###See it work: On vine

About

Tessel listens for a clap, then toggles a relay to turn something on and off.


Languages

Language:JavaScript 100.0%