This article discusses the use of the ESP32’s GPIO as an analog input. By using the voltage input circuit from adjusting values with an adjustable resistor as shown in Figure 1. So, in this article, we will learn how to use the ADC instruction of the ESP32 microcontroller and how to configure the value of ADC in menuconfig.
Read MoreTag: adc1_config_width()
[TH] ESP-IDF Ep.6 : ADC Input
บทความนี้กล่าวถึงการใช้งาน GPIO ของ ESP32 เพื่อทำหน้าที่เป็นการนำเข้าสัญญาณแอนาล็อก โดยใช้วงจรการนำเข้าแรงดันจากการปรับค่าด้วยตัวต้านทานแบบปรับค่าได้ดังภาพที่ 1 ดังนั้น ในบทความนี้เราจะได้รู้จักการใช้คำสั่งเกี่ยวกับ ADC ของไมโครคอนโทรลเลอร์ ESP32 และการตั้งค่าเกี่ยวกับการปรับแต่งค่าของ ADC ใน menuconfig
Read More