EEG data is classified  into five classes using Multiperceptron Neural Network. Matlab then sends the data to  microcontroller through serial ports