In this paper, the attitude controller of TUU-SAT is designed, After we have considered these factors of orbit, thermal, Space environment and cost, the Passive Gravity Gradient Stabilization type is adopted, and where the magnetic-torquers produced magnetic field to affect the earth's magnetic field, then grow a magnetic force to correct the attitude of Satellite. The attitude controller is based on fuzzy logic control.