Build your own Alexa with the ESP32 and TensorFlow Lite
We’ve been building towards this project in the previous set of videos. And we’re now ready to build our very own DIY Alexa!
All the code for this project is on GitHub -
What are we building - 1:15
Wake Word Detection - 2:27
Command Recognition - 11:47
Digging into the code - 16:30
What’s life all about Marvin? - 21:52
To detect the wake words we stream audio from either an I2S microphone or from the ADC. The wake word detector looks at a 1-second window of audio. The spectrogram of the audio is calculated and fed into a TensorFlow Lite model.
Once we detect the wake word we stream the audio up to to recognise the user’s intent.
It works surprisingly well for such a small model, there are improvements that could be made with more training data.
I’ll leave the access token for live for as long as I can, but at some point, you will need to generate your own application.
Let me know how you get on in the comments!
Related Videos:
Audio Input
Audio Output
And TensorFlow Lite for machine learning
Components you could use:
MAX98357 -
TinyPico -
INMP441 I2S Microphone:
ICS-43434 I2S Microphone:
ESP32 Dev board:
Analogue Audio Amplifier:
Speakers:
---
Want to help support the channel? I’m accepting coffee on
1 view
334
85
3 weeks ago 01:57:49 26
Peter Pearson “Dancing With The Clouds“ (Full Album - 2019)
3 weeks ago 00:36:09 1
Why Fun Projects Are the Key to Saving This Building
1 month ago 00:22:07 1
Scribing Panel Lines & Riviting : Tutorial
1 month ago 00:03:47 1
Tina Turner - What’s Love Got To Do With It (Official Music Video)
1 month ago 00:02:00 1
Farm Folks - Official Gameplay Reveal Trailer
1 month ago 00:03:45 8
New Year’s Greetings 2025 | Monster Hunter Wilds Open Beta Test 2 Announcement
1 month ago 00:08:24 1
Learn Chinese for Beginners | Nationalities in Chinese | Country Names in Chinese
1 month ago 00:50:41 3
Kryon - 24/7 & The Coming Tools
1 month ago 01:16:00 5
Simon Hanes: GARGANTUA
1 month ago 00:03:46 1
TikTok Free Followers Trick that I Found gave 9999 TikTok Free Followers
1 month ago 00:05:42 1
Form Filling Auto Typing Software for KYC form filling Data Entry Works
1 month ago 00:42:39 1
Flatpicking Guitar with Molly Tuttle
1 month ago 00:04:59 1
How some friendships last — and others don’t - Iseult Gillespie
1 month ago 00:00:00 1
🔴 LIVE: 24/7 Aerial Observation at Island Beach State Park, NJ | Sky Watch With Flight Tracker
1 month ago 00:00:00 1
Someone Wants To Tell You Something 💗 A Miracle Of Love Will Happen, He (She) Will Be With You
1 month ago 00:01:16 1
Andor Season 2 - Teaser Trailer | Star Wars & Disney+ | Diego Luna & Ben Mendelsohn (2025)
2 months ago 00:40:15 1
Build a Booty Workout - Descending Ladder Butt and Thigh Workout with Pilates Burnout
2 months ago 00:03:44 1
Official Trailer for Cobblemon 1.6 - Record, Catch Update
2 months ago 00:05:02 1
Best Play-to-Earn Crypto Games You Can’t Miss in 2025!
2 months ago 00:07:41 1
ChatGPT Ethereum Arbitrage Bot: Earn $1,000 Daily in Passive Income
2 months ago 00:26:38 1
How I Designed 3D-Printed Mods for My Vintage Toyota KE25
2 months ago 00:34:18 1
Why Saudi Arabia is Building a $1 Trillion City in the Desert
2 months ago 00:00:47 4
My Time at Sandrock - Official Sandrock Online Launch Trailer
2 months ago 00:31:45 1
Best Butt Workout to Build a Booty and Tone Thighs - Butt & Thigh Workout