ESP8266 Serial Wifi Module with STM32F4 Discovery and Android Smartphone

Опубликовано: 10 Июнь 2026
на канале: Mikrocontroller Projekte
20,551
87

First test with the new ESP8266 serial Wifi module and the STM32F4 Discovery Board. Demonstration shows sending UDP messages from the smartphone to the microcontroller. The N95 display is showing the UART init process of the ESP-01 and a short color demonstration.

More stuff with ESP8266 coming soon.

AT-Commands used in the software:
usart_write_string(USART_WLAN, "AAT\r\n");
usart_write_string(USART_WLAN, "AT+RST\r\n");
usart_write_string(USART_WLAN, "AT+GMR\r\n");
usart_write_string(USART_WLAN, "AT?\r\n");
usart_write_string(USART_WLAN, "AT+CWMODE=3\r\n");
usart_write_string(USART_WLAN, "AT+CWMODE?\r\n");
usart_write_string(USART_WLAN, "AT+CWSAP=\"ESPnext\",\"\",3,0\r\n");
usart_write_string(USART_WLAN, "AT+CIPMUX=1\r\n");
usart_write_string(USART_WLAN, "AT+CIPMUX?\r\n");
usart_write_string(USART_WLAN, "AT+CIPSERVER=1,1314\r\n");
usart_write_string(USART_WLAN, "AT+CIPSTO=10000\r\n");
usart_write_string(USART_WLAN, "AT+CIFSR\r\n");
usart_write_string(USART_WLAN, "AT+CIPSTART=3,\"UDP\",\"192.168.4.1\",1314\r\n");
usart_write_string(USART_WLAN, "AT+CIPSEND=3,8\r\n");
usart_write_string(USART_WLAN, "123456\r\n");


------------- LINKS -------------

MikrocontrollerProjekte is also available on:

• YouTube:    / mikrocontrollerprojekte  
• Instagram:   / mikrocontrollerprojekte  
• GitHub: https://github.com/MikrocontollerProj...
• Patreon:   / mikrocontrollerprojekte  

Become a Patron today!
Unterstützt meine Arbeit auf Patreon.

Subscribe my YouTube Channel: / Abonniert meinen YouTube Kanal:
   / @mikrocontrollerprojekte  


------------- VIDEOS -------------

Also watch my other projects: / Seht euch auch meine weiteren Projekte an:

• STM32 ESP8266 12F Wifi Tutorial Website
   • STM32 ESP8266 12F Wifi Tutorial Website  

• STM32F769i Discovery MIPI DSI Display Demonstration
   • STM32F769i Discovery MIPI DSI Display Demo...  

• Mikrocontroller Projekte Trailer STM32 CAR CAN ESP8266 BLDC
   • Mikrocontroller Projekte Trailer STM32 CAR...  

• STM32F769 Discovery DSI HDMI Adapter 7 inch Display 800x480 B-LCDAD-HDMI1
   • STM32F769 Discovery DSI to HDMI Adapter 7 ...  

• STM32F7 Discovery car touch navigation controller CAN Bus
   • STM32F7 Discovery car touch navigation con...  

• STM32F7 Schrittmotor Nucleo IHM02A1 dual stepper control STM32F746G Discovery
   • STM32F7 Schrittmotor Nucleo IHM02A1 dual s...  

• Raspberry Pi 7" Touchscreen Display Unboxing Mounting Installation Demonstration
   • Raspberry Pi 7" Touchscreen Display Unboxi...  

• STM32F7 Discovery Tablet and Alpine CAR Radio Control
   • STM32F7 Discovery Tablet and Alpine CAR Ra...  

• STM32F7 Discovery JVC CAR Radio Remote Control
   • STM32F7 Discovery JVC CAR Radio Remote Con...  

• STM32F4 Nucleo Dual Stepper Motor Driver X-Nucleo IHM02A1
   • STM32F4 Nucleo Dual Stepper Motor Driver X...  

• STM32 Nucleo BLDC Motor X-Nucleo IHM08M1 F401RE
   • STM32 Nucleo BLDC Motor X-Nucleo IHM08M1 F...  

• STM32F7 Discovery car navigation controller CAN Bus
   • STM32F7 Discovery car navigation controlle...  

• STM32F469i Discovery TFT Demo ARM Cortex M4 STM32F469i-DISCO
   • STM32F469i Discovery TFT Demo ARM Cortex M...  

• STM32F7 Discovery TFT Touch Demo ARM Cortex M7 STM32F746G-Disco
   • STM32F7 Discovery TFT Touch Demo ARM Corte...  

• ESP8266 WLAN STM32F4 VNH5019 DC Motor Driver
   • ESP8266 WLAN STM32F4 VNH5019 DC Motor Driver  

• ESP8266 Serial Wifi Module with STM32F4 Discovery and Android Smartphone
   • ESP8266 Serial Wifi Module with STM32F4 Di...  

• N95 Display Shield for STM32F4 Discovery
   • N95 Display Shield for STM32F4 Discovery  

• N95 8GB Display an STM32F4 Discovery
   • N95 8GB Display an STM32F4 Discovery  








---------------------MUSIC----­-----------------


Music: provided by NoCopyrightSounds
Dropouts - Unity (feat. Aloma Steele) [NCS Release]
   • Dropouts - Unity (feat. Aloma Steele) | Pr...  
YouTube    / lomatherapy  
Twitter   / dropoutsmusic  
Twitter   / ncsounds