In this article we try to show how new devices and methods can help in the education of programming. At Kecskemét College programmable mobile robots and instead of behavioral, the constructivist pedagogical methods were used. Our experiments have proved our hypothesis as the improved new methodical education using devices can give more practical programming knowledge, increases the attitude towards programming and helps to have positive programming self-image. The results of the experimental and control groups were compared at the beginning and at the end of semester, when the programming knowledge and motives were measured. During the learning process only the experimental groups used devices and new methods.