There are the builtin sensors of accelerometer and gyro on MtConnect03. This tutorial will show how to simply get the value from MtConnect03.
This tutorial could apply to MtConnect03, MtConnect04 and MtConnect04S.
Step 1. What hardware need to be prepared? Where to get them?
- Motion Sensor Starter Combo
- Environment Sensor Starter Combo
Except MtConnect03, you also need J-Link to connect it. Follow the guide of J-Link to know more and setup the hardware.
Step 2. Firmware
Follow instructions and you will know how to program MtConnect03 with “SoftDevice” and “Application” file. Then use mtconnect03_pedometer.hex which you just download, instead of the Application hex file to program MtConnect03.
Step 3. Install PedometerDemo.apk
Download and install the Android application on your smartphone. When you open it, will see a name with “PEDOMETER_TEST”, which is from the firmware just be wrote on MtConnect03. Click it, app will show the basic value what sensor measured. Voila!