I can’t find a SW99 D99 in tom scarff’s schematic, it seems to end at SW98 as far as I can see, The issue here is where the position with no magnet is because that may affect the wiring to the Arduino. If the no magnet position is not on either end (and it looks to be about 6 sensors from the right in one of the hand drawn images) then the wiring would need to skip that sensor to make the software work because it appears to be only expecting 49 sensors. Could you circle the position with no magnet in this image please? Or probably easier just tell me which sensor number has no magnet. I assume that sensor position would be skipped in the connectiosn to the Arduino mega.
2- distance 7 mm / 6 mm ?
I think I understand, the right hand board (which should be the current sketch) has ~6CM (the actual board has ~6.1 mm spacing) between sensors. So I need to make a second board with ~7mm spacing between sensors (and one more position for the unused sensor) for the left hand side. So we do need two different boards as the spacing is different.
Are you sure you don’t want mounting holes? The current boards seem to have them as shown circled in red in this sketch from above:
it is easy enough to make the holes in the board, I just need the x and y position and the diameter of the hole. You can also drill the hole later as long as we make the board sufficiently wide (the current board is set at 30.5cm, I expect we need to move that up some amount. )
Yes I realized that the sensor was probably more sensitive on one side than the other and reversed the parts on the board so the pins are now the correct 3 2 1 sequence.
That is too bad, the 8pin dupont housing (without pins) is almost exactly 15mm so with pins and wires it wouldn’t fit. You could run the wires through and put the connector on after the wire is through the 15mm hole. If you ever need to remove the wires you would need to remove the pins from the header (which isn’t easy to do) or just cut the wires at the header and crimp a new one on afterwards, but hopefully you won’t ever have to take the cable out and it would allow you to secure the connections to the mega better which would be good.
Peter