实验目的及内容
1.光控灯
2.声控灯
3.语音识别控制灯
4.实现Easy IoT上mqtt消息的通讯
甲按A键(或触摸P)发送消息至topic1,同时监听topic0
乙监听topic1,接收到甲的消息后按A(或触摸P)回复消息给topic0甲显示
实验原理和内容
1.实现天黑自动亮灯,天亮灭灯
2.实现声音强度到一定程度自动亮度,否则灭灯
3.实现语音控制灯的开关
4.实现mind+下Easy IoT上mqtt消息的通讯。
实验软硬件环境
硬件:掌控板
软件:下载Mind+软件:(http://mindplus.cc)
注册easyiot账号 (http://iot.dfrobot.com.cn)
源码:( https://github.com/Tom666555/Mind-)
一、光控灯
积木图:
效果图: