Homemade inverter - schematic
DIY inverter schematic
For the first test we will use the Arduino to apply the square signal at the gate of each MOSFET. We know that the two signals have to be inverted one to each other so when one is high the other one is low and vice-versa.