BLE Proximity-based Switch using Tessel

18610Published On Jul 03,2016 14:40 PMshare0

Switches on a relay when an authorized BLE device is in range. You get to specify the BLE device(s) you want to activate the switch– I'll show you how in the Code Setup instructions.

This could be used to turn lights/audio/heaters/whatever on and off based on the presence of people's devices. For example, I could add the device IDs for the smartphones of everyone in my office, and have the office turn on when the first one of us arrives in the morning, and off when everyone has left.


  • Tessel
  • Bluetooth Low Energy Module
  • Relay Module
  • Something to plug into the relay that you want switched on or off.
  • One or more BLE devices that can advertise– I used a Myo; you could use a smartphone, another Tessel BLE module, or any number of other cool BLE devices.

Hardware setup

Code setup



$75.00 Add To Cart
Tessel BLE Module
$50.00 Add To Cart
Tessel Relay Module
$25.00 Add To Cart
Add All To Cart
Related Recipes
Popular Recipes