An animation showing how a pulse signal is produced by scanning a barcode. Light produced by an LED is reflected off the white bands in the barcode but not the black, creating a pulse signal.
View the discussion thread.