cancel
Showing results for 
Search instead for 
Did you mean: 

How do I use the ESP8266 with an STM32F0Discovery board?

Programmer1010101
Associate II

Hello,

I'm a newbie trying to use an ESP8266 with my STM32F0Discovery board using the UART peripheral in order to send data to a web server. Is anyone familiar with this? Could someone help me out with steps/a tutorial I could follow? I looked around but am unsure of the AT commands to use for this as well as how to program the STM32 for this. Any help would be appreciated.

Thank you!

6 REPLIES 6
MikeDB
Lead

Probably best bet is to look at the Arduino forums as there is one dedicated to the ESP8266. Or ask on the Espresif forum itself but that has less people on it.

To be honest the first thing I do with any ESP8266 is reflash it with the Arduino core so I can program it at a lower level than AT commands.

S.Ma
Principal

Found this on github:

https://github.com/MaJerle

That's actually very clever. But what it's doing is moving much of the processing load from the ESP8266, which has a huge amount of processing power, to the STM32 which is usually less powerful. Far better to implement all the functions you need on the ESP and just call it with high level commands.

This is one of the best guides to these ICs

https://tttapa.github.io/ESP8266/Chap10%20-%20Simple%20Web%20Server.html

Programmer1010101
Associate II

How do I use the STM32F0 instead of the Arduino here?

How do I use the STM32F0 instead of the Arduino here?

The 'Arduino' code actually runs on the ESP8266. There is no Atmel MCU involved at all. The STM32F0 would then send your own defined commands to the ESP8266. But in fact as the ESP8266 is so much more powerful, I find it is often the other way around - the MCU becomes the slave processor and does what it is told by the ESP8266 🙂