The Jackhammer is built from the Lego Wedo 2.0 educational kit. The reciprocating movement of the hammer occurs due to the operation of the cam gear.
The set includes step-by-step building instructions and an example of program (in Lego Wedo 2.0 environment).