This is the link to the code:
hm, one theory: that could be spinning too fast for the sensor to read it.
I can visually confirm that the stirrer is not working