In this work, a low-cost and practical peristaltic pump is demonstrated using 3D printing and an open-sourced microcontroller platform. The peristaltic pump is designed to be compatible with polydimethylsiloxane (PDMS) microfluidic chips which are also fabricated through replica molding method using 3D printed molds. A thin layer of PDMS which was bonded on top of the microfluidic chip is designed to have a circular-shaped channel to be aligned with the circular arrangement of steel ball bearings. The entire system is designed to be portable and capable of producing metered fluid flow in small-scale devices. The developed device is characterized to provide adjustable fluid flow control between 1.7 µL/s to 23 µL/s which is suitable for many on-chip applications. Overall, a low-cost, portable and simple-to-fabricate peristaltic pump is presented.