Fig. (3) The hardware circuit diagram.