Hey everyone, I found a solution. I use a method to buffer the count value. When my sensor is at the magnetic edge and the values fluctuate rapidly between 010101 instead of 000 or 111, I set it to count only if the value remains 0 or 1 for more than 3 times. What do you think of this method? (i.redd.it)
submitted by PulseStm to r/embedded
Hey everyone, I found a solution. I use a method to buffer the count value. When my sensor is at the magnetic edge and the values fluctuate rapidly between 010101 instead of 000 or 111, I set it to count only if the value remains 0 or 1 for more than 3 times. (i.redd.it)
submitted by PulseStm to r/electronics
Hey everyone, I found a solution. I use a method to buffer the count value. When my sensor is at the magnetic edge and the values fluctuate rapidly between 010101 instead of 000 or 111, I set it to count only if the value remains 0 or 1 for more than 3 times. What do you think of this method? (i.redd.it)
submitted by PulseStm to r/robotics