13

Connecting the ESP32 to AWS IoT Core

In the previous chapter, we successfully instructed ChatGPT to generate code on the ESP32 to connect to your Wi-Fi network, obtain an IP address, ping an internet host, and synchronize with an NTP (Network Time Protocol) server to get the local time Now, we’re moving on to the most critical step: connecting the ESP32 to AWS IoT Core via the MQTT protocol over a Transport Layer Security (TLS) connection.

By the end of this chapter, you will be able to possess the skills and knowledge to provision your ESP32 as a new THING in AWS IoT Core. Not only that, but you will also be able to connect your ESP32 to AWS IoT Core through a secured TLS/MQTT connection.

This chapter will cover the following topics:

Get Accelerating IoT Development with ChatGPT now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.