Mcube MM8003 User Manual

Orientation sensor module
Table of Contents

Advertisement

Quick Links

MM8003
Orientation Sensor Module
User Manual
V1.0

Advertisement

Table of Contents
loading

Summary of Contents for Mcube MM8003

  • Page 1 MM8003 Orientation Sensor Module User Manual V1.0...
  • Page 2: Table Of Contents

    LED Indicator ........................7 mCube OSM Toolbox ..................... 8 Installation of UART Bridge Virtual COM Port (VCP) Driver ..........8 Installation of mCube OSM Toolbox ..................9 How To Use mCube OSM Toolbox ..................11 3.3.1 Connect to MM8003 ....................11 3.3.2 Graphs ........................13...
  • Page 3 Device Firmware Update (DFU) ..................25 Over-The-Air (OTA) ......................26 Troubleshooting ......................27 Downloads ........................28 All Other mCube Documentation ..................28 Software ..........................28 Revision History ......................29 Legal ..........................30 mCube Proprietary APS-045-0032V1.0 © 2019 mCube Inc. All rights reserved.
  • Page 4: Figures

    MM8003 User Manual Figures Figure 1: The MM8003 Orientation Sensors Module (OSM) ..........6 Figure 2: VCP Driver Installation .................... 8 Figure 3: Installation Folder Selection ................... 9 Figure 4: mCube OSM Component Selection ............... 9 Figure 5: License Agreement Acceptance ................10 Figure 6: Shortcut Selection in Start Menu .................
  • Page 5: Tables

    MM8003 User Manual Tables Table 1: The MM8003 Main Components ................6 Table 2: LED Status Indicators ....................7 Table 3: Default UART Parameters for Connection ............12 Table 4: Console Data Format after Connection ..............12 Table 5: Record Data in CSV File ..................15 Table 6: Configuration Table with Default Settings ............
  • Page 6: Introduction

    MM8003 User Manual Introduction The MM8003 is a precision 9-axis Orientation Sensor Module (OSM) with both wired (USB) and wireless (Bluetooth) connectivity. It provides fused sensor data (Quaternion, Euler Angles, Linear Acceleration, Gravity, Heading) or raw data output from a 3-axis gyroscope, a 3-axis accelerometer, and a 3-axis magnetometer.
  • Page 7: Mm8003 - The Hardware

    MM8003 User Manual MM8003 – The hardware Figure 1 shows the physical layout of the MM8003 with descriptions of the buttons, indicators, and devices in Table 1. The MM8003 is equipped with all hardware necessary to provide following features: •...
  • Page 8: Led Indicator

    MM8003 User Manual 2.1 LED Indicator The tri-color status LED on MM8003 is designed to show the board status with different patterns before it is connected to computers or mobile devices. The details of each pattern are described in Table 2.
  • Page 9: Mcube Osm Toolbox

    3.1 Installation of UART Bridge Virtual COM Port (VCP) Driver Once MM8003 is connected to a computer running Windows OS 7 or newer for the first time, the system will detect several USB devices and will automatically install all related drivers through internet.
  • Page 10: Installation Of Mcube Osm Toolbox

    MM8003 User Manual 3.2 Installation of mCube OSM Toolbox This section describes the installation procedures of mCube OSM Toolbox. Windows 7 (32 / 64 bit) or newer is recommended. Step 1. Run the mCube OSM ToolBox installer (.exe). Step 2. Select the destination folder for the toolbox. The default installation location ‘C:\Program Files (x86)\mCube’...
  • Page 11: Figure 5: License Agreement Acceptance

    Figure 5: License Agreement Acceptance Step 5. Select the directory for the shortcut in Start Menu and click Next. The default installation directory ‘mCube’ is recommended. Figure 6: Shortcut Selection in Start Menu mCube Proprietary APS-045-0032V1.0 © 2019 mCube Inc. All rights reserved.
  • Page 12: How To Use Mcube Osm Toolbox

    Step 1. Click ‘Search Port’ and select the ‘OSM’ COM port following the default setting in Table 3 to choose the baud rate. Note: If the MM8003 is configured already and the baud rate is not at 115200 as default, the status LED will blink in yellow indicating wrong command status after is connected. User needs to disconnect the MM8003 and switch to the correct baud rate before reconnecting.
  • Page 13: Figure 9: Data In The Toolbox Console

    Table 4. Note: It is normal that Euler angles are all zero when MM8003 is just powered on. User needs to leave MM8003 on steady platform for several seconds to calibrate sensors. The value of Euler angles would be normal once they are calibrated.
  • Page 14: Graphs

    Step 1. After MM8003 is connected to the host PC, click ‘Graphs->3D View’ and a 3D cube corresponding to the real-time MM8003 orientation shows up in the middle of the window.
  • Page 15: Data Logging

    The CSV logs can be easily imported to MTALAB, Excel, Python, etc. for further analysis and evaluation. Step 1. After MM8003 is connected to the host PC, click ‘Utilities -> Start Saving Log’ to select the save path and enter the name of CSV file in the Log manager.
  • Page 16: Figure 13: Enable Logging Feature

    CSV log follows the specific format which describes in Table 5. Accel Gyro Pitch(θ), Roll(ϕ), Yaw(ψ) Data Time stamp (X, Y, Z) (X, Y, Z) (X, Y, Z) μT Units degree Table 5: Record Data in CSV File mCube Proprietary APS-045-0032V1.0 © 2019 mCube Inc. All rights reserved.
  • Page 17: Mm8003 Configuration

    Data Output, and Reference Magnetic Field. This section describes the recommended (default) settings and its meaning to MM8003. Step 1. After MM8003 is connected to the host PC, click ‘Utilities -> Device Config’ to open the MM8003 configuration interface. A Device Config window pops up as shown in Figure 15.
  • Page 18: Identification

    MM8003, status LED would keep in red for 30 secs for calibration. User needs to rotate MM8003 in all direction until the status LED resume to blink in blue or green. If MM8003 is still blinking in red after 30 seconds, user needs to send the calibration command again or to reboot the MM8003.
  • Page 19: Mcube Osm App

    Step 1. After APP starts, it defaults to ‘Dashboard’ page, as shown in Figure 16, which shows the scanning result of MM8003 including the information of each module. The User can use a ‘pull down’ gesture to scan and refresh the list of MM8003. The details of device information are described in Table 8.
  • Page 20: Graphs

    Same as mCube OSM toolbox, OSM APP also supports five different options for real-time monitoring the received data through BLE. Step 1. After MM8003 is connected to the mobile device, user can switch the page from ‘Dashboard’ to ‘Plots’. Four different charts show the real-time waveforms of filtered sensor data from accelerometer, magnetometer, gyroscope and Euler angles which are shown in Figure 17.
  • Page 21: Figure 17: 2D Line Charts In Osm App

    Step 2. Click ‘3D’ at the upper right-hand corner of the APP. A 3D cube corresponding to the real-time MM8003 orientation will be shown in the middle of the screen as same as Figure 18. Note: Before sensors get calibrated, 3D cube will keep in static until Euler angles are updated after sensors are ready.
  • Page 22: Data Logging

    4.2.3 Data Logging Similar to the mCube OSM toolbox, the OSM APP allows user to record the sensor raw data and Euler angles through BLE via CSV file in the mobile root path. It can be easily imported to MATLAB, Excel, Python, etc. for further evaluation.
  • Page 23: Reconnection

    Reconnection In the ‘Settings’ page, user can enable the reconnection feature by selecting it to be enabled or disabled. Once it sets to enable, mobile device will connect to the target MM8003 automatically when connection is lost. Figure 20: Reconnection 4.2.5...
  • Page 24 The user can control the MM8003 power status through ‘Power options’. The user can send the reboot command easily to restart the MM8003 when it is connected to the mobile device. Or to send the reset command to recover all MM8003 setting back to factory default.
  • Page 25: Identification

    User needs to rotate MM8003 in all direction until the status LED resume blinking in blue or green. If MM8003 is still blinking in red after 30 seconds, user needs to send the calibration command again or to reboot the MM8003.
  • Page 26: Firmware Update

    Step 5. Disconnect the USB cable to power down MM8003. Step 6. Hold the white button on the MM8003 and reconnect the USB cable to power on MM8003. Now, the MM8003 is in bootloader mode and waits to load the new firmware.
  • Page 27: Over-The-Air (Ota)

    The following section describes how to update MM8003 firmware using mobile device through mCube OSM APP. Step 1. Update mCube OSM APP to the latest version through Google Play, App Store or apk from mCube website which mentioned in Chapter 7 Downloads.
  • Page 28: Troubleshooting

    If there is any problem about the connection from MM8003 to computer, some possible solutions might be: • Ensure that host PC is connected to MM8003 through USB cable provided in the box. • Remove old Virtual COM Port (VCP) drivers and install the latest one from CP210x website.
  • Page 29: Downloads

    MM8003 User Manual Downloads To download latest bin file for MM8003, visit mCube GitHub page. https://github.com/mcubemems/mCube_OSM_MM8003 7.1 All Other mCube Documentation http://www.mcubemems.com/resources-support/resources/ 7.2 Software ⚫ mCube OSM Toolbox Installer https://github.com/mcubemems/mCube_OSM_MM8003/tree/master/Toolbox ⚫ mCube OSM Android APP apk https://github.com/mcubemems/mCube_OSM_MM8003/tree/master/Android mCube Proprietary APS-045-0032V1.0...
  • Page 30: Revision History

    MM8003 User Manual Revision History Date Revision Description 2019-11-13 APS-045-0032V1.0 Initial release mCube Proprietary APS-045-0032V1.0 © 2019 mCube Inc. All rights reserved.
  • Page 31: Legal

    M-CUBE and the M-CUBE logo are trademarks of M-CUBE, Inc., All other product or service names are the property of their respective owners. © M-CUBE, Inc. 2019. All rights reserved. mCube Proprietary APS-045-0032V1.0 © 2019 mCube Inc. All rights reserved.

Table of Contents