The electronic device can be used with various modules attached to a device main body and is electrically connected by the respective connector portions. The device main body includes a connection terminal portion with a concave shape, and the module has a connection terminal portion with a convex shape that fits into the connection terminal portion of the device main body. The device main body includes a power source terminal group in a first surface, and includes a ground terminal group and terminal groups that are compatible with the external communication interface in the second surface on the side opposite thereto. The terminal groups has a pair of terminal groups that are used for transmitting differential signals and a ground terminal, and communication terminal groups for communication with a power source module are adjacent to the ground terminal.