An electronic unit case which provides an electronic unit together with one of a first substrate and a second substrate, the electronic unit case having a shape allowing selective accommodation of either one of the first substrate and the second substrate,
- the first substrate having a first reference side, a first opposed side parallel to the first reference side and opposing the first reference side, and a pair of first lateral sides extending between the first reference side and the first opposed side in the direction orthogonal to the first reference side and the first opposed side and opposing each other, and allowing mounting of a first connector for external connection along the first reference side, and the second substrate having a second reference side and a second opposed side equivalent to the first reference side and the first opposed side, and a pair of second lateral sides extending between the second reference side and the second opposed side in the direction orthogonal to the second reference side and the second opposed side, opposing each other, and having a dimension larger than that of the first lateral sides, and allowing mounting of a second connector for external connection in a relative positional relationship with respect to the second reference side equivalent to the relative positional relationship between the first reference side and the first connector,
- the electronic unit case comprising:
- a case body opening in the direction parallel to the direction of normal lines of the first substrate and the second substrate, and having a shape configured to restrain either one of the first substrate and the second substrate in the direction orthogonal to the direction of the normal lines;
- a cover member configured to be mounted on the case body so as to close the opening, wherein
- the case body includes:
- a bottom wall portion having a surface area configured to selectively accommodate one of the first substrate and the second substrate, and the bottom wall portion including a substrate supporting portion configured to support the accommodated substrate from the side opposite from the opening;
- and
- a peripheral wall portion extending upright from the bottom wall portion and having a shape configured to surround either one of the first substrate and the second substrate;
- the peripheral wall portion includes:
- a reference wall portion configured to come into abutment with the first reference side or the second reference side for positioning the same;
- a pair of side wall portions configured to come into abutment with the first lateral sides or the second lateral sides for positioning the same;
- a first restraint portion configured to restrain the first substrate in cooperation with the reference wall portion by coming into abutment with the first opposed side of the first substrate at a position where the first reference side of the first substrate comes into abutment with the reference wall portion;
- and
- a second restraint portion located at a position farther from the reference wall portion than the first restraint portion and configured to restrain the second substrate in cooperation with the reference wall portion by coming into abutment with the second opposed side of the second substrate at a position where the second reference side of the second substrate comes into abutment with the reference wall portion, wherein
- the first restraint portion has a discontinuous shape between both side wall portions and a shape allowing the second substrate to continue in the direction parallel to the second lateral sides in an area where the first restraint portion is not present, and wherein
- an upper edge of the first restraint portion is configured to be positioned vertically higher than an upper surface of the first substrate, with respect to the bottom wall portion of the case body, when the first substrate is accommodated within the electronic unit case.