Digital Input Sensors

Port B, pins 18 through 25


Lever Bump Switches (6)

Used to detect collisions with objects

Port B0 - B5
address 0001h - bits 0-5
Phototransistor

Used to detect change in the light emission from a mini lamp

An analog device, configured to operate like a digital sensor
o When the device is saturated with
    light, the emitter yields current a
    logic high signal is sent
o When there is little or no light a
    logic low is sent

Port B6
address 0001h - bit 6
Infrared Detector Module

Used to detect a break in the infrared emitter beam

Outputs logic low when it detects an infrared signal in the range of 35 to 41 kHz

Port B7
address 0001h - bit 7