價格:免費
更新日期:2014-08-28
檔案大小:382k
目前版本:1.1.3
版本需求:Android 4.4 以上版本
官方網站:http://twitter.com/tumaku_
Email:montanerj@yahoo.com
Android project created during the M-week (February 2014) at MakespaceMadrid to show how to manage Bluetooth Low Energy devices form an Android terminal. More information (in Spanish) available at:
http://wiki.makespacemadrid.org/index.php?title=Bombilla_LED_de_colores_con_Bluetooth_Low_Energy
A tutorial in English coming soon...
The application scans for any BLE device and its services and characteristics.
If the Yeelight Service is found, an activity can be launched to control colour and intensity of Yeelight Blue bulb
If SensorTag services are found, an activity can be launched to visualise the state of the buttons, ambient temperature (IR Temperature sensor) and humidity from the SensorTag.
If Tethercell service is found, an activity can be launched to change the state (OFF/ON) of the Tethercell battery, check its current voltage level and define timers to switch it on/off.
If HM10 service is found, an activity can be launched to connect to the HM10 and simulate a Serial connection to the module. An arduino skecth is included in the repository to show how HM10 module works.
If BLEDduino UART service is found, an activity can be launched to connect to the BLEduino and simulate a Serial connection to the module. You will need to upload BLEduino "Console Demo" sketch.
- upload "Console demo" sketch to BLEduino http://bleduino.cc/start/examples/1
- reset BLEduino with onboard Reset button
- open Arduino IDE console (this must be done after pressing the BLEduino reset button!)
- start BLE scanning from MSMSBLE Android app and select BLEduino device, UART service (shown in blue) and UART characteristics (also in blue).
This application has been tested on a Google Nexus 7 (2013 edition)
Source code available at:
https://github.com/jmgjmg/MSMBle
Based on the API released by Yeelight:
http://www.yeelight.com/en_US/info/download
Based on the code created by Dave Smith (Double Encore):
https://github.com/devunwired/accessory-samples/tree/master/BluetoothGatt
http://www.doubleencore.com/2013/12/bluetooth-smart-for-android/
Based on the documentation of Texas Instruments SensorTag:
http://processors.wiki.ti.com/index.php/SensorTag_User_Guide
Created by Javier Montaner (twitter: @tumaku_) during M-week (February 2014) of MakeSpaceMadrid
http://www.makespacemadrid.org
@ 2014 Javier Montaner
Special thanks to @jgalaron and @@jjimenef fot their contribution to understand the behaviour of the HM10 module
Licensed under the MIT Open Source License
http://opensource.org/licenses/MIT
Based on the API released by Yeelight:
http://www.yeelight.com/en_US/info/download
Based on the code created by Dave Smith (Double Encore) distributed under MIT Open Source License
https://github.com/devunwired/accessory-samples/tree/master/BluetoothGatt
http://www.doubleencore.com/2013/12/bluetooth-smart-for-android/