This miniature Hall Effect sensor UGN3503U will detect small changes in magnetic flux. Sensitive to a small magnet coming close to it.