First Revision of sample code for interfacing ROHM Multi-Sensor Shield board with MultiTech's DragonFly Host Board
Dependencies: mbed
Fork of ROHM-DragonFly-MultiSensorShield_Interface by
Code Example for ROHM Mutli-Sensor Shield interfaced onto the MultiTech DragonFly Host Cell Board
This code was written to be used with the MultiTech DragonFly Evaluation Kit.
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
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 through the on-board USB to UART interface and can be viewable on any PC with a standard COM port reader (Terminal, TeraTerm, HyperTerm, etc...)
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
- All functionality can be found in the function main()
- Ultimately code is split up into an "initalization" and "main loop" section
- Specific sensor information can be found using the #ifdef statements at the beginning of the code
Questions/Feedback
Please feel free to let us know any questions/feedback/comments/concerns you may have by addressing the following e-mail:
History
No Changes to the Main Code, only updated mbed-src to mbed library
2016-01-04, by kbahar3 [Mon, 04 Jan 2016 22:56:55 +0000] rev 8
No Changes to the Main Code, only updated mbed-src to mbed library
Added code for KXG03
2015-12-18, by kbahar3 [Fri, 18 Dec 2015 00:23:19 +0000] rev 7
Added code for KXG03
Fixed Units
2015-09-28, by kbahar3 [Mon, 28 Sep 2015 18:36:57 +0000] rev 6
Fixed Units
Initial Revision of Sample Program interfacing ROHM Shield with MultiTech Dragonfly EVK Board
2015-09-25, by kbahar3 [Fri, 25 Sep 2015 20:54:35 +0000] rev 5
Initial Revision of Sample Program interfacing ROHM Shield with MultiTech Dragonfly EVK Board
Modified basic code to configure BH1745 registers and read back what has been written.
2015-09-24, by sk84life85 [Thu, 24 Sep 2015 21:50:52 +0000] rev 4
Modified basic code to configure BH1745 registers and read back what has been written.
none
2015-09-23, by sk84life85 [Wed, 23 Sep 2015 23:02:58 +0000] rev 3
none
none
2015-09-23, by sk84life85 [Wed, 23 Sep 2015 22:18:55 +0000] rev 2
none
Chasing LED and Hello on serial debug port 9600.
2015-06-08, by BlueShadow [Mon, 08 Jun 2015 19:55:59 +0000] rev 1
Chasing LED and Hello on serial debug port 9600.
rotating LED example;
2015-05-28, by BlueShadow [Thu, 28 May 2015 22:51:24 +0000] rev 0
rotating LED example;