Below, a Hall Effect sensor rests atop an electromagnet ... [SimpleTronic] even took the time to highlight each part of the schematic in order to work through a complete explanation.