Use an IR signal to latch/unlatch a relay.
Plug something into the relay's channel 1 (like a flashing light, for instance).
Plug the relay into port C.
Plug the infrared module into port A.
Upload the code, and then point any old IR remote at the IR module.
The Tessel will toggle the relay (switch on/off) any time it receives infrared data.
Ta da! You now have the simplest possible remote-controlled switch.Materials
- Infrared Module
- Relay Module
- Infrared remote of some kind. Any should do; the code isn't looking for any particular signal.