2019-03-24 05:00 PM
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!
2019-03-31 10:08 AM
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.
2019-03-31 10:39 AM
Found this on github:
2019-03-31 11:45 AM
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
2019-04-02 04:57 PM
How do I use the STM32F0 instead of the Arduino here?
2019-04-02 04:57 PM
How do I use the STM32F0 instead of the Arduino here?
2019-04-03 03:07 AM
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 :-)