Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 Amazon Echo 和 MESH IoT 制作一个自动浇花器 #6

Open
sundway opened this issue Jul 26, 2017 · 0 comments
Open

使用 Amazon Echo 和 MESH IoT 制作一个自动浇花器 #6

sundway opened this issue Jul 26, 2017 · 0 comments
Assignees
Labels

Comments

@sundway
Copy link
Owner

sundway commented Jul 26, 2017

使用 MESH IoT 和 Amazon Echo 可以简单的搭建一个自动浇花平台, 只需要 MESH GPIO 和一个迷你水泵。

enter image description here

步骤一:材料清单

准备下面的一些材料来搭建这个浇花器。

enter image description here

enter image description here

  • 必选材料:

    • 一块 MESH GPIO
    • 一个迷你USB 水泵
    • 一根塑料或金属管(给工厂送水)
    • 一根塑料管(连接水泵)
    • 一块 USB 到 GPIO(我们在上面的照片中自己制作的)
    • 小工厂
  • 可选的

    • Amazon Echo (用于语音激活)

步骤二: 制作浇花器

在我们的项目中,我们使用了一个(漂亮光滑的)纸巾盒,但是可以随意使用任何带有孔的容器和盖子。

  • 准备容器的盖子(一个大孔和至少一个附加孔用于水管)
  • 向容器中加水并关闭盖子(将USB电缆穿过盒子中较大的孔。)
  • 将 USB 连接到 GPIO 适配器
  • 将 MESH GPIO 连接到适配器
  • 将植物放在架子上
  • 启动 MESH 应用程序,将智能功能(如语音激活或调度)添加到浇花器中

步骤三:在MESH应用中创建程序

enter image description here

enter image description here

我们设计了我们的程序,使用亚马逊 Alexa 语音激活浇花器,但随意使用任何其他类型的控件,如日程表或按钮。

  • 步骤:

    • 1、在画布中添加 Amazon Alexa 图标
      • 点击图标打开设置
      • 打开亚马逊Alexa小程序
      • 授权IFTTT应用程序
      • 在Alexa小程序上,将触发短语设置为“给我的小植物浇水”(或任何其他你想要的短语)
  • 2、在画布上添加MESH GPIO图标

    • 点击图标打开设置
    • 点击图标打开设置
    • 将VOUT值设置为“开”
  • 3、将Amazon Alexa图标连接到MESH GPIO图标

  • 4、在画布上添加一个计时器图标

    • 点击图标打开设置
    • 将等待时间设置为“2秒”(这将使程序等待几秒钟,然后向GPIO发送“关闭”触发信号,允许水流动两秒钟。)
  • 5、在画布上添加一个附加的MESH GPIO图标

    • 点击图标打开设置
    • 将VOUT值设为“关”
  • 6、测试,运行,享受!

原文链接:http://www.instructables.com/id/Self-Watering-Plant-Stand-Amazon-Echo-Made-With-ME/

@sundway sundway added the IOT label Jul 26, 2017
@sundway sundway self-assigned this Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant