First Revision of sample code for interfacing ROHM Multi-Sensor Shield board with Nordic Semiconductor's nRF51-DK Development Kit Host BTLE Board

Dependencies:   BLE_API mbed nRF51822 Nordic_UART_TEMPLATE_ROHM

Dependents:   Nordic_UART_TEMPLATE_ROHM

Fork of UART_TEMPLATE by daniel veilleux

Code Example for ROHM Multi-Sensor Shield on the Nordic Semiconductor nRF51-DK

This code was written to be used with the Nordic Semiconductor nRF51-DK.

This is the basic example code for interfacing ROHM's Multi-sensor Shield Board onto this board.

Additional information about the ROHM MultiSensor Shield Board can be found at the following link: https://github.com/ROHMUSDC/ROHM_SensorPlatform_Multi-Sensor-Shield

For code example for the ROHM SENSORSHLD1-EVK-101, please see the following link: https://developer.mbed.org/teams/ROHMUSDC/code/Nordic_UART_TEMPLATE_ROHM_SHLD1Update/

Operation

Ultimately, this code will initialize all the sensors on the Multi-sensor shield board and then poll the sensors. The sensor data will then be returned to the BTLE COM port link and will be view-able on any BTLE enabled phone that can connect to the Nordic UART Application.

Supported ROHM Sensor Devices

  • BDE0600G Temperature Sensor
  • BM1383GLV Pressure Sensor
  • BU52014 Hall Sensor
  • ML8511 UV Sensor
  • RPR-0521 ALS/PROX Sensor
  • BH1745NUC Color Sensor
  • KMX62 Accel/Mag Sensor
  • KX122 Accel Sensor
  • KXG03 Gyro/Accel Sensor

Sensor Applicable Code Sections

  • Added a Section in "Main" to act as initialization
  • Added to the "Periodic Callback" to read sensor data and return to Phone/Host

Questions/Feedback

Please feel free to let us know any questions/feedback/comments/concerns on the shield implementation by contacting the following e-mail:

History

Added new code for Gyro (KXG03) default tip

2015-12-18, by kbahar3 [Fri, 18 Dec 2015 00:19:01 +0000] rev 7

Added new code for Gyro (KXG03)


Fixed Periodic Callback to send one sensor point every second. Also, fixed comments sand general formatting to make the code easier to read. Removed miscellaneous content/comments

2015-09-28, by kbahar3 [Mon, 28 Sep 2015 19:00:02 +0000] rev 6

Fixed Periodic Callback to send one sensor point every second. Also, fixed comments sand general formatting to make the code easier to read. Removed miscellaneous content/comments


Example code for interfacing ROHM's Multi-Sensor Shield onto the Nordic Semiconductor nRF51-DK BTLE Host Board

2015-09-24, by kbahar3 [Thu, 24 Sep 2015 22:23:31 +0000] rev 5

Example code for interfacing ROHM's Multi-Sensor Shield onto the Nordic Semiconductor nRF51-DK BTLE Host Board


Updated Code to show I2C Usage

2015-08-13, by kbahar3 [Thu, 13 Aug 2015 18:24:14 +0000] rev 4

Updated Code to show I2C Usage


committing latest revision... with sensor TODO indication

2015-07-27, by kbahar3 [Mon, 27 Jul 2015 20:32:00 +0000] rev 3

committing latest revision... with sensor TODO indication


Switched things to work with the shield... now DALS is actually RPR-0521

2015-07-22, by kbahar3 [Wed, 22 Jul 2015 01:05:56 +0000] rev 2

Switched things to work with the shield... now DALS is actually RPR-0521


Added some ROHM Functions

2015-07-19, by kbahar3 [Sun, 19 Jul 2015 23:14:07 +0000] rev 1

Added some ROHM Functions


Initial commit.

2014-12-15, by Daniel Veilleux [Mon, 15 Dec 2014 21:05:18 -0800] rev 0

Initial commit.