The concept is to control 110 V AC Synchronous motor using relays. The motor direction is determined by taking inputs form a encoder and a Contrast Sensor.
The logic is to divide the **pulses** from the **encoder** according to the **length** of the **paper** and a **monochrome black mark** will be printed on the **paper** which will be picked up by the **sensor**. The position of the **mark** will be in **sync** with a specific **pulse**.If any thing goes **off-sync** a arduino will calculate the difference and run the motor forward or backward to compensate it.