如何用arduino作植物宝
一、硬件部分:底板:ardduino (以gokit为例子)
模块:汉枫LPB100 乐鑫ESP8266 庆科MX3162等
传感器:土壤传感器(四线)
驱动 CH30 分享链接:http://pan.baidu.com/s/1dDEU9zz
源码分享链接:http://pan.baidu.com/s/1eRiqthS 密码:36lb
Arduino 分享链接:http://pan.baidu.com/s/1qX4jvVQ
二、硬件组装:
http://club.gizwits.com/data/attachment/forum/201608/18/174338sbgkdihbbi28lccc.png
http://club.gizwits.com/data/attachment/forum/201608/18/174339dnhznnf3yb3x2mxj.png
三、云端部分
1.注册开发者账号
登录 http://www.gizwits.com/zh-cn/index/直接注册账号即可。这个账号将用来生成、管
理属于你的产品及 APP
http://club.gizwits.com/data/attachment/forum/201608/18/174340jpbt4lxplynybbex.png
2.定义你的产品
http://club.gizwits.com/data/attachment/forum/201608/18/174342szd0eeowyjiiwe7f.png
3.创建属于你的新产品
http://club.gizwits.com/data/attachment/forum/201608/18/174343syqsyzrmcy3ypf5y.png
4.定义你的产品名称,选择板卡 GoKit
http://club.gizwits.com/data/attachment/forum/201608/18/174343pxh4l4zapaxkxx1x.png
5.选择定义数据点
http://club.gizwits.com/data/attachment/forum/201608/18/174344xv4obw2x1lr8dbdq.png
6.定义数据点
http://club.gizwits.com/data/attachment/forum/201608/18/174344tzivxue4i4xuxlav.png
7.生成四个数据点
http://club.gizwits.com/data/attachment/forum/201608/18/174345gyttd5d7ysdodzp8.png
8.生成协议文档
http://club.gizwits.com/data/attachment/forum/201608/18/174345mtqv02sm9q3pvjqe.png
9. 生成 IOS 以及 Android APP
http://club.gizwits.com/data/attachment/forum/201608/18/174346v8gilgmulo8iszi9.png
10. 完成产品定义生成 APP ID 以及 Product Key
http://club.gizwits.com/data/attachment/forum/201608/18/174346lf9hu99fc92cx9hm.png
11.启用虚拟设备
利用 Demo APP 和虚拟设备进行测试
http://club.gizwits.com/data/attachment/forum/201608/18/174347ct6ufauybltyu0aq.png
12.打开 APP 对二维码进行扫描
http://club.gizwits.com/data/attachment/forum/201608/18/174347pbm2z4aazh724834.png
13.扫描二维码绑定虚拟设备
14.推送数据同步观察手机设备
http://club.gizwits.com/data/attachment/forum/201608/18/174348sd8lim0l9331b2fn.png
四.硬件烧写
15.打开 Arduino IDE 软件打开植物宝项目
http://club.gizwits.com/data/attachment/forum/201608/18/174349x25cwfgpoof5cg5f.pnghttp://club.gizwits.com/data/attachment/forum/201608/18/174350lfj4vzz6n6kg9r1g.png
http://club.gizwits.com/data/attachment/forum/201608/18/174351mghz7nnxnpnfgxqg.png
16.编译源代码
http://club.gizwits.com/data/attachment/forum/201608/18/174351q0bw4vr3204qaf7a.png
17.拷贝源代码项目的库
http://club.gizwits.com/data/attachment/forum/201608/18/174352gx2tclur5lo3dl9x.png
18.将源代码中的 Product Key 替换成自己官网的 Product Key
http://club.gizwits.com/data/attachment/forum/201608/18/174353gvemyfuxxeuprmst.png
19.选择烧写串口
http://club.gizwits.com/data/attachment/forum/201608/18/174354d5t5z0ibf0y012fj.png
20.卸下拓展板,烧写程序到板子上。
http://club.gizwits.com/data/attachment/forum/201608/18/174359kazkrl3zk1q35qi3.pnghttp://club.gizwits.com/data/attachment/forum/201608/18/174400umiuzzbu6pm36ulh.png
22. 重新配置上网,OK
http://club.gizwits.com/data/attachment/forum/201608/18/174400sorviilacvi4llrr.png
楼主给个联系方式,我试着做了,出现了点问题,咨询下楼主 刘延成 发表于 2016-10-25 17:46
楼主给个联系方式,我试着做了,出现了点问题,咨询下楼主
G2机智云物联网云服务 491509598 机智小子 发表于 2016-10-31 12:36
G2机智云物联网云服务 491509598
谢谢,只要简单的配置就可以吗?都不用配置,如果我要控制一个小LED灯应该怎么接线,谢谢
页:
[1]