General, these devices utilize a passive infrared sensor that's activated by waving a hand or object nearby. Once activated, the device dispenses a pre-programmed amount of soap. Automatic dispensers built into sink basins often feature radar-based sensors, which sense disruptions in energy.