update head file, source code and circuit schematic