I have a project that I am exploring best hardware and Attached is a picture of the sensor array I am wanting to set up. I have three rows of three sensors. A magnet will pass through each row. I want a setup that will determine which sensor the magnet is closest two as it passes through each row. Each row will light one of three LED’s based upon which sensor the magnet passed closest to.
I am trying to determine path through each row. Would Hall Effect Sensors or IR sensors be best for this or some other setup like a position sensor setup. I am trying to do this at lowest cost possible and it will be outside which is why I am leaning towards Hall Effect Sensors. Any input would be greatly appreciated.
Moderator edit: moved img tag.