Users/jpingel/Documents/Arduino/libraries/FanPredictiveMaintenance_inferencing/src/edge-impulse-sdk/classifier/ei_fill_result_struct.h:45:69: warning: comparison between signed and unsigned integer expressions īool is_overlapping = !(c->x + c->width y + c->height x > x + width || c->y > y + height) While (input_ix x + c->width y + c->height x > x + width || c->y > y + height) Users/jpingel/Documents/Arduino/libraries/FanPredictiveMaintenance_inferencing/src/edge-impulse-sdk/dsp/numpy.hpp:2374:25: warning: comparison between signed and unsigned integer expressions Users/jpingel/Documents/Arduino/libraries/FanPredictiveMaintenance_inferencing/src/edge-impulse-sdk/dsp/numpy.hpp: In static member function ‘static int ei::numpy::welch_max_hold(float*, size_t, float*, size_t, size_t, size_t, bool)’: In file included from /Users/jpingel/Documents/Arduino/libraries/FanPredictiveMaintenance_inferencing/src/edge-impulse-sdk/classifier/ei_model_types.h:28:0,įrom /Users/jpingel/Documents/Arduino/libraries/FanPredictiveMaintenance_inferencing/src/edge-impulse-sdk/classifier/ei_run_dsp.h:26,įrom /Users/jpingel/Documents/Arduino/libraries/FanPredictiveMaintenance_inferencing/src/edge-impulse-sdk/classifier/ei_run_classifier.h:28,įrom /Users/jpingel/Documents/Arduino/libraries/FanPredictiveMaintenance_inferencing/src/FanPredictiveMaintenance_inferencing.h:55,įrom /Users/jpingel/Documents/Arduino/fan_PM_nano_rp2040_accelerometer_continuous/fan_PM_nano_rp2040_accelerometer_continuous.ino:24: #define EI_CLASSIFIER_FUSION_AXES_STRING “accX + accY + accZ”īut my project in Arduino IDE 1.8.19 now fails to compile with the error message: #define EI_CLASSIFIER_SENSOR EI_CLASSIFIER_SENSOR_ACCELEROMETER I tried replacing the above 2 lines with: #define EI_CLASSIFIER_FUSION_AXES_STRING “accX + accY + accZ + gyrX + gyrY + gyrZ” #define EI_CLASSIFIER_SENSOR EI_CLASSIFIER_SENSOR_FUSION I looked at the source code for my downloaded Arduino Library ZIP, in particular model_metadata.h: So what is configured wrong with my project? #if !defined(EI_CLASSIFIER_SENSOR) || EI_CLASSIFIER_SENSOR != EI_CLASSIFIER_SENSOR_ACCELEROMETER Which is related to the following source code lines: #error “Invalid model for current sensor” Then selected Compile and got the following error message: #include //Click here to get the library: #include Then replaced the include for the IMU on the Arduino Nano RP2040 Connect: Then after openning Arduino IDE 1.8.19 I opened the examples under: Files > Examples > FanPredictiveMaintenance_inferencing > nano_BLE33_sense_accelerometer_continuous I then copied the related ZIP archive to my Documents/Arduino/libraries folder and unzipped the ZIP library. Then I clicked on the Deployment tab and selected the Build Arduino Library button. Once that CLI was connected to EI logged on am me, I was able to create the new project listed above and start acquiring accelerometer data for training, testing, live verification. However I could not copy the UF2 file to the USB HD.Īfter un-plugging and re-plugging my Arduino Nano RP2040 COnnect, I was able to startup the EI CLI tool: Then Arduino IOT Cloud will boot a the latest firmware on the board after that the board is fine!ĭoing the above actually enabled me to re-download my local build of the firmware: ei_rp2040_firmware.uf2īefore trying Andrea’s suggestion I could go into the bootloader mode and see the USB HD: /Volumes/RPI-RP2/ Go to Arduino IOT Cloud and create a free profile I’ve a little trick for you for the firmware. Project Name: John/FanPredictiveMaintenanceĬreated project for FanPredictiveMantenance using DSP (FFT and PSD) with NN Classifier (4 classes) and K-means Anomaly Detection.īTW, Andrea Codini gave a really helpful hint to get the latest firmware loaded onto my Arduino Nano RP2040 Connect when it has been not letting me download the ei_firmware_rp2040.uf2 bootable file:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |