This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2650STK: Activating CC2650 STK buzzer from android app

Part Number: CC2650STK
Other Parts Discussed in Thread: CC2640

I am relatively new to the CC2650STK sensortag.  i been searching for a way to activate the buzzer from android application directly by clicking a button. First click make the buzzer ring, 2nd click will turn it off.

Any example or tutorial i can follow to do it? i am currently using the sensortag project in BLE stack 2-1-1 due to the project requirements.

  • Hi,

    You can take a look at this section see how buzzer is controlled in our software.
    processors.wiki.ti.com/.../CC2650_SensorTag_User's_Guide
  • Hi christin,

    Does that mean i have to write the characteristic from the android app into the SensorTag? and it can only be activated in remote mode ?

    Also i been testing the sensortag using the simplelink app on both IOS and Android. The accelerator reading is different between the 2 application. on the Android application the Z axis is - 1 when the sensortag is lying down while on the IOS application it display positive 1.

    Regards,
  • according to your original question " i been searching for a way to activate the buzzer from android application directly by clicking a button. First click make the buzzer ring, 2nd click will turn it off"
    That sounds like you want to control it remotely from the app, that's why I give you the link. You can also trigger the buzzer by push a button on sensortag or the change of sensor values. However, those functionalities are not included in our default image, you will have to write your own code to get it in place.

    According to the wikipage I attached, the sensor data is not calibrated as stated below : "Since the SensorTag reference platform supplies the raw, uncalibrated sensor outputs to the IoT enabled BLE Client (e.g., Smart Device Application), it is up to the system designer to implement & perform the necessary calibration for the intended operating environment. Implementation may require cooperation with the specific sensor supplier(s). Specific calibration may be implemented directly in the CC2640 firmware and/or in the BLE Client. For example, to implement a precision movement sensor solution, e.g., a MPU9250 vibration detection algorithm, TI recommends connecting with the InvenSense Developers Corner."

    You can start the software development training using our simplelink academy.
    software-dl.ti.com/.../overview.html
  • Thanks for the guide. i got it working already
  • Hi,

    I am currently working on the same thing, meaning I want to control the buzzer with my personal Android App for the SensorTag.
    I found the UUID for the buzzer, however I am not really sure how to implement this in Android?

    Since you said you already got it working, can you help me with that?

    Thanks,

    Claudia