Coder Social home page Coder Social logo

Building binary for Sparkfun Edge about tensorflow HOT 5 OPEN

h-tye avatar h-tye commented on June 3, 2024
Building binary for Sparkfun Edge

from tensorflow.

Comments (5)

sushreebarsa avatar sushreebarsa commented on June 3, 2024

@h-tye You're right, the original TensorFlow Lite for Microcontrollers tutorial relies on an older directory structure that's no longer included. Kindly refer to the workaround as follows;
The SparkFun Edge device often comes pre-loaded with a sketch called "micro_speech.ino". This sketch implements basic micro speech detection using TensorFlow Lite. You can try the following:

  1. Connect your SparkFun Edge to your computer using the SparkFun USB-C Serial Basic programmer.
  2. Open the Arduino IDE.
  3. In the Arduino IDE, go to File > Examples > SparkFun Edge > micro_speech. This should open the pre-loaded sketch.
  4. Upload the sketch to your SparkFun Edge.
  5. Open the Serial Monitor in the Arduino IDE. You should see the blue LED blinking.
  6. Speak a keyword like "yes" or "no" near the microphone. If the speech is recognized, the serial monitor will display a message and the yellow LED will blink.

Also refer the TensorFlow Lite Micro getting started guide for more information.

Thank you!

from tensorflow.

h-tye avatar h-tye commented on June 3, 2024

@sushreebarsa Unfortunately, I am not able to use the Arduino IDE as when I run any code - even the examples- I get an error that reads "Unsupported Board". I believe that Arduino no longer supports the Sparkfun Edge which is why I was trying to flash binary onto the device. Thanks for the help

from tensorflow.

h-tye avatar h-tye commented on June 3, 2024

Correction: It looks like the Arduino examples for Sparkfun edge are no longer supported by TensorFlow, not Arduino. https://github.com/tensorflow/tflite-micro-arduino-examples?tab=readme-ov-file#how-to-install as per this github repo, the peripherals are made purely for the Arduino Nano 33 BLE, which means that anytime I run one of the examples it produces a "unsupported board" error.

from tensorflow.

sushreebarsa avatar sushreebarsa commented on June 3, 2024

@h-tye There might not be official Arduino libraries for the SparkFun Edge specifically, TFLite Micro offers support for various Arm Cortex-M processors, which the SparkFun Edge uses (https://www.tensorflow.org/lite/microcontrollers).
For any further queries could you please post this issue in this repository ?
Thank you!

from tensorflow.

github-actions avatar github-actions commented on June 3, 2024

This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.

from tensorflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.