A protruding structure having a linear edge is formed on a substrate. The optical fibers are disposed in the V-grooves. As such, a switch is used to switch and connect the non-polarity ultracapacitor to the different polarities of the motor, thus achieving the switching of the rotation directions of the motor.