Issue from the tachometer (Self balancing motorcycle)

i have a similar problem,
sensor was with led on so i tried I substituting mkr board with another one and it worked.
Now also with the new one has the same problem. should i change it? are there any reason why after some months of work the sensor makes the board not working?

(the board is working properly but for the hall sensor.)

best regards
Stefano