cancel
Showing results for 
Search instead for 
Did you mean: 

NanoEdge AI Studio usage

XiaoKang
Associate

Dear Support

 

As I am trying to get familiar with the NAnoEdge AI Sudio, I tried the followed steps to setup a demo project:

1. New project -> select the EVB(NUCLEO-F401RE) and Sensor(Accelerometer - 3 Axes)

2. Regular Signals : Create a datalogger -> Select the EVB(F401RE + X-NUCLEO-IKS02A1: 3 axis, 25 Hz, range-8, samples per axis - 16) -> generate Data logger.

3. Regular Signals: Add signal-> From File -> Choose the neai_datalog.bin which is generated in STEP#2 -> continue but with followed capture's error: problem detected on line(s) 5.6.7.8,xxx.data.png

 

Could you please guide how to go to next step for benchmark?

 

Regards

Xiao Kang

1 ACCEPTED SOLUTION

Accepted Solutions
Julian E.
ST Employee

Hello @XiaoKang ,

 

The binary file is to be flashed on your F401RE to be able to log data from serial. Here you tried to import code for microcontroller as an input file containing data.

 

You can find a tutorial here where everything is explained: https://wiki.st.com/stm32mcu/wiki/AI:How_to_create_a_multi-state_vibrations_classifier_using_NanoEdge_AI_studio 

 

Basically, the steps are:

  • Generate a datalogger to be able to collect data via Serial (usb) from your board:

proteus_data_logger.png

(example with a STPROTEUS)

  • Flash the generated binary 

600px-stwin-fan-drag-and-drop.png

  • Go to the Signals steps
  • Select "From Serial (usb)"
  • Select the right COM Port"
  • Collect data

stwin-fan-neai-import-signal-02.png

  • Load the data

stwin-fan-neai-import-signal-03.png

Have a good day,

Julian


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Julian E.
ST Employee

Hello @XiaoKang ,

 

The binary file is to be flashed on your F401RE to be able to log data from serial. Here you tried to import code for microcontroller as an input file containing data.

 

You can find a tutorial here where everything is explained: https://wiki.st.com/stm32mcu/wiki/AI:How_to_create_a_multi-state_vibrations_classifier_using_NanoEdge_AI_studio 

 

Basically, the steps are:

  • Generate a datalogger to be able to collect data via Serial (usb) from your board:

proteus_data_logger.png

(example with a STPROTEUS)

  • Flash the generated binary 

600px-stwin-fan-drag-and-drop.png

  • Go to the Signals steps
  • Select "From Serial (usb)"
  • Select the right COM Port"
  • Collect data

stwin-fan-neai-import-signal-02.png

  • Load the data

stwin-fan-neai-import-signal-03.png

Have a good day,

Julian


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hi Julian

 

Thanks a lot for your explanation. That helps.

 

Regards

Xiaokang