At this time, people usually open and close the folding gate conventionally, so it will be less effective and efficient if opening and closing the gate manually, So it will be necessary automatic system to make it practice and efficient. From that problem the writer have suggestion to make a simulation of an automatic folding gate, with hope that it can be realize on a real gate. This automatic…