nRF51 SDK - S210 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Bicycle Speed and Cadence

Speed and Cadence Sensor

The combined bicycle speed and cadence sensor implementation implements all the features, which are required for this type of sensor to be compliant with the ANT+ Bicycle Speed and Cadence profile, as defined by the ANT+ Bike Speed and Cadence Device Profile specification:

  • Transmit data about the users speed and cadence over a single ANT channel.

The general architecture of the combined bicycle speed and cadence sensor is illustrated in the picture below.

bicycle_speed_and_cadence_sensor_design.png
Architecture overview
Combined bicycle speed and cadence sensor configuration options

The following compile time configuration options are available to suite various combined bicycle speed and cadence sensor implementations:

  • CBSC_NETWORK_KEY ANT PLUS network key.
  • ANTPLUS_NETWORK_NUMBER Network number associated with the channel.
  • CBSC_TX_ANT_CHANNEL Used channel number.
  • CBSC_TX_DEVICE_NUMBER Used device number.
  • CBSC_DEVICE_TYPE Used device type.
  • CBSC_TX_TRANS_TYPE Used transmission type.
  • CBSC_RF_FREQ Used channel radio frequency offset from 2400MHz.
  • CBSC_MSG_PERIOD Used channel period used in 32 kHz counts.
Development phase configuration options

The combined bicycle speed and cadence sensor will trace error handler specific information to UART depending on the selected compile time configuration options.

The following compile time configuration options are available, and enabled by default, to assist in the development phase of the combined bicycle speed and cadence sensor implementation:

  • TRACE_UART When defined UART trace outputting is enabled.
Note
The ANT+ Network Key is available for ANT+ Adopters. Please refer to http://thisisant.com to become an ANT+ Adopter and access the key.