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 00:41:23 1
I Took My Teacher to a Deadly Uninhabited Island To Survive
1 month ago 00:00:00 1
Australia Cyclone 2025 | LIVE Cyclone Alfred Landfall | First Cyclone To Hit East Coast In 50 Years
1 month ago 00:12:01 168
RTX 5070 Ti vs RTX 4070 Ti Benchmark 💪 Max Settings Gameplay In 10 Games at 4K!
1 month ago 00:11:41 1
I UPGRADED new LEGO minifigures!
2 months ago 01:32:50 4
Human Flourishing & The Crime of the Century | The Acceptance of Life Podcast Ep. 03
2 months ago 01:57:49 26
Peter Pearson “Dancing With The Clouds“ (Full Album - 2019)
3 months ago 00:36:09 1
Why Fun Projects Are the Key to Saving This Building
3 months ago 00:18:33 1
This Video Will Make You A Chess GENIUS…
3 months ago 01:03:03 1
Chess Fundamentals You Must Know
3 months ago 00:18:41 1
How Balatro Was Made and Why The Creator Expected to Sell Only 6 Copies
3 months ago 00:22:07 1
Scribing Panel Lines & Riviting : Tutorial
3 months ago 00:03:47 1
Tina Turner - What’s Love Got To Do With It (Official Music Video)
3 months ago 00:02:00 1
Farm Folks - Official Gameplay Reveal Trailer
3 months ago 00:03:45 8
New Year’s Greetings 2025 | Monster Hunter Wilds Open Beta Test 2 Announcement
3 months ago 00:08:24 1
Learn Chinese for Beginners | Nationalities in Chinese | Country Names in Chinese
3 months ago 00:50:41 3
Kryon - 24/7 & The Coming Tools
3 months ago 01:16:00 9
Simon Hanes: GARGANTUA
3 months ago 00:03:46 1
TikTok Free Followers Trick that I Found gave 9999 TikTok Free Followers
3 months ago 00:05:42 1
Form Filling Auto Typing Software for KYC form filling Data Entry Works
3 months ago 00:42:39 1
Flatpicking Guitar with Molly Tuttle
3 months ago 00:04:59 1
How some friendships last — and others don’t - Iseult Gillespie
3 months ago 00:00:00 1
🔴 LIVE: 24/7 Aerial Observation at Island Beach State Park, NJ | Sky Watch With Flight Tracker
3 months ago 00:00:00 1
Someone Wants To Tell You Something 💗 A Miracle Of Love Will Happen, He (She) Will Be With You
3 months ago 00:01:16 1
Andor Season 2 - Teaser Trailer | Star Wars & Disney+ | Diego Luna & Ben Mendelsohn (2025)