Focusing on the fundamental task of buliding morality and cultivating people, colleges and universities are vigorously carring out the teaching reform of curriculum ideological and political education, enhancing the teaching and educational awareness of teachers in all courses, and exploring the construction of ideological and political education system. Taking the course of circuit principle as an example, this paper explores how to integrage ideological and political elements into the teaching of this course, realize the cirriculum goal of combining "knowledge transfer and value guidance", and cultivate a number of pillars with excellent professional technology and high ideological and political level.