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.

Debugger DevPack I2C Grove Sensor help



Dear Community, I am a newbie to TI development environment, I have connected an I2C sensor to Sensor Tag Debugger DevPack which is connected to USB power and TI Sensortag. Now I want to read sensor values on IOS app. Please guide what application I will use or do I have to update firmware or code something? Please guide in detail on other options as well.

  • Moving this to "Bluetooth Low Energy Forum"

    Regards,
    Gigi Joseph.
  • Thanks Gigi, but anyone there to answer?
  • Hello,

    I have a similar question. I need to connect an external sensor to TI SensorTag via DevPack. Are there examples how to read SDA and supply SCLK via the BLE application sw?

    If this is answered elsewhere please provide links.

    Thanks!
  • Noman,
    In case you are using the iOS app of the Lightblue app, you could simply try "Explore Services" and then manually read/write to individual services. You would have to make a new service for your sensor by copying from any of the existing services for I2C sensors in the SensorTag firmware. The I2C bus is shared between all the sensors (including the one on the Grove connector on the debug devpack) except for the MPU9250. So, you can easily write the code for your sensor, and simply add it by creating one more task inside the "main" function.

    Venu,
    Unfortunately, generating an SCLK from the app would be too non-trivial and non-essential. You would have to change the firmware anyway, so why not do it the easy way.
  • Dear Anup, Thanks for your kind reply. I tried but still in vain. I could not find Explore Services in LightBlue App. Also it is strange I could not find any example, primer or hands on by TI or Community or anyone how to use a grove sensor with Sensortag/DevPack although it is very powerful feature. A detailed walkthrough for doing this using LightBlue/SensorTag App or any other tool, step by step guide etc and how to edit/update firmware/in which program etc would be very useful and informative. Someone out there do it using any I2C grove sensor to get values on phone or PC (evothings) please.
  • Hi Noman,

    "Explore Services" can be seen only in the iOS app. The LightBlue App simply shows all the devices you can connect to, and then as you keep clicking devices, it will expose the services being broadcast. Then, once you click the service, it will expose the characteristics which you can Read, Write or get Notified about, within the app.

    For the firmware, it is recommended that you follow TI's Software Development guide (swru393). If you have downloaded the BLE Stack, it should be present within the documentation folder in PDF form. It will be very easy to change the existing examples to suit your needs though. Just give it a shot! :)
  • Dear Anup, remained busy in other activities, today I again started to play with DevPack and wanted to attach 3 I2C grove sensors with it. Can you please guide/walk through what is workflow software/development wise to make these sensors data available in iOS app?
  • I have connected debugDevPack+Sensortag2 to PC and green light is on. I have accessed (TI Resource Explorer>Examples>SensorTagApp>CCS Cloud) online and now I can see all files/folders in SensorTag project workspace. There are many folders such as application, board, drivers, Profiles etc. Now can you kindly please guide next step? which files I have to copy and edit to make it working with an I2C grove sensor such as Barometer Sensor (www.seeedstudio.com/.../Grove-Barometer-HighAccuracy-p-1865.html). An elaborated answer would be helpful for me and many others in same situation.
  • Hi everyone,

    I am currently having the same issue. I was convinced to buy the devpack debugger since the ti supporters I talked to said that grove was so easy to implement with the sensortags and devpack debuggers. However, there still remains to be no documentation. Has anyone figured this out?
  • Justin,

    Can you elaborate on what you need documentation on?
    Examples/step by step guides here: processors.wiki.ti.com/.../Category:BluetoothLE
    Devpack debugger info here: www.ti.com/.../CC-DEVPACK-DEBUG
    SensorTag info here: processors.wiki.ti.com/.../CC2650_SensorTag_User's_Guide
  • Hi Sean,

    I am relatively new to the CCS projects and I am attempting to pull data from a Grove soil moisture sensor I soldered onto the devpack debugger. I understand that the sensortag project in CCS will have to be modified but I have tried several different strategies with no success. Do you have any recommendations?

    Thanks,

    Justin