The Chainsaw is built from the Lego Wedo 2.0 educational kit. A tilt sensor is installed on the chainsaw body, which activates the saw at a certain tilt. The drive is assembled on a combination of belt and cylindrical gears.
The set includes step-by-step building instructions and an example of program (in Lego Wedo 2.0 environment).