Professional Documents
Culture Documents
PICLab8 MotorRPM
PICLab8 MotorRPM
the emitter. If the light is blocked, the transistor turns off providing a high impedance between the
collector and the emitter.
A plastic disk has been attached to the armature of the dc motor. The disk has black and white sections
which will either reflect the light from the LED or absorb it. The light colored side of the disk is reflective
and will reflect the light back into the phototransistor. As the motor turns, the alternating light and dark
areas will form a time varying square wave at the collector of the sensor. This signal will be used to
measure the motor rpm. See Figure 5.
P
oce
ure:
r
d
4.
5.
6.
7.