Hamster Wheel Tracking on Raspberry Pi with an optical disc encoder sensor.
How far does your hamster run?
#Wheel axel sensor fitting
#Raspberry Pi GPIO for reading sensor and controlling lights and camera
#Uses gpiozero and offers a callback param to receive your data.
#Demo testing done using a straw with the encoder disc on the end (no hamsters were harmed in the hacking of this project)
#Sample pushing data to to influxDb rendered in grafana - both running on the Raspberry Pi