A proximity sensor includes: a light emitting unit that emits light; a light receiving unit that generates measurement current which includes object reflected light current and non-detection-target-object reflected light current; and an initial calibration execution unit that updates, on the basis of a value of the measurement current, an offset value according to the non-detection-target-object reflected light current, in a case where the value of the measurement current is equal to or less than an initial threshold.
展开▼