The aim of this bachelor thesis is to design control system of a two-wheel mobile robot and to subsequently implement this system using available sensor devices and National Instruments’ Single-Board RIO platform. The introduction briefly describes the general issue of two-wheel mobile robots as inverted pendulums, followed by an overview of several existing solutions to this problem. The following describes used robot including description of its parts and its mathematical model. Then the main part of the work follows, which is design of the sensory and control system. At the end of the thesis, the implementation is described along with evaluation of the stabilization system results