Having described the pH robot's hardware, we now shift our attention to the titration algorithm, summarised in Figure . The initial step is a simple check whether we are already within the target pH range. If not, we add a small random volume of acid or base in the required direction.