I am testing a 3d hall effect sensor to find a "near" exact alignment in the X and Y-axis with a small Electromagnet (5V 15kg-rated) [mfg: DFRobot; mfg p/n 1738-DFR0797] and a Hall Effect evaluation board [mfg: Texas Instruments; mfg p/n TMAG5170UEVM].
These will be tested with the z-axis being approximately 60mm apart but with parallel faces between the ElectromagnetElectromagnet and the Hall Effect Sensor.
This project involves recommending, designing, and instructional guiding me to build a test version so I can measure the maximum range and accuracy of the final positioning of the paired components.
I already have the components listed above, but I am willing to go with a recommendation for a suitable (easy to use) microcontroller, such as Rasberry Pi, Arduino, or similar. I currently have four different unused microcontrollers available, but I don't want that to influence the recommendations.
For my test, I will have one of the two components fixed in a position, and the other item will be moveable on an X and Y axis but set at a Z distance. For example, imagine a short-legged table, where one device is on the floor (facing up), and the other is facing down and free to move on the top of the table in any direction.
I need these two devices to be isolated electronically so that the text platform can use one microcontroller for the stationery item and one for the moveable object. On the Electromagnet side, I want to change or vary the voltage to the Electromagnet (to show the results of the magnetic field on the opposing Hall Effect microcontroller circuit). As well as being able to turn Electromagnet on or off.
For the Hall Effect/Microcontroller side, I want to see the measured value of the magnetic field and a directional indicator directing to the centre of the magnetic field. And to also identify when the value of the Hell Effect sensor believes it is zero-zero in the X and Y axis with the Electromagnetic field.
The feedback interface from the microcontroller could be a simple digital display for magnetic value, even some LED's for directional guidance in the North-South East-West movement, and another LED for reaching true zero on each axis.
This test fixture is only a guide to determining the components and electromagnets. For example, in our actual design, we will be using motors to drive the X and Y axis and reaching true zero will be a condition the automation has arrived at the destination.