Sound when sensor leaves proximity

arduinoproximity-sensorsensorsound

I am trying to play a sound when two devices are more than a certain distance apart, say 30ft.

Some notes:

  • The device this is for is very small, about the size of a large keychain
  • I would like a wireless solution
  • There may or may not be a line of sight between the two devices, e.g. they could be in a different room in a house
  • As far as error tolerance, this distance does not have to be exact, say 30ft +/- 10ft even

I am a programmer and am very green with hardware, so I am hoping to be pointed in the right direction. Thanks very much in advance!

Best Answer

Bluetooth Low Energy is probably the best solution for you, because proximity is one of the intended applications and there is even a proximity profile. Unless you want custom hardware, a nice Kit that can help you get started is TI's Sensor Tag

You can read about the proximity profile in the Bluetooth Website

TI even states proximity to be an application and they might support what you want with a little software.