Brushless DC Motors are often preferred due to their high power/volume ratio in electrical vehicles with space constraint and need of high power and space technologies. So that, modeling, simulation and controlling of Brushless DC (BLDC) Motors should be developed for these applications. In this study, the modelling and simulation studies for a BLDC motor in MATLAB/Simulink and a controller design in the structure of ANN based control system with PID compensator are presented. Developed control algorithm is converted to C code which can be understood by standard compilers with Simulink/Target Language Compiler plugin and this code is compiled and embedded to DSPIC MCU. Simulation and test results are compared and good correlation is found between them.