DFRobot DF2301QG

คู่มือผู้ใช้เซ็นเซอร์จดจำเสียงแบบเรียนรู้ด้วยตนเองแบบออฟไลน์ DFRobot Gravity

Model: DF2301QG

1. บทนำ

The DFRobot Gravity Offline Language Self Learning Voice Recognition Sensor (DF2301QG) is an efficient solution designed for human-computer interaction, machine learning, voice assistants, and smart home voice control projects. This module offers ease of use and broad compatibility with popular development platforms such as Arduino, micro:bit, and ESP32.

คุณสมบัติที่สำคัญ ได้แก่:

  • ง่ายต่อการใช้: Plug-and-play functionality via I2C and UART communication.
  • 121 Built-in Command Words: Pre-programmed commands for common educational and smart home scenarios (e.g., "Play music," "Open the door," "Turn on the light").
  • Self-Learning Function: Supports adding up to 17 customized command words in any language or sound.
  • การทำงานแบบออฟไลน์: Functions without an internet connection, ensuring privacy and reliability in various environments.
  • การบูรณาการสูง: Features an onboard speaker and microphone, reducing wiring complexity and saving space.
  • Real-Time Voice Feedback: Provides immediate recognition results for an improved user experience.
DFRobot Voice Recognition Module compatible with ESP32, Arduino Uno, and micro:bit
Figure 1: Compatibility with Arduino, micro:bit, and ESP32
Examples of smart home voice commands like 'Turn on the light' and 'Play music'
Figure 2: Real-time voice feedback for smart home control

2. คุณสมบัติ

  • เป็นมิตรกับผู้ใช้: Plug and play, compatible with Arduino UNO, micro:bit, and ESP32.
  • 121 Pre-Programmed Commands: Ready for immediate use without any setup.
  • Self-Learning Capability: Supports the addition of 17 customized command words.
  • Offline Operation, Enhanced Privacy: No network required, ensuring data privacy.
  • การบูรณาการสูง: Includes an onboard speaker and microphone.
  • Instant Voice Feedback: Provides real-time recognition results.

3. การสมัคร

  • Voice recognition interaction
  • Voice-controlled terminal devices
  • Educational and competitive project development

4. ข้อมูลจำเพาะ

พารามิเตอร์ค่า
ปฏิบัติการฉบับที่tage3.3 - 5 โวลต์
ค่าสูงสุดในการใช้งาน≤370 mA (at 5V)
อินเทอร์เฟซการสื่อสารI2C/UART
ที่อยู่ I2Cขนาด 0x64
Fixed Commands121
Fixed Wake-up Command1
Custom Commands17
Learning Activation Command1
Onboard Microphone Sensitivity-28เดซิเบล
ขนาดโมดูล49 × 32 mm / 1.93 × 1.26 inches
อุณหภูมิในการทำงาน0-70℃
Detailed diagram of the voice recognition module with labeled components and interfaces
Figure 3: Module Interface Diagram showing Gravity Interface, SPK1, SPK2, Communication Mode Select, Wake-up Status Indicator, and Power Indicator.
DFRobot Gravity Voice Recognition Module with a ruler for precise dimensions
Figure 4: Module dimensions in centimeters and inches

5. การตั้งค่า

This section provides general guidance for connecting the Voice Recognition Module to various development boards. For detailed, platform-specific instructions, refer to the official DFRobot product wiki.

5.1 การเชื่อมต่อทางกายภาพ

  1. Identify Communication Mode: The module supports both I2C and UART communication. Locate the communication mode selection switch on the module (labeled I2C & UART).
  2. เลือกโหมด: Set the switch to the desired communication mode (I2C or UART) based on your project requirements and microcontroller capabilities.
  3. เชื่อมต่อพลังงานและข้อมูล: Use the provided Gravity-4P I2C/UART Sensor Connector to connect the module to your microcontroller. Ensure correct pin connections for VCC, GND, and data lines (D/T, C/R for I2C/UART).
DFRobot Gravity Voice Recognition Module with included Gravity-4P I2C/UART Sensor Connector and wires
Figure 5: Voice Recognition Module with Gravity Connector and Wires

5.2 แผนผังการเดินสายไฟ

5.2.1 Arduino Uno (I2C Communication)

Connect the module to an Arduino Uno using the I2C interface. Ensure the communication mode switch on the module is set to I2C.

Wiring diagram showing the Voice Recognition Module connected to an Arduino Uno and an LED light module via I2C
Figure 6: Wiring Diagram for Arduino Uno (I2C)

