Skip to content

Commit

Permalink
Merge pull request #373 from dtischler/main
Browse files Browse the repository at this point in the history
RaSyn fixes
  • Loading branch information
dtischler authored Apr 2, 2024
2 parents a69a7d9 + e5db046 commit 7d99afd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
6 changes: 3 additions & 3 deletions audio-projects/compressor-audio-classification-rasynboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,17 @@ On the left navigation, click on **Deployment**, and type “RaSynBoard” in th

Next, click on **Build**, and the firmware will be generated and downloaded to your computer. Once downloaded, unzip the file, and we’ll follow a similar method as earlier.

Power down the RaSynBoard if it is still running, remove the SD Card from the board and insert the SD Card into your laptop or desktop, and copy the `config.ini`, mcu_fw_120.synpkg`, `dsp_firmware.synpkg`, and `ei_model.synpkg` files from the unzipped download to the SD Card. Upon completion, eject the SD Card from your computer and return it to the RaSynBoard.
Power down the RaSynBoard if it is still running, remove the SD Card from the board and insert the SD Card into your laptop or desktop, and copy the `config.ini`, `mcu_fw_120.synpkg`, `dsp_firmware.synpkg`, and `ei_model.synpkg` files from the unzipped download to the SD Card. Upon completion, eject the SD Card from your computer and return it to the RaSynBoard.

## Inference Results

We can now power the RaSynBoard back on, the board will boot up and automatically start running the model. To see the results, we need to attach to a serial console and can view the output of any inference results. Using a standard UART adapter, connect Ground, TX, and RX to pins 4,6, and 8 on the I/O Board, as shown here:
We can now power the RaSynBoard back on, the board will boot up and automatically start running the model. To see the results, we need to attach to a serial console and can view the output of any inference results. Using a standard UART adapter, connect Ground, TX, and RX to pins 2,4, and 6 on the I/O Board, as shown here:

![](../.gitbook/assets/compressor-audio-classification-rasynboard/serial.png)

Then in a terminal, you will see the output of the model running. I have placed the RaSynBoard back on the pump, set the speed to low, and sure enough, the model is able to predict the pump is running at `low-speed`. Increasing the compressor power to 85%, the RaSynBoard now recognizes that the pump is running at `high-speed`.

![](../.gitbook/assets/compressor-audio-classification-rasynboard/inference-high.png)
![](../.gitbook/assets/compressor-audio-classification-rasynboard/inference-high-speed.png)

## Going Further

Expand Down

0 comments on commit 7d99afd

Please sign in to comment.