Summary
ESP32 has a diverse range of peripherals to be employed in different scenarios. In this chapter, we covered several important peripherals that provide interaction with the outer world in IoT applications. The most basic one is GPIO, which can be configured for any digital input/output needs. I2C and SPI are prominent in sensor communication. For audio output, we can use I2S. It is similar to I2C but supports stereo. We have also seen GUI development on LCD with the help of LVGL.
The next chapter will provide a list ofpopular IoT libraries with examples. When it comes to IoT applications, the use of third-party libraries is almost inevitable for every project to speed up product development and reduce costs. Therefore, it is always better to have an idea about the available options before jumping into development. We will discuss some of those libraries and use cases in the next chapter.