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.

CC2541: Using some sensor on keyfob? Receive data on USB Dongle?

Other Parts Discussed in Thread: CC2541DK-MINI, CC2541, CC2640, CC2650STK, BLE-STACK

I just want to use a LDR Resistor or some sensor which can give digital INPUT/ Analog INPUT on KeyFob?

And the USB Dongle can give changes in readings and values?

How can it be possible?

  • Hello Adoni,

    Although your description is not too detailed, I would suggest looking at the SensorTag as a reference. What you describe is doable in BLE, but more details would be needed to implement such a solution. I would also look at some introductory BLE material on the BLE wiki: www.ti.com/ble-wiki.

    Best wishes
  • Hello JXS,

    I am currently using CC2541DK-MINI for testing & learning purposes.
    I recently tested the HID Advanced Remote Control ?

    I downloaded using the CC Debugger the CC2541 (HIDAdvRemote) Hex file inside the Keyfob & (HIDAdvRemoteDongle) Hex inside the USB Dongle. But I couldnt able to make the connection between USB Dongle and Keyfob?

    1. Can you suggest me on that?

    2. I am thinking to make a small application using LDR Resistor or some sensor attached to Keyfob and let see the output values effected by that sensor/ldr resistor or potentiometer for example to see the results wireles..
    That is my objective at the moment. Do I have to use IAR Embedded Workbench for it? I dont think I have to use any sample application. What necessary can be done for it?
  • Hi Adoni,

    Which hex (name) did you program on the keyfob? Note that the "CC2541_ARC_HIDAdvRemote.hex" is for the Advance Remote Control HW, not keyfob.

    You will need to use IAR to build any SDK project / code using the BLE-Stack for CC254x. If you use CC2640, you can use CCS, which is free when used with the CC DevPack Debugger + CC2650STK SensorTag 2.0.

    Have you defined your profile / services to exchange the resistor values via BLE? As mentioned in the other post, it may be worthwhile going through the SW Developer's Guide (SWRU393).

    Best wishes