Introduction: Ai Voice Assistant (DeepSeek) With Quick Response

About: I hold a Master's degree in Computer Science and currently teach STEM and ICT. My focus is on making technology and engineering concepts accessible to students through hands-on projects. I teach topics like ro…

πŸ”ŠπŸ€– Build Your Own AI Voice Assistant Using ESP32-S3 (N16R8) πŸš€

This guide will walk you through creating an AI voice assistant using the ESP32-S3-DevKitC-1 (WROOM N16R8) with speech input/output and visual feedback via an OLED display. Perfect for STEM classrooms and hobbyists!

Supplies

Required Hardware

1. Core Components

  1. ESP32-S3 DevKitC-1 (WROOM N16R8)
  2. INMP441 Digital Microphone
  3. MAX98357A Digital Amplifier
  4. Speaker (8Ξ© 23W or 4Ξ© 23W)
  5. 128x32 I2C OLED Display
  6. Breadboard (400-hole x2)
  7. Jumper Wires / Dupont Wires
  8. USB Type-C Cable

2. Optional Modules (I am not using this)

  1. ML307R Cat.1 4G Module (for outdoor use without Wi-Fi)
  2. 6x6mm Tactile Push Buttons(Optional: Volume control, pause/resume)

Step 1: πŸ”§ Wiring Overview

Step 2: πŸ’» Firmware Installation


Recommended Firmware:

Use: v1.4.6_bread-compact-wifi.bin (Stable version for OLED 128x32 SSD1306)

  1. Download from xiaozhi GitHub Releases
  2. Flash the .bin file using ESP32 Download Tool or esptool.py
  3. Press RESET after upload to start

Step 3: 🌐 First Boot


  1. Voice prompt: "WiFi connected mode"
  2. OLED Output: Shows AI assistant is listening
  3. Connect your phone to AP: Xiaozhi-XXXX
  4. Visit in browser: http://192.168.4.1

OLED showing listening prompt)

www.xiaozhi.me

Step 4: βœ… Tips & Troubleshooting

  1. White screen on OLED? Check SDA/SCL pin connections and 3.3V power
  2. No response? Ensure microphone GND and L/R are connected properly
  3. ESP32 not detected? Try a different USB cable or reinstall drivers

Step 5: πŸŽ‰ Done!

Video tutrial . For any question


You now have a fully functioning AI Voice Assistant powered by ESP32-S3 and Xiaozhi AI. Use it in your STEM class, demo it at maker fairs, please Subscibe my channel

if you guys have any problem let me know. thanks