An electronic device includes a base with a first magnetic member, a connecting member slidably mounted to the base, and a cover with a second magnetic member. A power transmitting portion includes a second case, accommodating the second electric motor and the automatic power transmission. The operator can carry out entering for setting a reading size and a direction of an original on the operation screen of the scanner driver. Thereafter, a tungsten interconnection is formed in the first and second openings.