A speed sensor fastened to a front fork constituting a bicycle with a
cable tie includes a sensor body having a reed switch detecting movement
of a front wheel in the bicycle, and a rubber pad tied up on the front
fork and rotatably holding the sensor body to vary a distance between the
front wheel and the reed switch.