Victor Frankenstein did not invent a device. In Mary Shelley's 1818 novel Frankenstein; or, The Modern Prometheus, he assembles and animates a sentient Creature from cadaver parts using galvanism (electricity) and secret chemical processes.
The novel reflects early 19th-century debates on vitalism, electricity, and scientific hubris.