A doorknob is a simple machine that only has two main parts. Six basic types of simple machines exist: the lever, inclined plane, wedge, pulley, screw and the wheel and axle.