4004 views|4 replies

693

Posts

7

Resources
The OP
 

ESP8266WiFi module (IoT switch) test (AP mode) [Copy link]

 This post was last edited by bqgup on 2020-1-27 10:39

The Internet of Things is very popular nowadays, so let’s get two ESP8266WiFi modules to experience the fun of network control.

one,

I use an 8-pin WiFi module, as shown below:

The pin diagram of the module is as follows:

Note on pin usage: the module is powered by 3.3V, the CH_PD pin is pulled high, and GPIO15 (this step can be ignored in systems without GPIO15 pin) is pulled low, and the system can start. For this purpose, I designed a special test board. The schematic diagram, 3D diagram and engineering files of the test board are as follows:

Schematic diagram of stm32+esp8266 IoT test board: stm32 esp8266物联网测试板.pdf (407.19 KB, downloads: 20)

stm32+esp8266 IoT test board PCB project file: 2、stm32 esp8266物联网测试板.rar (8.19 MB, downloads: 19)

two,

Finally, a finished product was welded. Welding patches is a technical job.

After testing, there is no problem with the board hardware

three,

Start writing the program. AP mode means that the WiFi module itself sends out a hotspot, and the mobile phone connects to the hotspot of the WiFi module for data communication. The AP mode program runs in Keil5. Program project file: 物联网WiFi开关(AP模式).rar (4.38 MB, downloads: 48)

Users can modify the test.c and test.h files according to their needs. I will pull out the codes in these two files for explanation.

First configure the working mode AP mode: ESP8266_Net_Mode_Choose (AP);

For details, please look at the code or leave me a message, and I will answer you in detail. Finally, use the SWD interface to download the program.

Four,

Connect the circuit and start testing.


ESP8266WiFi module (IoT switch) test (AP mode) demonstration video https://b23.tv/av85160294

This post is from Innovation Lab

Latest reply

Can you share the software on your phone? Thank you.   Details Published on 2020-6-8 20:51
 
 

1w

Posts

25

Resources
2
 

ESP8266 is cheaper, ESP32 is more powerful

This post is from Innovation Lab
 
 
 

39

Posts

0

Resources
3
 

Thanks for sharing, I'll learn from you

This post is from Innovation Lab
 
 
 

189

Posts

0

Resources
4
 

Can you share the software on your phone? Thank you.

This post is from Innovation Lab
Personal signature单片机软件/硬件交流群:127034610
 
 
 

693

Posts

7

Resources
5
 
liushiming82 posted on 2020-6-8 20:51 OP, can you share the software on your phone? Thank you

OK, it’s in the network disk, you can download it.

Link: https://pan.baidu.com/s/1M8YSQ3cnOgRpzs3OP7ot1w
Extraction code: ff1q

This post is from Innovation Lab
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list