Stop Printing Air with a Filament Sensor

If you have had a 3D printer for awhile, you know the heartbreak of coming in to check on an 8-hour print only to find that in hour 7 you ran out of filament (or the filament broke) and your printer has been dutifully moving around for no reason. [Chuck...