Mana
Mana

Reputation: 73

How to connect the ESP8266 Wifi Module to firebase through the STM32CubeIDE

I am working on an embedded project on the STM32F103rb Nucleo-64 board.

The project contains the ESP8266 Wifi Module. I write the code in the STM32CubeIDE workspace.

Is there a way to connect the ESP8266 Wifi Module to firebase through the STM32CubeIDE work environment?
Or is it not possible? Many thanks in advance!

Upvotes: 1

Views: 1626

Answers (1)

hcheung
hcheung

Reputation: 4034

Update

The highlight text provide clarification as per @ Oz Edri's comment.

Based on your comments. There are two ways to achieve what you want.

  1. To have the ESP8266 with AT Command firmware, and the STM32 communicate with ESP8266 via AT commands to establish an SSL connection over TCP with firebase server. In this case, the ESP8266 just acts as a WiFi module.
  2. To have the ESP8266 acts as an Arduino, and you design and write your interface protocol and commands between STM32 and ESP8266 (via SPI, I2C or UART). In this case, ESP8266 handle most of the communication while STM32 interfacing with sensors, etc.

I've done both ways in my projects, I have a blog post which might give you some more details on how to implement it.

Upvotes: 2

Related Questions