Real-time pH control on-chip is a crucial factor for cell-based experiments in microfluidics, yet difficult to realize. In this paper, we present a flexible pH regulator on a digital microfluidic (DMF) platform. The pico-dosing technology, which can generate and transfer satellite droplets, is presented to deliver alkali/acid into the sample solution to change the pH value of the sample. An image analysis method based on ImageJ is developed to calculate the delivered volume and an on-chip colorimetric method is proposed to determine the pH value of the sample solution containing the acid-base indicator. The calculated pH values show consistency with the measured ones. Our approach makes the real-time pH control of the on-chip biological experiment more easy to control and flexible.