| CPC H05K 1/0274 (2013.01) [B65H 5/062 (2013.01); H05K 1/0287 (2013.01); H05K 1/181 (2013.01); H05K 3/305 (2013.01); B65H 2402/45 (2013.01); B65H 2553/46 (2013.01); B65H 2801/15 (2013.01); H05K 2201/09072 (2013.01); H05K 2201/10121 (2013.01); H05K 2201/10151 (2013.01); H05K 2201/10522 (2013.01)] | 8 Claims |

|
1. An image forming apparatus comprising:
an image forming unit configured to form an image on a recording material;
a door openable and closable relative to an apparatus main body of the image forming apparatus;
a control unit configured to detect an opening/closing state of the door; and
a sensor unit,
wherein the sensor unit includes:
a light-emitting unit including a light-emitting element configured to emit light;
a light-receiving unit including a light-receiving element configured to receive the light emitted from the light-emitting element;
a flag configured to pass through a space between the light-emitting unit and the light-receiving unit; and
a printed circuit board having a mounting surface on which the light-emitting unit and the light-receiving unit are mounted,
wherein a cutout or a hole is formed in the printed circuit board,
wherein the light-emitting unit and the light-receiving unit are mounted on the mounting surface of the printed circuit board so that the light-emitting element and the light-receiving element face each other, and the light emitted from the light-emitting element travels straight along the mounting surface of the printed circuit board over the cutout or the hole,
wherein the flag is configured to move in a direction intersecting the mounting surface of the printed circuit board and enter the cutout or the hole, thereby blocking the light traveling from the light-emitting element to the light-receiving element, and
wherein the flag moves by an operation of opening and closing the door, and the light-receiving unit outputs a signal based on a light-receiving state of the light to the control unit, whereby the control unit detects the opening/closing state of the door.
|