In this work, we designed two Arduino-based electrical experiments to help students understand the properties and applications of capacitors. To conduct the experimental research on capacitors, this paper introduces the experimental setups of the ESP32 development board with the Phyphox app. The ESP32 development board is connected to sensors for measuring and collecting data, and the Phyphox app is responsible for receiving and displaying data in the form of charts. This type of electrical experiment is simple to operate, accurate in data, and intuitive in charts, making it extremely beneficial for the development of the secondary school student’s physics skills.