推荐星级:
  • 1
  • 2
  • 3
  • 4
  • 5

如何安装和运行osxMotionAR活动识别库

更新时间:2020-01-02 08:31:25 大小:276K 上传用户:梦留香查看TA发布的资源 标签:osxMotionAR 下载积分:2分 评价赚积分 (如何评价?) 打赏 收藏 评论(0) 举报

资料介绍

osxMotionAR是一个用于X-CUBE-MEMS1的附加软件包。该软件运行在STM32单片机上,包括识别ST惯性传感器、LSM6DS0和LSM6DS3的驱动程序。它提供有关用户活动(静止、步行、快走、慢跑、骑自行车和驾驶)的实时信息


  要在核子-F401重新评估板上正确安装osxMoTIonAR活动识别库,必须执行以下步骤:


部分文件列表

文件名 大小
如何安装和运行osxMotionAR活动识别库.pdf 276K

部分页面预览

(完整内容请下载后查看)
DT0047  
Design tip  
How to install and run the osxMotionAR Activity Recognition  
library  
By Raffaele Riva  
Main components  
osxMotionAR  
Real-time Activity Recognition software expansion for  
STM32Cube  
X-NUCLEO-IKS01A1  
Motion MEMS and environmental sensor expansion board  
for STM32 Nucleo  
STEVAL-MKI160V1  
NUCLEO-F401RE  
LSM6DS3 adapter board for a standard DIL24 socket  
STM32 Nucleo-64 development board with  
STM32F401RET6 MCU, supports Arduino and ST morpho  
connectivity  
How to install the osxMotionAR Activity Recognition SW library  
The osxMotionAR is an add-on software package for X-CUBE-MEMS1. The software runs  
on STM32 MCU and includes drivers that recognize the ST inertial sensors, LSM6DS0 and  
LSM6DS3. It provides real-time information on user activity (stationary, walking, fast  
walking, jogging, biking and driving).  
The following steps are necessary to correctly install the osxMotionAR Activity Recognition  
library on the NUCLEO-F401RE evaluation board:  
1. Plug the X-NUCLEO-IKS01A1 expansion board into the Nucleo-F401  
board (if the STEVAL-MKI160V1 board is available, plug it into the X-  
NUCLEO-IKS01A1 expansion board).  
2. Connect the Nucleo-F401 board to the PC through a mini-USB cable.  
Drivers will be automatically installed.  
3. If the X-CUBE-MEMS1 package is already installed on the PC to go  
step 4, if not  
Download the X-CUBE-MEMS1 package from st.com  
Unzip the file (suggested location: “C:\Program Files  
(x86)\STMicroelectronics\OpenSoftwareX”).  
4. Download and install the package, osxMotionAR from st.com. Note:  
the default installation will create a folder named “Workspace” in the  
folder C:\Program Files (x86)\STMicroelectronics\OpenSoftwareX”  
This will also install the OSX LIcenseWizard. Note: the default  
December 2015  
DT0047 Rev 1  
1/4  
installation will create a folder names “OSX LicenseWizard” in the  
folder “C:\Program Files (x86)\STMicroelectronics\OpenSoftwareX”  
5. From the osxMotionAR package, copy the folder  
STM32_OSX_MotionAR_Library (in “\Middlewares\ST”) into the X-  
CUBE-MEMS1 package in the folder “\Middlewares\ST”. Note: if the  
path “\Middlewares\ST” is not present in the X-CUBE-MEMS1, create  
it.  
6. From the osxMotionAR package, copy the folder DataLogActivity (in  
Projects\STM32F4xx-Nucleo\Applications”) into the X-CUBE-MEMS1  
package in the folder Projects\Multi\Examples”.  
7. Open the OSX LicenseWizard:  
Select MotionAR” library in the “Select the library to be  
activated…” button.  
Click on “Identify STM32 Nucleo board”.  
Generate a license request.  
Send the license request. An automatic mail will be sent from  
.  
8. To compile the application example there are available three different  
IDEs: IAR Embedded Workbench, KEIL, and System Workbench for  
STM32. Taking as a reference IAR, open the project DataLogActivity  
in the folder Projects\Multi\Examples\DataLogActivity\EWARM”  
Copy and paste the license number obtained in step 7 into the  
file osx_license.h in the folder  
\Middlewares\ST\STM32_OSX_MotionAR_Library”  
Compile the project and download into the target Nucleo-  
F401RE board.  
How to run the Activity Recognition demo  
The steps in table below are necessary to run the reference example demo embedding the  
osxMotionAR library.  
NOTE 1: PC GUI is the executable “Sensors_DataLog.exe” located in the X-CUBE-MEMS1  
package in the folder “\Utilities\PC_software\Sensors_DataLog”  
NOTE 2: If connected to a PC with a mini-B USB cable, then steps 2 and 3 have to be  
done without the PC GUI open.  
Step  
What to do  
Output  
1) Power on the board  
Connect to Nucleo board:  
a. either the external battery and  
close the jumper JP1 on the  
Nucleo board  
LD3 ON  
b. or the mini-B USB cable to  
PC  
2) Run the algorithm  
3) Stop the algorithm  
Press the B1 button  
Press the B1 button a second time  
LD2 blinking fast  
LD2 blinking with code as  
in Table2 “LED LD2  
activity codes” in UM1936  
December 2015  
DT0047 Rev 1  
2/4  

全部评论(0)

暂无评论

上传资源 上传优质资源有赏金

  • 打赏
  • 30日榜单

推荐下载