The aim of this work was to design and implement of an embedded microcontroller for controlling and monitoring fluid transport in the peristaltic pump. An electronic hardware which consists of STM32F4 development board, stepper motor driver circuit, current sensor, magnetic sensor and arterial presure sensor circuits was developed in parallel with embedded software development. The embedded sofware consists of routines for monitoring current sensor, pressure sensor, and magnetic sensor, as well as routines for pump speed controller. The STM32F4 board which consits of ARM Cortex M4F microcontroller was chosen because of the trade off between price, performance, and low power consumption.
The peristaltic pump system was tested with the mixture of water and glycerin with certain composisition and having viscosity simular to human blood. The validation was also be performed by comparing the results with the measurement conducted using turbine flow meter. The results shows that the performance of the controller is working as expected.