LAFVIN AI Chatbot Kit for ESP32 S3

LAFVIN AI Chatbot Kit for ESP32 S3 User Manual

Model: AI Chatbot Kit for ESP32 S3

Brand: LAFVIN

1. Уводзіны

The LAFVIN ESP32S3 AI Chatbot kit is designed as a learning platform for AI dialogue systems, utilizing the powerful ESP32-S3 as its core controller. It integrates rich expansion interfaces and wireless functionality, enabling users to master the features of the ESP32-S3.

The kit comes pre-installed with voice dialogue projects for both Dp-seek and Op-AI platforms, allowing for a quick experience with smart voice assistant functionality through simple firmware flashing.

Note: To use the Op-AI version, you need to purchase and configure your own Op-AI API-Key.

Comprehensive online web tutorials are provided for convenient learning and reference, accessible anytime, anywhere.

2. Асаблівасці

  • Высокая прадукцыйнасць: Equipped with an X-ten-sa® 32-bit LX7 dual-core processor, 512KB SRAM, 8MB external PSRAM, and 16MB Flash memory.
  • Бесправаднае падключэнне: Integrated 2.4GHz Wi-Fi and BT 5 (LE) for stable network communication.
  • Галасавое ўзаемадзеянне: Features an independent audio decoding module supporting voice wake-up and real-time interruption.
  • Visual Interface: Includes a 2-inch TFT-SPI display for showing conversation content in real-time.
  • Plug and Play: Modular design allows for easy installation with no additional wiring required when following the provided tutorials.
  • Developer-Friendly: Based on the Espressif IDF platform, offering 45 programmable GPIO pins and rich communication interfaces for advanced development.
  • Online Tutorials: Web-based tutorials are available for convenient learning and reference.
  • Тэхнічная падтрымка: Free technical support is provided to assist with questions and problem-solving.

3. Змесціва ўпакоўкі

The LAFVIN AI Chatbot Kit includes the following components:

LAFVIN AI Chatbot Kit for ESP32 - overall kit contents

Малюнак 3.1: Закончанаview of the LAFVIN AI Chatbot Kit components.

LAFVIN AI Chatbot Kit contents in storage box

Figure 3.2: Kit components neatly organized in the storage box.

Табліца 3.1: Спіс абсталявання
КампанентКолькасцьАпісанне
ESP32S3 Module1Core microcontroller with integrated Wi-Fi/Bluetooth functionality.
400 Tie-Points Breadboard2Solderless platform for quick electronic component connection.
LAFVIN AI Chatbot Shield1Specialized expansion board that simplifies wiring, providing a plug-and-play experience.
LAFVIN Audio Codec Module and Speaker1High-quality audio codec for processing voice input and output.
2.0-inch TFT-SPI Display1High-definition color display interface for real-time conversation visualization.
Jumper Wires Box1Electrical connection wires between modules, ensuring flexible circuit assembly.
Гузікі4Physical interaction for text page navigation and control.
USB-кабель для даных1Provides stable power input and data communication between the kit and a computer.

4. Інструкцыі па ўсталёўцы

The LAFVIN AI Chatbot Kit offers two primary usage modes: using the dedicated AI Chatbot Shield for a plug-and-play experience, or utilizing a breadboard for more flexible customization and experimentation.

Two Usage Modes: On AI Chatbot Shield and Using the Breadboard

Figure 4.1: The two primary usage modes for the AI Chatbot Kit.

4.1. Апаратнае падключэнне

Refer to the online tutorials for detailed connection instructions and assembly steps. The following diagrams illustrate the main components and connection methods.

ESP32 S3 Main Component diagram

Малюнак 4.2: падрабязна view of the ESP32 S3 Main Component, highlighting key features like the ESP32-S3 N16R8 Module, Power Chip, Integrated RGB-LED Module, BOOT Button, PWR LED, USB to Serial Port Chip CP2102, RST Button, ESP32-S3 Pass-Through Type-C USB & OTG, and USB to Serial Port Type-C USB.

Connection diagram for AI Chatbot Shield

Figure 4.3: Connection diagram for assembling the AI Chatbot Shield with the ESP32 S3, Audio Codec Module, Speaker, and 2.0" Screen. This mode requires no additional wiring.

Breadboard connection diagram

Малюнак 4.4: Выпample of connecting the components using a breadboard for flexible customization and modular expansion.

4.2. Software Preparation and Configuration

The kit supports two AI chat platforms: Dp-seek and OpenAI ChatGPT-4o. The kit comes pre-installed with voice dialogue projects for both platforms.

AI Platforms diagram with Audio Codec Module, Speaker, 2.0" Screen, and ESP32 S3

Figure 4.5: Diagram illustrating the integration of AI platforms (OpenAI ChatGPT-4o, Seek/QW) with the kit's hardware components.

For detailed software setup, including firmware flashing and configuration of Wi-Fi SSID, Wi-Fi Password, and OpenAI API Key (if using the OpenAI version), please refer to the LAFVIN Online Tutorial. A screenshot of the tutorial interface is provided below:

Screenshot of LAFVIN Online Tutorial with Hardware List and ESP32 Configuration

Figure 4.6: Screenshot of the LAFVIN Online Tutorial, showing sections for Hardware Connection, Software Preparation, and ESP32 Configuration, including fields for WiFi SSID, WiFi Password, and OpenAI API Key.

