Skip to main content
wwgww
Associate
September 24, 2021
Question

How can I communicate wifi between the stm32h board and esp8266? I want to send a command to scan the network on the board with esp8266 and show the scan list on the PC through the serial monitor. Using the AT command. Is it possible?

  • September 24, 2021
  • 2 replies
  • 1103 views

My board is STM32H750B.

I use stmCubeMx and Iar programm.

This topic has been closed for replies.

2 replies

TDK
September 24, 2021

If you program the ESP8266 to act as a wireless serial port, you can connect it to a UART peripheral on your chip and communicate that way.

It's not going to show up as a serial port since it's not a local device, but you can communicate with it via the ESP web interface.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Tesla DeLorean
Guru
September 24, 2021

Sure, you'd need to code the buffering/handling of the UARTs involved, transferring the responses to the PC connected UART.

You're unlikely to get people to code the project for you. Would suggest you start with UART examples within the CubeH7 tree. Read the datasheet/expectations for the ESP8266 you have connected.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..