注册 登录
电子工程世界-论坛 返回首页 EEWORLD首页 频道 EE大学堂 下载中心 Datasheet 专题
dql2016的个人空间 https://home.eeworld.com.cn/space-uid-676625.html [收藏] [复制] [分享] [RSS]
日志

【WIO Link评测】用手机编程,点个灯

已有 757 次阅读2017-10-6 18:51 |个人分类:物联网

WIO Link的板载资源不是很多,预留了3个IO和3个常用的接口,也能满足一些小作品的需求了,官方宣传的3步5分钟就能创建一个IoT应用。利用手机app给它编程,实在是方便到没朋友~


Part
Function
MCU
ESP8266

Digital Port 0
GPIO 14

Digital Port 1
GPIO 12

Digital Port 2
GPIO 13

Analog Port
A3

UART Port
Pin 1 & Pin 3

I2C Port
Pin 4 & Pin 5

Status Light
Blue LED is the WiFi status indicator, Red LED indicates the working status

Configure Button
To configure and manage your Wio Link

Battery Holder
JST2.0

Micro USB
To power the board or communicate to the PC

Reset Button
To reset the MCU

按照javascript:;的入门指南,试试看能不能快速的控制Digital Port 0输出高低电平。


STEP 1: Install Android/iOS App
STEP 2: Create your Account
STEP 3: Connect Wio Link Wi-Fi AP
Push and hold the CONFIG button until the blue LED turns into breathing mode (i.e. blinking with fade in & fade out effect). It means that Wio Link has turned to configuration mode successfully and can be detected by the Wio App.

Push “Add your first Device”.
Choose Wio Link
“Go to Wi-Fi list” will lead you to the Wi-Fi setting interface of your smartphone.


STEP 4: Virtually interconnect modules with Wio Link and update firmware
Click the Wio Link and you will be in the main interface.
There are 6 grove connectors, select the first one on the left.
Because LED is output devices. Choose output category
Find the icon that looks like a bulb, choose it.
Then you will find the bottom rectangle button becomes red and “View API” becomes “Update Firmware”. Choose “Update Firmware”


STEP 5: Test application using APIs

实际上很快就能配置好网络,设备显示在线了:


GET方法可查看结果:

通过post方法设置输出电平:

此内容由EEWORLD论坛网友dql2016原创,如需转载或用于商业用途需征得作者同意并注明出处



本文来自论坛,点击查看完整帖子内容。

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

热门文章