as part of a project I need to find a 'lost' android device using Bluetooth signal strength (ie use a Arduino + module to physically 'scan' for the android device using signal strength, NOT the other way around!).
the problem I face is that I cant seem to find how to request the signal strength data (or RSSI) of the connected android device via serial commands (I think).
bearing in mind I am new to arduinos and coding (sorry!), how can I request the signal strength of a connected device which I can then convert into an output from the Arduino?
I am using an Arduino UNO and I currently have a HC-06 ZS-040 Bluetooth module, but if I cant get the RSSI of the connected android device with this module, but can with a different type of module, I can easily order another, so any way this could work with any cheap Bluetooth module would be much appreciated!
I'm not sure if there is a library I can use, but as I say, anyway of achieving this would be helpful!
this is for a GCSE electronics projects and deadlines are fast approaching, so a speedy response would be most appreciated
the problem I face is that I cant seem to find how to request the signal strength data (or RSSI) of the connected android device via serial commands (I think).
If you are going to send serial data to the Android, and have some application on the Android send you back the RSSI value, you are going to need to find the device, first, so you can install the application.
If you mean something else, be clearer in your project description.
I find it very hard to believe that this stupid exercise has anything to do with the GCSE but, if it does, your real problem is just as likely to be an Android one, whereby you have to write a background app so it can constantly send out bluetooth signals that Arduino can scan for. I believe this is actually possible, there is a device called Tile, which I understand works both ways.
In order to do the scanning, Arduino has to be a master, therefore the HC-06 will not do. An HC-05 may suffice but I imagine a BLE device like HM-10 would be a better bet as it has greater range and consumes less power at both ends. It also has some sort of beacon facility which may be useful.