Это видео недоступно.
Сожалеем об этом.

DFRobot Offline Voice Recognition Sensor - Demo

Поделиться
HTML-код
  • Опубликовано: 23 сен 2023
  • 🏮 Getting started with DFRobot Offline Voice Recognition Sensor - Learning Mode Demo
    #machinelearning #artificialintelligence #arduino
    📒 Hackster Blog/Tutorial -
    🔗 www.hackster.i...
    📋 GitHub Repo
    🔗 github.com/mah...
    🛒 DFRobot Offline Voice Recognition Sensor : Product/Purchase Link -
    🔗 www.dfrobot.co...

Комментарии • 9

  • @dungnguyen-si2sz
    @dungnguyen-si2sz Месяц назад +1

    Sir, thank you for your clear review, I have 1 question when I use this module with the I2C communication together with 1 OLED display using I2C communication too, so how can I control both of them, to declare the address? I'm just a newbie so I hope you reply to my comment, many thanks!

    • @dungnguyen-si2sz
      @dungnguyen-si2sz Месяц назад +1

      ​And would you mind writing a short code for me:_) I'm a newbie and want to complete my project because it has too little documentation about this module and still don't know how to share the I2C bus with multiple devices. Thank you so much, Sir.

    • @maheshyadav-216
      @maheshyadav-216  Месяц назад +1

      Dear dũng nguyễn @dungnguyen-si2sz
      Thank You very much for your encouraging words.
      This device (DFRobot Gravity: Voice Recognition Module) boasts high compatibility, supporting both I2C and UART communication methods.
      As You want to connect _"this module with the I2C communication together with 1 OLED display"_
      For your query there are *two* approaches/solutions -
      1. You can use UART interface for Voice Recognition module and I2C interface for OLED display
      ==> We know (from WiKi page of this Voice Recognition module) that to use I2C or UART for this module you have to just declare the your communication interface initially in the code. Like following -
      //I2C communication
      DFRobot_DF2301Q_I2C asr;
      //For UART use as per availability of serial ports
      #if (defined(ARDUINO_AVR_UNO) || defined(ESP8266)) // Use software serial
      SoftwareSerial softSerial(/*rx =*/4, /*tx =*/5);
      DFRobot_DF2301Q_UART asr(/*softSerial =*/&softSerial);
      #elif defined(ESP32) // Use the hardware serial with remappable pin: Serial1
      DFRobot_DF2301Q_UART asr(/*hardSerial =*/&Serial1, /*rx =*/D3, /*tx =*/D2);
      #else // Use hardware serial: Serial1
      DFRobot_DF2301Q_UART asr(/*hardSerial =*/&Serial1);
      #endif
      2. If you want only I2C interface for both the module(Multidevice on I2C) then you just to need declare two separate objects for both I2C devices like following--
      //I2C declaration For Voice Recognition Module
      DFRobot_DF2301Q_I2C asr;
      //I2C declaration for I2C display
      Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);
      To initialize I2C OLED display in setup function you need to do --
      //----------------------------------------------------------//
      if(!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) {
      Serial.println(F("SSD1306 allocation failed"));
      for(;;);
      }
      //----------------------------------------------------------//
      And To initialize Voice module
      //----------------------------------------------------------//
      while( !( DF2301Q.begin() ) ) {
      Serial.println("Communication with device failed, please check connection");
      delay(3000);
      }
      Serial.println("Begin ok!");
      //----------------------------------------------------------//
      Library of Voice module will take care of its I2C address.
      Please go through following projects and their codes, you will get idea how you can achieve your goal
      🔗 www.hackster.io/dipowin/voice-controlled-digital-cute-pikachu-9148e9
      🔗 www.hackster.io/517133/voice-controlled-dht11-with-dfrobot-43a41c
      You can always refer WiKi of this Voice Recognition module where they have given the codes for both the interfaces.
      🔗 wiki.dfrobot.com/SKU_SEN0539-EN_Gravity_Voice_Recognition_Module_I2C_UART
      Beside if you still have any doubts, feel free to ping me. I'll try my best to help you.
      Best Regards

  • @roberts.3712
    @roberts.3712 5 месяцев назад +1

    I love this complicated shit...thank you.

    • @maheshyadav-216
      @maheshyadav-216  5 месяцев назад

      You're most welcome. Glad you liked this content.
      Best Regards

  • @followinglove666
    @followinglove666 4 месяца назад +1

    Sir how do you coding the Arduino with DFRobot, DFRobot support ARDUINO IDE ? Please help me 🥺

    • @maheshyadav-216
      @maheshyadav-216  4 месяца назад

      www.dfrobot.com/blog-1541.html
      www.dfrobot.com/product-838.html

  • @Aaronvelastegui-jt4xj
    @Aaronvelastegui-jt4xj 2 месяца назад +1

    Para que idioma esta disponible

    • @maheshyadav-216
      @maheshyadav-216  2 месяца назад

      Hello, apologies for late reply. Yes, with DFRobot Offline Voice Recognition board you an set custom set command words and Wake words in any language. But the prompt(/responses) will only in English since they are pre-programmed.
      Best Regards