a transformer , coupled to a circuit board defining a receiving hole , includes a base having a first end portion and an oppositely disposed second end portion , a bobbin assembly disposed between the first end portion and the second end portion , and a post disposed on the base . the post is received in the receiving hole for positioning the transformer on the circuit board .