2557 views|0 replies

1668

Posts

0

Resources
The OP
 

MSP432 connects wifi module ESP8266 as server [Copy link]

The wifi module esp8266 is very easy to use. It can be connected to the microcontroller via uart, and it is very easy to connect the microcontroller to the Internet.

This time, esp8266 is set to AP mode and used as a server, and the computer is used as a client to achieve wireless communication between msp432 and the computer through wifi.

The module has been set to AP mode before, and the previous settings can be saved after power failure.

Msp432 only needs to set the esp8266 module to multi-connection, start the server, and then it can communicate with the computer.

The specific code is as follows:

The communication process is as follows:


The wifi module's IP address is 192.168.4.1 and the port is 8080, which are set by code. These two parameters can be queried through AT commands.

The above completes the WiFi wireless communication between msp432 and computer.

This post is from Microcontroller MCU
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

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