Digital isolator tutorial. So first let us construct our circuit diagram.