System Design

Circuit diagram: