@Rampz, my gut feeling is that the MLX90371 might really complicate things. It is capable of three axis sensing, including an analog (or digital) response to the field strength of an approaching magnet (or two), in addition to angle sensing. Tweaking magnetic field strengths, especially in anything approaching an outdoor environment, is something I strongly suggest not getting into unless absolutely necessary.Looking for on-axis and off-axis magnetic position sesnor with analog output, best i can find is the MLX90371, actual part number being MLX90371GDC-BCC-300-SP maybe rq3 will have 5 mins to see if he thinks its suitable? It does seem to support both on-axis and off-axis planar detection and seems to be analog output, they do also do a development pcb with one attached which could be useful to play about with.
The analog output is 10%-90% vdd, they do an evaluation board with a chip pre mounted its part number is EVB90371-GDC-300-Rev1.0
https://www.melexis.com/en/product/evb90371/evaluation-board-mlx90371 is the webpage for the board and it gives a circuit digram from the board looks like it will go straight into a adc terminal on the picaxe?
Sorting those reponses, when it appears that you only need a repeatable and reliable angle sensor, seems like jumping into the deep end while holding an engine block, while what you really need is a reliable life preserver.
I think I've told this story before. Many years ago I worked with a digital engineer who was reponsible for the test interface to a holographc airborne RADAR system. His ultimate design was a wire wrapped board, about 18 inches square, containing a mix of over 500 integrated circuits (CMOS, TTL, and ECL). The interface connector to the RADAR had 600 pins, required over 100 pounds of force to connect, and was on the end of a cable roughly the diameter of my leg.
As debugging progressed, the design became more reasonable, with more and more functions combined, chips deleted, and wire wraps removed. Eventually this monstrous board had one lonely resistor on it, until the day, about 3 years later, that the final Engineering Change Notice (ECN) was issued: Delete R47.