i want to do real time simulation of dc motor using raspberry pi..please suggest me some materials and ideas..