Arduino Schematic:

 

Code:

 Working Video of this Project