ESP32 Smartconfig

来自Jack's Lab
(版本间的差异)
跳转到: 导航, 搜索
(Quick Start)
(Compile & Upload)
第29行: 第29行:
 
$ make flash
 
$ make flash
 
</source>
 
</source>
 +
 +
<br><br>
 +
 +
=== Test Smartconfig ===
 +
 +
Make sure that your phone is connected to your WiFi router.
 +
 +
Scan the QR code in WeChat
 +
 +
 +
[[文件:Maike-wifi-ctrl-2233-all-en.jpg]]
 +
 +
 +
Coming to below page:
 +
 +
[[文件:MK-Noduino-MJYUN-NFF-1.jpg | 450px]]
 +
 +
 +
 +
Click "Connecting Network" button:
 +
 +
[[文件:MK-Noduino-MJYUN-NFF-2.jpg | 450px]]
 +
 +
 +
Enter WiFi password then click "Connect" to complete WiFi connection. (NOTE, this network connection model only apply to 2.4G router)
  
 
<br><br>
 
<br><br>

2016年11月15日 (二) 18:48的版本

目录

1 Overview



2 Quick Start

In Linux:

2.1 Install ESP-IDF

$ sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial
$ wget https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-59.tar.gz
$ mkdir -p toolchain
$ tar zxf xtensa-esp32-elf-linux32-1.22.0-59.tar.gz -C toolchain
$ export PATH=$PATH:`pwd`/toolchain/xtensa-esp32-elf/bin
$
$ git clone --recursive git://github.com/icamgo/esp-idf.git
$ export IDF_PATH=`pwd`/esp-idf



2.2 Compile & Upload

$ cd esp-idf/examples/07_smartconfig
$ make menuconfig
$ make flash



2.3 Test Smartconfig

Make sure that your phone is connected to your WiFi router.

Scan the QR code in WeChat


Maike-wifi-ctrl-2233-all-en.jpg


Coming to below page:

MK-Noduino-MJYUN-NFF-1.jpg


Click "Connecting Network" button:

MK-Noduino-MJYUN-NFF-2.jpg


Enter WiFi password then click "Connect" to complete WiFi connection. (NOTE, this network connection model only apply to 2.4G router)



3 Reference

For more information please refer to













个人工具
名字空间

变换
操作
导航
工具箱