Important: If you plan to use the OpenAI ChatGPT-4o platform, you must register an account and obtain an API key from the OpenAI website. This API key needs to be configured in the ESP32 settings.

5. Інструкцыя па эксплуатацыі

Once the hardware is assembled and software is configured, the AI Chatbot is ready for interaction.

  1. Уключэнне: Connect the USB Data Cable to the ESP32 S3 board and a power source (e.g., computer USB port or USB power adapter). The PWR LED on the ESP32 S3 board should illuminate.
  2. Галасавое абуджэнне: The independent audio decoding module supports voice wake-up. Simply speak a pre-configured wake-up phrase (e.g., "Xiao Zhi" or "Hey Chatbot") to activate the device.
  3. Дыялог: After wake-up, you can begin your conversation. The AI Chatbot is designed for intelligent dialogue, capable of providing information, answering questions, and engaging in emotional communication.
  4. Візуальная зваротная сувязь: The 2-inch TFT-SPI display will show conversation content in real-time, along with interactive feedback such as emojis or status indicators.
  5. Узаемадзеянне з кнопкамі: Use the four physical buttons for text page navigation or other control functions as defined in the firmware.
AI Chatbot in action, displaying 'how can I help?' and an emoji

Figure 5.1: The AI Chatbot display showing an interactive message and emoji.

AI Intelligent Dialogue capabilities

Малюнак 5.2: Выпamples of AI Intelligent Dialogue capabilities, including Knowledge Encyclopedia, Travel Guide, Weather Inquiry, Emotional Counseling, and handling 'Reject the Cold Scene'.

6. Тэхнічнае абслугоўванне

  • Апрацоўка: Асцярожна звяртайцеся з усімі кампанентамі, каб пазбегнуць фізічных пашкоджанняў.
  • захоўванне: Store the kit in a dry, cool environment, away from direct sunlight and moisture.
  • Уборка: Use a soft, dry cloth to clean the components. Avoid using liquids or abrasive cleaners.
  • Сувязі: Periodically check all jumper wire and module connections to ensure they are secure.
  • Абнаўленні прашыўкі: Check the LAFVIN online tutorials for any available firmware updates to ensure optimal performance and access to new features.

7. Выпраўленне непаладак

  • Няма харчавання: Ensure the USB data cable is securely connected to both the ESP32 S3 board and a functional power source. Check if the PWR LED is illuminated.
  • No Voice Response:
    • Verify the audio codec module and speaker are correctly connected.
    • Пераканайцеся, што мікрафон нічым не перакрыты.
    • Check the firmware settings for voice recognition and output.
  • Дысплей не працуе:
    • Confirm the 2.0-inch TFT-SPI display is correctly connected to the ESP32 S3 or AI Chatbot Shield.
    • Review the online tutorials for specific display connection and initialization steps.
  • AI Platform Issues (e.g., OpenAI):
    • Ensure you have a valid OpenAI API Key and it is correctly configured in the ESP32 settings.
    • Verify your internet connection (Wi-Fi) is stable and correctly configured.
    • Check OpenAI's service status or your API key usage limits.
  • General Connectivity Problems:
    • Double-check all jumper wire connections for looseness or incorrect placement.
    • Refer to the detailed connection diagrams in the online tutorials.

For more in-depth troubleshooting guides and solutions, please visit the LAFVIN Online Tutorial webсайт.

8. Тэхнічныя характарыстыкі

АсаблівасцьДэталь
МікракантролерESP32-S3 (X-ten-sa® 32-bit LX7 dual-core processor)
Памяць512KB SRAM, 8MB external PSRAM, 16MB Flash
Бесправоднае падключэнне2.4GHz Wi-Fi, Bluetooth 5 (LE)
Дысплей2.0-inch TFT-SPI Display
АўдыёIndependent Audio Codec Module, 8Ω Speaker
Увод/Вывад45 programmable GPIO pins, 4 physical buttons
Платформа развіццяEspressif IDF
Памеры ўпакоўкі (Д х Ш х В)20 см х 15 см х 6 см
Вага ўпакоўкі0.32 кг

9. Карыстальніцкія парады

  • API Key Management: Always keep your OpenAI API key secure and do not share it publicly. If you suspect your key has been compromised, regenerate it immediately on the OpenAI webсайт.
  • Explore Both AI Platforms: Experiment with both Dp-seek and OpenAI (if configured) to understand their differences and find which best suits your needs for various conversational tasks.
  • Настройка: Don't hesitate to explore the breadboard mode for custom circuit designs and adding more sensors or actuators to expand the chatbot's capabilities.
  • Узаемадзеянне з супольнасцю: If available, join online forums or communities related to ESP32 or LAFVIN products. These can be valuable resources for tips, projects, and troubleshooting.

10. Падтрымка

LAFVIN provides free technical support for this AI Chatbot Kit. If you encounter any issues or have questions that are not covered in this manual or the online tutorials, please reach out to LAFVIN customer support.

For the most up-to-date information, detailed guides, and additional resources, please visit the official LAFVIN Online Tutorial webсайт.

Documents - LAFVIN – AI Chatbot Kit for ESP32 S3

няма адпаведных дакументаў