این تاپیک رو مطالعه کنید:
http://forum.arduino.ir/8/21/2324.html