one of a variety of mechanical or electronic devices designed to check consistency in manufacturing, detect trouble or danger, activate traffic signals, etc.