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

(Also view this project/get the code easily at the Tessel projects page)

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

Step 1: Plug in Wires to Relay Module

A relay acts as a switch– either connecting ('on') or not connecting ('off') the two wires fed into the channel.

Use a pen or a nail to press down on the top of the relay, and feed in the red (power) wire.

The ground wire doesn't go into the relay; it just goes straight to the power adapter.

<p>Cool! Have you used this in any larger projects?</p>
<p>Not the lights. I've been playing around with electrodes + Tessel lately: https://github.com/Frijol/Tessel-GPIO-EMG</p>

About This Instructable




Bio: An engineer, seamstress, cook, coder, and overall maker. Spent a summer at Instructables; got a degree in E: Neural Engineering at Olin College; made a ... More »
More by SelkeyMoonbeam:Orienteering Using a Thumb Compass How to Pack Hangers How to Make a 3D-Printable CAD Model from MR Scans 
Add instructable to: