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:
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
8:9ab9b42c3be4 | 2016-01-04 | kbahar3 | No Changes to the Main Code, only updated mbed-src to mbed library |
7:ae40e49391c8 | 2015-12-18 | kbahar3 | Added code for KXG03 |
6:872eb454b3c4 | 2015-09-28 | kbahar3 | Fixed Units |
5:bd9652c0f991 | 2015-09-25 | kbahar3 | Initial Revision of Sample Program interfacing ROHM Shield with MultiTech Dragonfly EVK Board |
4:8be5ec736893 | 2015-09-24 | sk84life85 | Modified basic code to configure BH1745 registers and read back what has been written. |
3:e2e8d92e5fcd | 2015-09-23 | sk84life85 | none |
2:0c50ce4d9d04 | 2015-09-23 | sk84life85 | none |
1:8d2af54ac542 | 2015-06-08 | BlueShadow | Chasing LED and Hello on serial debug port 9600. |
0:698b236430f4 | 2015-05-28 | BlueShadow | rotating LED example; |