N00B: Which sensor?

hi

The solid-state way is to use a "hall-effect" sensor.

D