5.2.2 Arduino Uno (UART Communication)

Connect the module to an Arduino Uno using the UART interface. Ensure the communication mode switch on the module is set to UART.

Wiring diagram showing the Voice Recognition Module connected to an Arduino Uno and an LED light module via UART
Figure 7: Wiring Diagram for Arduino Uno (UART)

5.2.3 micro:bit (I2C Communication)

Properly connect the micro:bit motherboard and an IO expansion board. Set the communication mode selection switch of the voice recognition module to I2C, then connect it to the expansion board.

Wiring diagram showing the Voice Recognition Module connected to a micro:bit and an IO expansion board via I2C
Figure 8: Wiring Diagram for micro:bit (I2C)

6. คู่มือการใช้งาน

6.1 Using Built-in Commands

The module comes with 121 pre-programmed command words for common tasks. Once the module is powered and correctly configured with your microcontroller, you can use these commands directly. Refer to the product wiki for the full list of built-in commands.

Examples of 121 built-in command words for smart home control, such as 'Play music' and 'Open the door'
รูปที่ 9: อดีตamples of Built-in Command Words

6.2 Self-Learning Function for Custom Commands

The module allows you to add up to 17 customized command words. This feature enables you to train the module to recognize any language or sound.

  1. เปิดใช้งานโหมดการเรียนรู้: Use the designated wake-up word (refer to the product wiki for the specific wake-up word).
  2. Initiate Command Learning: After the wake-up word, say "Learning command word."
  3. Record Custom Command: Repeat your desired custom command three times clearly. The module will provide real-time feedback during this process.
  4. การยืนยัน: The module will confirm when the new command has been successfully learned.
Diagram showing self-learning function with examples like 'Meow', 'Limpia' (Spanish for Clean), and 'Snap'
Figure 10: Self-Learning Function Exampเลส

6.3 วิดีโอสาธิต

Video 1: Product demonstration showing voice interaction with a micro:bit.

7. การบำรุงรักษา

To ensure the longevity and optimal performance of your DFRobot Gravity Voice Recognition Sensor, follow these maintenance guidelines:

  • ให้แห้ง: ควรหลีกเลี่ยงการนำโมดูลไปสัมผัสกับความชื้นหรือของเหลว เนื่องจากอาจทำให้ชิ้นส่วนอิเล็กทรอนิกส์เสียหายได้
  • ทำความสะอาดอย่างอ่อนโยน: หากจำเป็นต้องทำความสะอาด ให้ใช้ผ้าแห้งนุ่มๆ เช็ด อย่าใช้สารเคมีรุนแรงหรือวัสดุที่มีฤทธิ์กัดกร่อน
  • หลีกเลี่ยงอุณหภูมิที่สูงหรือต่ำเกินไป: Operate and store the module within the specified operating temperature range (0-70℃) to prevent damage.
  • จัดการด้วยความระมัดระวัง: Electronic components are delicate. Avoid dropping the module or subjecting it to physical shock.

8 การแก้ไขปัญหา

If you encounter issues with your Voice Recognition Sensor, refer to the following common problems and solutions:

  • โมดูลไม่ตอบสนอง:
    • Check all wiring connections to ensure they are secure and correctly aligned (VCC, GND, data lines).
    • Verify that the module is receiving adequate power (3.3V-5V).
    • Confirm the communication mode selection switch (I2C/UART) is set correctly for your microcontroller and code.
    • Ensure your microcontroller's code is properly initialized for the selected communication protocol and module address (I2C address: 0x64).
  • Poor Voice Recognition Accuracy:
    • Speak clearly and at a consistent volume.
    • Minimize background noise in the environment during command input.
    • Ensure the onboard microphone is not obstructed.
    • If using custom commands, try re-training them in a quiet environment, repeating the command three times as instructed.
  • Language Recognition Issues:
    • The module's built-in commands are primarily in English. If you require commands in a different language, utilize the self-learning function to train custom commands. The self-learning feature supports any language or sound.
  • ปัญหาความเข้ากันได้:
    • Ensure your development board (Arduino, micro:bit, ESP32) is officially supported.
    • Verify that you are using the correct libraries and example code provided by DFRobot for your specific platform and communication mode.
    • For Python-based projects (e.g., Raspberry Pi), ensure the necessary Python libraries are installed and configured correctly.

