A man has rigged an elaborate suicide machine.