Design a simple fire alarm system using BC547 transistor. Detect smoke or heat and trigger buzzer or LED for early fire warning in DIY projects.