9. เคล็ดลับผู้ใช้

  • Leverage Self-Learning: Don't limit yourself to the built-in commands. The self-learning feature is powerful for creating personalized voice controls in any language or for unique sounds.
  • Consult the Wiki: The official DFRobot product wiki (link provided in Documents section) is an invaluable resource for detailed tutorials, command lists, and example code for various platforms.
  • Optimize Environment: For best recognition results, especially during custom command training, ensure a quiet environment with minimal background noise.
  • Check Communication Mode: Always double-check the I2C/UART switch setting on the module matches your software configuration to avoid communication errors.

10. รายการจัดส่ง

แพ็คเกจผลิตภัณฑ์ประกอบด้วยรายการต่อไปนี้:

  • Gravity: Voice Recognition Module - I2C & UART x1
  • Gravity-4P I2C/UART Sensor Connector x1

11. Documents & Support

For further information, detailed tutorials, and technical support, please refer to the official DFRobot resources:

For additional assistance, please contact DFRobot customer support through their official webเว็บไซต์.

เอกสารที่เกี่ยวข้อง - DF2301QG

พรีview เซ็นเซอร์วัดความเร่งสามแกน H3LIS200DL - DFRobot
DFRobot's H3LIS200DL is a low-power, high-performance 3-axis linear accelerometer with selectable scales (±100g/±200g) and I2C interface. Ideal for Arduino and Raspberry Pi projects, offering features like free-fall detection and shock detection.
พรีview DFRobot SEN0158 กล้องตรวจจับตำแหน่งอินฟราเรดแบบแรงโน้มถ่วง - ข้อมูลจำเพาะและคำแนะนำ
คู่มือฉบับสมบูรณ์สำหรับกล้องตรวจจับตำแหน่งอินฟราเรดแรงโน้มถ่วง DFRobot SEN0158 เรียนรู้เกี่ยวกับคุณสมบัติ ข้อมูลจำเพาะ พินเอาต์ แผนผังการเชื่อมต่อ Arduino และการประมวลผลampรหัสและคำถามที่พบบ่อยสำหรับการติดตามวัตถุ IR และการตรวจจับเปลวไฟ
พรีview โมดูลจอแสดงผล OLED ขาวดำโปร่งใส ขนาด 1.51 นิ้ว รุ่น DFR0934 - DFRobot
ขอแนะนำ DFR0934 โมดูลจอแสดงผล OLED ขาวดำโปร่งใสขนาด 1.51 นิ้ว จาก DFRobot โมดูลนี้มีไดรเวอร์ SSD1309 อินเทอร์เฟซ SPI/GDI และมาพร้อมกับ...ample code for Arduino, making it ideal for DIY electronics projects, smart home applications, and interactive displays.
พรีview คู่มือการใช้งานโมดูลหลอด VFD IV-22 สำหรับ Arduino
คู่มือนี้ให้ข้อมูลโดยละเอียดเกี่ยวกับโมดูลหลอด VFD IV-22 สำหรับ Arduino ซึ่งรวมถึงคุณสมบัติ พินเอาต์ ตารางฟังก์ชัน และการใช้งานทั่วไป ครอบคลุมการออกแบบฮาร์ดแวร์โดย Yan Zeyuan และการออกแบบไลบรารี Arduino โดย Weihong Guan
พรีview เซ็นเซอร์วัดแสงโดยรอบ DFRobot พร้อมอินเทอร์เฟซ I2C - เอกสารข้อมูล
เอกสารข้อมูลทางเทคนิคสำหรับเซ็นเซอร์วัดแสงโดยรอบ DFRobot ซึ่งมีคุณสมบัติเด่นคือ เอาต์พุตดิจิทัล I2C ช่วงการตรวจจับกว้าง (0-200,000 ลักซ์) การใช้พลังงานต่ำ และคำอธิบายรีจิสเตอร์โดยละเอียดสำหรับการกำหนดค่าและการใช้งาน
พรีview คู่มือการพัฒนาซอฟต์แวร์สำหรับผู้ใช้โมดูลการจดจำใบหน้า
คู่มือนี้ให้ข้อมูลโดยละเอียดเกี่ยวกับโปรโตคอลการสื่อสารของซอฟต์แวร์ รูปแบบข้อความ และคำสั่งสำหรับการผสานรวมและพัฒนากับโมดูลจดจำใบหน้า ครอบคลุมการสื่อสารระหว่างโมดูลหลัก โครงสร้างคำสั่ง และฟังก์ชันการทำงานamples สำหรับแอปพลิเคชันไบโอเมตริกซ์