Figure 3—The main unit is straightforward. The MC9S08GT16 microcontroller receives sensor status packets from the remote units. It can activate countermeasures using X10 power line commands. The backup battery keeps the clock running during power failures.