1.Preparing
Arduino Singlechip . I recommend you to use Arduino UNO.It is easy for new user.

ESP8266 wifi module. It is a Low power waste as well as high integration Wi-Fi chip .I recommend to use esp8266-01 version.
- A server that can be accessed .In this project ,I used a server SAE which is a quick application of sinaclound.

2.Connect ESP8266 with the Arduino Singlechip
PIN Explain And connection instruction:
- TX (UART TX)
- RX (UART RX)
- CH_PD (chip power down, should be pulled highto start the chip)
- RST (reset)
- GPIO0 and GPIO2 (generalpurpose input/output pins)
- VCC (power supply 3.3V, max. ~300mA )
ESP8266-01 Arduino UTXD RX URXD TX 3.3V 3.3V CH_PD 3.3V GND GND
3.Upload program into arduino Singlechip
First , download the Arduino IDE
use arduino ide to open the file "demo.ino" which under the folder "arduino + esp8266" .
modify the code accoding to the code explain,such as the wifi name and password as well as the server ip or hostname.

Use usb to connect arduino with the computer and click upload button
(remember disconnect the rx and tx with the esp8266 while uploading program)

4. Configure the server and database
Upload api.php and index.php into server.I reccommend to place this two file in the root of the server.
(note the location of the php file , it will affect the code in arduino)
set up a new table in database and name it app_smeat8266.After that ,import the file app_smart8266.sql.
5. Configure the Wechat public number
visit the wechat website and open the wechat application to scan the QR code so you can login in.

input the url of the file index.php and the token you set in the code.

6. Testing
- connect esp8266 wifi module with the Arduino mimichip as the step2 above
use wechat application scan the QR code and subscribe it

send order to the testing number which you set up in the file.php
7. Extend function
- add more sensors and Motor module instead of the LED
- add new function of using voice instea of message order
- develop web so you can do it visualizatly
8. Display more about my achievement
The project was done in Chinese , so you may be difficult to understand Comprehensively. If you have any question ,contact me and I will appreciate it .Thanks.
Posted on Utopian.io - Rewarding Open Source Contributors
Posted on Utopian.io - Rewarding Open Source Contributors
https://steemit.com/utopian-io/@cha0s0000/iot-idea-control-the-minichip-with-my-wechat-application
Anyway thanks a lot. Last time , I was rejected because of the LICENSE file ,which I think it was such a small problem which can not be the reason of why my IOT idea was not approved and it should be reviewed again when I add a LICENSE file in Github.But two days went , it was not reviewed any more.So I edit my last post for explaining ,and I decided to add contribution about this theme one more time,which I think will be permitted.


If any bothering, I apologize to you
@ms10398 @wehmoen