I'm looking for input on options to measure the number of rotations of a shaft using a esp32. The speed is less than 500 rpm. The direction of rotation is already known. I really only need 4 pulses per rotation. No matter which way I go I will need to machine the disk that has magnets, holes / slots or teeth to count. I'm leaning toward a A3144 hall effect sensor. The question I have with that option is the minimum voltage is 4.5v. Can this be used with the pull-up resister tied to 3.3V while the sensor is powered by 5v? The only critical consideration is that it needs to operate outdoors with a possible temperature swing of -35f to +130f.