ESP8266 module STA mode program, the main control chip is MSP430F5438A, the development environment is IAR
MSP430F5438A communicates with ESP8266 through the serial port at a baud rate of 115200 to configure ESP8266.
It mainly completes the connection configuration of indoor WiFi and the configuration of connecting to the remote server. The remote server uses USR-TCP232-Test software
When USR-TCP232-Test software is opened, it will automatically display your computer IP and the port number used, and write it directly into the program.
The IP and port number you need to connect to.
After the configuration is complete, two-way data transmission can be achieved with the remote server in STA mode.
When sending data through the serial port, it is sent in character type ("AT"). After the command is sent, \r\n is sent immediately to indicate carriage return and line feed, completing a line.
Sending operation of the command.
In terms of hardware, when the ESP8266 module is powered on or reset, the instantaneous current is large, and a large capacitor must be connected to the power output to ensure the module is positive.
Work regularly.
Just connect the RST and PD pins of ESP8266 to a high level.
The program comments are not yet complete and will be uploaded later.
Previous article:SIM900A GPRS Debugging Notes
Next article:MSP430F149 small system development board realizes RS232 serial communication
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- Ultra-low power consumption and high precision ultrasonic flow meter based on MSP430
- 2. Evaluation starts with lighting
- Slope compensation issues
- Controlled by "Playpad" + Siri + Shortcut Command + ESP8266
- Share the OS transplantation and application of Lingdong Micro MCU based on MM32 MCU-AMetal SPI operation
- Do you still buy electronic components offline? It’s Double 11, what goodies are in your shopping cart?
- 【TI Recommended Course】#Amplifier Protection Series#
- 01 First look at the development board
- Battery and System Health Monitoring Reference Design for Battery-Powered Smart Flow Meters
- Who has used the voltage-to-PWM chip GP9101?