Skip to content

Tensorflow Micro Speech Example using Mbed (STM32F49ZI, NUCLEO-F429ZI)

Notifications You must be signed in to change notification settings

jasonwhwang/tensorflow_micro_speech_mbed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tensorfow Micro Speech example with Mbed Speech

Tensorflow Library

https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/experimental/micro/examples/micro_speech

Adafruit Micro Speech Demo using External Mic

https://learn.adafruit.com/tensorflow-lite-for-edgebadge-kit-quickstart/micro-speech-demo

Main Audio Processing File

audio_provider.cpp

Dev Board

NUCLEO-F429ZI with Mbed OS 5 - https://os.mbed.com/platforms/ST-Nucleo-F429ZI/ Adafruit MAX9814 Microphone - https://learn.adafruit.com/adafruit-agc-electret-microphone-amplifier-max9814/overview

Mbed OS 5 Docs

https://os.mbed.com/docs/mbed-os/v5.14/apis/index.html

Setup

  1. Install mbed-cli
  2. Install the GNU Arm Embedded Toolchain
  3. If the toolchain is installed to the default path, configure GCC_ARM_PATH as below:
mbed config -G GCC_ARM_PATH "C:\Program Files (x86)\GNU Tools ARM Embedded\9 2019-q4-major/bin"
  1. Clone this repo
  2. To load the dependencies, run:
mbed config root .
mbed deploy
  1. To compile the program, make sure the board is plugged in to the computer and run:
mbed compile -m auto -t GCC_ARM

This should give you a .bin file in the BUILD folder which can be flashed to the board by dragging the file to the mounted volume.

  1. Download Putty
  2. Connect through serial port COM3

About

Tensorflow Micro Speech Example using Mbed (STM32F49ZI, NUCLEO-F429ZI)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published