element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum TinyML - Voice on Raspberry Pi Pico.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 8 replies
  • Subscribers 662 subscribers
  • Views 5433 views
  • Users 0 members are here
  • voicecommand
  • raspberry pi pico
  • tinyml
Related

TinyML - Voice on Raspberry Pi Pico.

Sudeep AJ
Sudeep AJ over 2 years ago

So I recently bought a Raspberry Pi Pico (RP2040) and I also found this amazing website called edge impulse(www.edgeimpulse.com) which lets us train tinyML models without any code and gives us the library optimized to the microcontroller board we choose.

image

Now I want to make a tinyML project to do operations through my voice. Raspberry Pi doesn't have a microphone so I have to connect a microphone module to its ADC pin. But I am not able to get how to move forward with this. How can I use the C++ that I export through edge impulse and use it in my code? Does anyone has any experience building similar project? If someone could guide me with how to do this suing tensorFlowLite also that would be helpful.

  • Sign in to reply
  • Cancel
  • dougw
    dougw over 2 years ago

    Here is an example - maybe you can have a look at the source code which is on Git Hub... it seems to use TensorFlow...

    https://www.youtube.com/watch?v=V0KXZGhHUQY&ab_channel=Forbes

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • feiticeir0
    feiticeir0 over 2 years ago

    Hi !

    I've only experience with Python using the Pico and PDM microphone for ML projects.

    Nonetheless, there's some examples that use C++

    https://blog.tensorflow.org/2021/09/TinyML-Audio-for-everyone.html

    https://towardsdatascience.com/audio-deep-learning-made-simple-sound-classification-step-by-step-cebc936bbe5

    Coursera has some courses of embedded Machine Learning - using TinyML and Pico or Arduino Sense

    https://www.coursera.org/learn/introduction-to-embedded-machine-learning/home/week/1

    There are some excellent, excellent books on that topic

    https://www.oreilly.com/library/view/tinyml/9781492052036/

    https://www.packtpub.com/product/tinyml-cookbook/9781801814973?_ga=2.81539028.270938506.1677456360-1555116499.1677456360

    With this, you can create your project.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • Sudeep AJ
    Sudeep AJ over 2 years ago in reply to feiticeir0

    Can you please tell me more about your Pico and PDM Microphone ML project using Python?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • feiticeir0
    feiticeir0 over 2 years ago in reply to Sudeep AJ

    Hi !

    You know you can program the Pico with the Arduino IDE using mbed . That way, you can use Edge Impulse with the PICO.

    About that project I'm still working on that... Still haven't found a working way to use the PDM microphone with Python. You need to use the ADC pins, but still no luck.

    Using the PICO and audio , check this google colab

    https://colab.research.google.com/github/ArmDeveloperEcosystem/ml-audio-classifier-example-for-pico/blob/main/ml_audio_classifier_example_for_pico.ipynb

    It has everything you need to start your project - it's a perfect example of using a Raspberry PICO with a microphone and do some inference on it.

    It goes through all the steps - from data collecting, model creation and training and the steps to do inference on the pico.

    The google colab comes from this page

    https://blog.tensorflow.org/2021/09/TinyML-Audio-for-everyone.html

    Just try it !

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Sudeep AJ
    Sudeep AJ over 2 years ago in reply to feiticeir0

    Thank you very much for sharing these with me! I will surely try it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bidrohini
    bidrohini over 2 years ago

    Can you suggest some machine learning projects that can be done with these tinyML models without using a camera? I have a Raspberry Pi Pico. I want to do ML projects with that. But all the suggestions I get are of camera based projects. I do not have a pico compatible camera. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 2 years ago in reply to bidrohini

    https://www.youtube.com/watch?v=V0KXZGhHUQY&ab_channel=ArmSoftwareDevelopers

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • feiticeir0
    feiticeir0 over 2 years ago in reply to bidrohini

    On my comment above, there are sound projects.

    Here's one:

    https://colab.research.google.com/github/ArmDeveloperEcosystem/ml-audio-classifier-example-for-pico/blob/main/ml_audio_classifier_example_for_pico.ipynb

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube