This is a study project implemented to understand the RTC and LCD interfaces through an STM32 based ARM board.
To display Current Date, Time and the ambient temperature on the LCD screen.
- Upon bootup, the STM32 and ESP32 boards are initialized simultaneously.
- After initialization, the ESP32 connects to the given Wi-Fi network.
- Upon successful connection, the current time in epoch seconds is obtained from a SNTP server.
- This is trnasmitted via SPI to the STM32 board.
- Upon successful reception of the time via SPI, the RTC of the STM32 board is initialized with the obtained time and date information.
- The BMP280 board is initialized via I2C and the current temperature is read periodically.
- The time/date from the RTC and the temperature from the BMP280 are displayed on the LCD screen.