master
IoTcat 5 years ago
parent 5e7e6ec1b7
commit c26151988f
  1. 25
      docs/README.md

@ -13,29 +13,30 @@ For **windows** user, you can follow the instruction in [this website](https://w
## Install wIoT package
After install Node.js and configure npm successfully, you should then use npm to download wIoT package by enter following command in your command window.
Windows user can use cmd or powershell
`npm install wiot`
It should be notice that this may report error for some users. The solution is to open your cmd window as administrator.
You right click on cmd and choose *run as an administrator*.
You can also press windows+R and input *cmd* then press Ctrl+Shift+Enter to open it as administrator.
After install Node.js and configure npm successfully, you should then use npm to download wIoT package by enter following command in your command window.
```shell
npm install wiot
```
Windows user can use cmd or powershell.It should be notice that this may report error for some users. The solution is to open your cmd window as administrator. You can right click on cmd and choose *run as an administrator*. You can also press windows+R and input *cmd* then press Ctrl+Shift+Enter to open it as administrator.
## Burn firmware
## Connect your device to D1 MINI
After burning the firmware, you should try to connect your device to D1 MINI
- After burning the firmware, you should try to connect your device to D1 MINI
Follow the steps below, I'm sure it would not be a problem for such a smart person like you
### 1. Reset your D1 MINI
Find pin **D0** on your D1 MINI, it should be in the middle of A0 and D5.
Use a wire to connect **3V3** to **D0**. If your MINI works normally, you would see its BUILT-IN LED blink.
You **don't** have to wait until it stops blink, just stay for **2s**, then you can pull out the wire and your MINI would reset.
- Find pin **D0** on your D1 MINI, it should be in the middle of A0 and D5.
- Use a wire to connect **3V3** to **D0**. If your MINI works normally, you would see its BUILT-IN LED blink.
- You **don't** have to wait until it stops blink, just stay for **2s**, then you can pull out the wire and your MINI would reset.
### 2.Find your D1 MINI on your device
After you finish step 1, your MINI would work in AP mode, which means you can search it with your smart phone or personal computer by scanning the Wi-Fi around
If your MINI was reset successfully, you would find a Wi-Fi with SSID in the form of **wiot-xx:xx:xx:xx:xx:xx**.
- After you finish step 1, your MINI would work in AP mode, which means you can search it with your smart phone or personal computer by scanning the Wi-Fi around
- If your MINI was reset successfully, you would find a Wi-Fi with SSID in the form of **wiot-xx:xx:xx:xx:xx:xx**.
Example:
![ssid](https://image.yimian.xyz/docs/wiot/ssid.png)
"xx:xx:xx:xx:xx:xx" is the MAC address of this MINI, please try to remember the address for you may use it later

Loading…
Cancel
Save