2-Learn GPRS_Air202 (Air202 development board introduction and download the first program)

 http://www.cnblogs.com/yangfengwu/p/8887933.html

Information link

Link: https://pan.baidu.com/s/1968t2QITuxoyXlE_NzGvdA Password: yj7w

After the first version of the test was done on my own development board, I made some adjustments

 

 

The first DIP switch is the two serial communication between CH340 and Air202

The second DIP switch is the communication between the microcontroller and the serial port 1 of CH340 and Air202

The third DIP switch is the communication between the WIFI module and CH340, 51 microcontroller

The last one of the DIP switch is not connected, it is to allow free pins for communication to prevent serial

 

 

 

 Although the MQTT I used at the beginning of the day directly connected to my server and then communicated with my mobile phone, but I did not have any extra mobile phone cards, so I did not demonstrate direct remote communication first. I dare not use the mobile phone card I am using now, Because the SIM900A broke my mobile phone card a long time ago. . Waiting for my classmate to come back and use the data card he bought, now download the first program

Open the downloaded software

 

I am also learning to sell. . . Problem solving. .

Take a look at what the tutorial says

 

 I use LUA to develop first, because it is flexible enough and simple enough

 

 

 

 

 Actually now I want to know

 

 Different lod, what is the difference, which one should I download. . . .

 

 I'll look for it (I saw it before and forgot where it was)

Looking for a long time, suddenly. .

  see you can click

Finished my little thought. .

After reading so much, it feels like downloading lod first and then if you write the corresponding program yourself, you need to call the corresponding lib

If you are not familiar with it for the first time, try it with the official source code first.

Just want to print something

Look at several source code. .

Just found this a good start

 

 

DIP switch

 

 

 The first is to download the lod

 

 

It feels like you can choose any one, because we are just printing things on the timer, which one you choose doesn't matter.

 

 

 

 

 I'll power it back on

then plug in

 

 Power-on

This place prints things is powered on

 

 

 

 

 

 

 

 

 

 

 . . Also libs are needed, but right now I don't know which ones are needed either. . .

Take a look at the source code

 

 It seems that these two need

 

 

ok, i power it back on

 

 

 missing something

 

 

 

 

 

 

Still missing. . .

 

 

 

 

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

 

 

 

 。。。。终于好了。。。。。

 程序下一篇再唠叨,该睡觉了。。。

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324905343&siteId=291194637