Log hamsters' wheel running to database
Plot the data and send it to Weibo everyday
A obstacle avoidance sensor (about 2RMB)
How it works:
A sensor is used to detect the color of the wheel. Since the simplest obstacle avoidance sensor is driven by the light reflection, here draw the half of the wheel then it can be used to detect the color.
The raspberrypi reads the signal infinitely and write them to influxdb. Every night the script reads the data, draws it and sends to weibo.