user-img

Sachin Soni

+ Follow

Portable AI Voice Assistant using ESP32

Ask anything, get answers on the go! Build a portable voice assistant with Gemini AI & ESP32 for seamless, smart voice interactions

Portable AI Voice Assistant using ESP32
 
  • thumbnail-img
 

Hardware Components

  • ESP32 Wroom32D

    X 1 fenxiang
  • INMP441 MEMS Microphone

    X 1 fenxiang
  • MAX98357 I2S Amplifier

    X 1 fenxiang
  • TP4056 TypeC Battery Charging Module

    X 1 fenxiang
  • 8ohm Speaker

    X 1 fenxiang

Tools, APP Software Used etc.

  • Arduino IDE

    Arduino IDE

    Arduino

Story

What Is This Project About?

This project is about creating a compact, low-power, and smart voice assistant that works in real-time using just a single ESP32-S3 microcontroller, a microphone, and a speaker.

It listens to your voice, processes your question through Google’s Gemini AI, and speaks out the answer using Text-to-Speech. It supports general questions, math queries, and even real-time translation – all from your voice.

And the best part? It's completely portable, fits in your hand, and costs way less than building similar setups with Raspberry Pi or cloud services.

 

How Does It Work?

Here’s the complete working flow of the system:

  1. You press a button and speak your query

  2. ESP32 records your voice and sends the audio to Deepgram API for transcription

  3. The text is forwarded to Gemini AI API for a smart, real-time response

  4. The response text is sent to Google TTS API

  5. ESP32 receives the audio and plays it back via a speaker

 

List of Components

  • ESP32 WROOM32D – The brain of the project, offering Wi-Fi and Bluetooth connectivity.
  • MAX98357 Amplifier – For high-quality audio output.
  • INMP441 MEMS Microphone – Captures voice input with precision.
  • SD Card Module – Stores audio files or configuration data.
  • LiPo Battery – Powers the device.
  • TP4056 Charging Module – Handles battery charging and power management.
  • Miscellaneous – HT7833 IC, PCB or breadboard, connectors, etc

Why This Project Matters

This project is more than just a cool DIY gadget. It showcases the power of AI in embedded systems, proves that you don’t need expensive hardware to work with LLMs, and provides a real use case for offline-like, edge-friendly voice AI.

 

By sharing this project, I hope to inspire makers, educators, and developers to try out AI + IoT in an accessible way. Whether you're teaching kids, building smart assistants, or prototyping an AI translator, this project is a great foundation.

 

Tutorial Video 

https://youtu.be/zvR9DTfMwPE?si=DvWAgLvEsCJJbt20

 

  •  
Code
  • Code

    https://github.com/techiesms/Portable-AI-Voice-Assistant-/tree/main/Portable_Voice_Assistant
    View
Schematic and Layout
  • Schematic

    https://github.com/techiesms/Portable-AI-Voice-Assistant-/blob/main/Schematic_Portable_Voice_assistat_sch_2024-08-26.pdf
    View
Topic
View All

Portable AI Voice Assistant using ESP32

Ask anything, get answers on the go! Build a portable voice assistant with Gemini AI & ESP32 for seamless, smart voice interactions

83
 
1
2
0

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 2 )
  • Like( 1 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
  • Hi, your project is also suitable for our 'AI & Open Hardware' contest. Link: https://www.elecrow.com/ai-open-hardware-contest.html. Are you interested in participating? No need to upload again, just add this category :)
    May 15,2025 0 comments
    Reply

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
Certified Product | Supported Purchase: Full After-sales Protection