Voice control with Google home and Arduino (2/3)

Continue from Part 1

This is the part 2 of the "Voice control with Arduino and Google Home Mini" tutorial. This section primarily explain how to setup the Adafruit MQTT and IFTTT related services.

This is the demo of this tutorial:


Step 1: Adafruit IO setup 

Watch this video to see how I setup the Adafruit IO MQTT for this tutorial. This video has English Closed Captions, if you needed it.






  • If you would like learn more about MQTT, please visit Adafruit website to see it's great tutorials. Highly recommended for anyone not familiar with this technology to read. 

AIO Key

  • AIO Key is your personal key that allows your Arduino ESP8226 to talk to Adafruit IO MQTT server. Keep it safe and not to share with others. 
  • Log in to your account and Click "AIO Key" on the left menu.
  • Write down the AIO Key (You will need this in Arduino to connect to Adafruit) See below:
  • Click on the "View AIO Key" button to see your AIO Key (shown below)








Write down the AIO Key for Arduino ESP2886 coding use later. 

Step 2: Setup IFTTT Applet

  • IFTTT is stands of "If This Than That". If you were not familiar with IFTTT, you could checkout more information from these resources:
    1. What's IFTTT?
    2. How to setup IFTTT?
  • Here is how I setup my IFTTT Applet for this tutorial. This video has English Closed Captions, if you needed it.

Step 3: Check Adafruit and IFTTT setup

  • Turn on Google Home Mini and say "Turn on light one".
  • Install IFTTT App on your smartphone, if you used a smartphone rather than a Google Home.
  • Google assistant should reply "Sure, light one on".
  • From the Adafruit feeds page, you should see the data showing up there immediately reflecting the message you sent; in red square below.
  • Then, your setup is successful!

The 2nd part is completed. In the next section, I will show you all the physical setup and the Arduino codes to make this project work.


Troubleshooting:


Until then, see you next time!

Continue to read: Part 3 Arduino 程式解說 (coming soon)



中文版設定說明:

這是“Arduino + Google Home Mini 語音控制電燈
”教學的第2部分。 本次主要介紹如何設定Adafruit MQTT和IFTTT相關服務。

以下是本教學章各章節的鏈接:

步驟一: Adafruit IO 設定 

請看下面的影片,它可以幫助你了解如何設訂Adafruit IO MQTT服務。
如果您有需要,此影片有英文隱藏式字幕(CC)。







  • 如果您想了解有關MQTT的更多資訊,請參考Adafruit網站。 強烈建議不熟悉此技術的人閱讀下方的資料。

AIO 金鑰

  • AIO Key是您的個人金鑰,它讓您的Arduino ESP8226與Adafruit IO MQTT服務器之間傳送資料。請不要與他人分享。
  • 登入 Adafruit IO ,然後點選左側菜單中的“AIO金鑰”。
  • 記下AIO金鑰(你需要在Arduino程式碼用到它)見下圖:
  • Click on the "View AIO Key" button to see your AIO Key (shown below)








Write down the AIO Key for Arduino ESP2886 coding use later. 

    步驟二: 設定 IFTTT Applet

    • IFTTT是“If This Than That”的縮寫。 如果您不熟悉IFTTT,可以從下方這些連結了解更多資訊:
      1. 什麼是 IFTTT?
      2. 如何設定 IFTTT?
    • 以下影片是我為本教學設訂IFTTT Applet的方法。如果您需要,此影片有英文隱藏式字幕(CC)。

    步驟三: 檢查 Adafruit 及 IFTTT 設定

    • 打開 Google Home Mini並說 “Turn on light one"
    • 如果您使用的是Android手機而非Google Home,請在手機上安裝IFTTT App。
    • Google Home 應會回答 "Sure, light one on". 表示燈將被開啟。
    • 在Adafruit Feeds 頁面,您應該看到顯示在下方,是立即反映您發送的資料ON or OFF; 在紅色圈起地方。
    • 有收到資料表示設定成功。

    此教學第二部分已完成。在下次,我將把所有的設置和Arduino 程式碼提供給各位。

    問題排除方式:

    • 如果你使用手機,別忘了啓用 Google Assistant. 請參考如何開啓 Google Assistant.
    • 檢查手機是否安裝了 Google Assistant, 如果沒有,請到這安裝.
    • 如果你做上述的測試, 但 Google assistant 沒有反應,請參考 IFTTT help 文章。

    好的,下次見!

    請繼續閱讀 第三章: Arduino 程式解說 (coming soon)


    Comments

    1. 等待arduino程式解說中......

      ReplyDelete
      Replies
      1. 程式解說在這裡..
        https://www.blogger.com/blogger.g?blogID=16399605#editor/target=post;postID=3341424314685721463;onPublishedMenu=allposts;onClosedMenu=allposts;postNum=0;src=postname

        Delete

    Post a Comment

    Popular posts from this blog

    Arduino - DFPlayer Mini MP3 Module

    Android control color RGB LED using HC-05 Bluetooth with Arduino (Part I)

    Arduino #27 AsyncWifimanager ElegantOTA ESP32 (WiFi Password Mgnt. + WiFi Firmware Update)