A scanner has a scanning module for generating image data by way of scanning a document, a motor for driving the scanning module, and a control circuit electrically connected to the scanning module and the motor for controlling operations of the scanner. The scanning module has a light source for illuminating the document and a charge coupled device (CCD) for detecting reflected light from the document so as to generate the image data. The scanner is powered only by a serial bus.