Motor comprising: a bobbin having an insertion hole being an internal space; a coil wound around the bobbin; a stator core having a first segment core and a second segment core which is connected to the first segment core; a rotor disposed rotatably with respect to the stator core; and a resin mold covering the bobbin, the coil, and a portion of the stator core, wherein the bobbin includes: a coil bobbin portion around which the coil is wound; a first opening end being one opening end of the insertion hole; and a second opening end positioned on a side opposite to the first opening end, the first opening end includes an exposed portion which protrudes from the bobbin outward along a direction of hole axis of the insertion hole, the exposed portion having an exposed surface which is exposed from the resin mold, the second segment core functions as an excitation part of the stator core by inserting the second segment core into the insertion hole of the bobbin, and a magnetic flux excited by the excitation part is transmitted to the rotor through the first segment core, a boundary is formed between the exposed portion and the second segment core of the stator core such that the exposed portion is located between the resin mold and the second segment stator core in a direction perpendicular to said direction of hole axis. a bobbin having an insertion hole being an internal space; a coil wound around the bobbin; a stator core having a first segment core and a second segment core which is connected to the first segment core; a rotor disposed rotatably with respect to the stator core; and a resin mold covering the bobbin, the coil, and a portion of the stator core, wherein the bobbin includes: a coil bobbin portion around which the coil is wound; a first opening end being one opening end of the insertion hole; and a second opening end positioned on a side opposite to the first opening end, the first opening end includes an exposed portion which protrudes from the bobbin outward along a direction of hole axis of the insertion hole, the exposed portion having an exposed surface which is exposed from the resin mold, the second segment core functions as an excitation part of the stator core by inserting the second segment core into the insertion hole of the bobbin, and a magnetic flux excited by the excitation part is transmitted to the rotor through the first segment core, a boundary is formed between the exposed portion and the second segment core of the stator core such that the exposed portion is located between the resin mold and the second segment stator core in a direction perpendicular to said direction of hole axis. a coil bobbin portion around which the coil is wound; a first opening end being one opening end of the insertion hole; and a second opening end positioned on a side opposite to the first opening end, the first opening end includes an exposed portion which protrudes from the bobbin outward along a direction of hole axis of the insertion hole, the exposed portion having an exposed surface which is exposed from the resin mold, the second segment core functions as an excitation part of the stator core by inserting the second segment core into the insertion hole of the bobbin, and a magnetic flux excited by the excitation part is transmitted to the rotor through the first segment core, a boundary is formed between the exposed portion and the second segment core of the stator core such that the exposed portion is located between the resin mold and the second segment stator core in a direction perpendicular to said direction of hole axis.