Rotary TumblerSketch for arduino in the archive. But this is an alpha version, it has several flaws, but in general it works. The controller controls the engine by changing the rotation every minute in one direction and then in another. Timer up to 24 hours. Can also be used without a controller. Build details on video.
Links to used components:
Arduino Pro Mini - https://goo.gl/de5nwc
Bearing 625ZZ - https://goo.gl/QgF9kA
Oled - https://goo.gl/nq1Qsd
DRV L293D - https://goo.gl/EqAN11
Buy & save with cashback ---> http://ali.pub/2v0znm
Donate with PayPal ---> https://www.paypal.me/perinski