Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: zzzzzzcobra on March 30, 2012, 09:31:51 AM

Title: Bluetooth question
Post by: zzzzzzcobra on March 30, 2012, 09:31:51 AM
Is it possible to alter a blue tooth device say for a phone to allow the phone to beep based upon the distances away from the phone that the blue tooth travels. So if the blue tooth device has a range of 30', it would send a signal to the phone at different predetermined distances that the blue tooth travels away up until it is out of range? I would think this would have something to do with the signal getting weaker thus telling the phone to beep depending on signal strength. Any thoughts would be appreciated.
Title: Re: Bluetooth question
Post by: Soeren on March 30, 2012, 10:01:18 AM
Is it possible to alter a blue tooth device say for a phone to allow the phone to beep based upon the distances away from the phone that the blue tooth travels. So if the blue tooth device has a range of 30', it would send a signal to the phone at different predetermined distances that the blue tooth travels away up until it is out of range? I would think this would have something to do with the signal getting weaker thus telling the phone to beep depending on signal strength. Any thoughts would be appreciated.
Assuming you want to use it for measuring distance, the short answer is no, as lots of things will influence signal strength, like the relative humidity of the air, structures around it of various material, sunspot activity and a host of other factors outside of your control.
For a relative measure (like. now it's nearer than before etc.), it will depend on whether your phone have pogrammatic access to the BTSS, which some does.
I don't think my present phone does, but it serves its intended purpose in 45x75mm! 8)
Title: Re: Bluetooth question
Post by: zzzzzzcobra on April 02, 2012, 09:09:46 AM
Not to concerend about the accuracy of the distance. Just would like somehow for the phone to know when the bluetooth device hits a certain distance away and then the phone would beep. How would you reccomend doing this or do you have a better idea on making this work besides the blue tooth route?
Title: Re: Bluetooth question
Post by: Gertlex on April 02, 2012, 07:48:00 PM
You're still asking too much. You can get the same signal at 30 ft, or at 1 ft if there's a wooden table in between the devices...

Add in that bluetooth is pretty inflexible, software-wise, from what I've seen.... And it's not worth your time, IMHO.

There's this item (http://www.amazon.com/Bluetooth-Bracelet-Vibration-Display-Missed/dp/B00263L64I/ref=sr_1_1?ie=UTF8&qid=1333417633&sr=8-1), which may be what you're looking for. (I don't think it is) ... It's a piece of crap, speaking from personal experience.
Title: Re: Bluetooth question
Post by: Admin on April 04, 2012, 10:57:04 PM
Let's save you have an Android phone.

You write an app for Android that accesses Bluetooth. It should have a value called a 'signal strength indicator', usually denoted as RSSI, that you can access.

You then have your app play a .wav file beep sound according to the RSSI returned.

Or if you have an iPhone, you write an iPhone app. I only have experience programming Android, however . . .

As previous posters mentioned, accuracy won't be that great, but it'll do the job.