Wirehead (science fiction)
Wirehead is a term used in science fiction works to denote different kinds of interaction between people and technology. The typical wirehead idea is that of a wire going into a humans brain and safe amounts of electricity applied to the wire-conductor to directly interact with the brain.
Known Space stories
In Larry Niven's Known Space stories, a wirehead is someone who has been fitted with an electronic brain implant (called a "droud" in the stories) to stimulate the pleasure centres of their brain. In the Known Space universe, wireheading is the most addictive habit known (Louis Wu is the only given example of a recovered addict), and wireheads usually die from neglecting themselves in favour of the ceaseless pleasure. Wireheading is so powerful and easy that it becomes an evolutionary pressure, selecting against that portion of Known Space humanity without self-control. Also in this science fiction there is a device called a "tasp" (similar to transcranial magnetic stimulation) that does not need a surgical implant; the pleasure center of a person brain is found and remotely stimulated (a violation without getting the persons consent beforehand), an important device in the Ringworld novels.
A wirehead's death is central to Niven's Gil 'the Arm' Hamilton story, "Death by Ecstasy", published by Galaxy Magazine in 1969, and a main character in the book Ringworld Engineers is a former wirehead trying to quit.
Niven's stories explain wireheads by mentioning a study in which experimental rats had electrodes implanted at strategic locations in their brains, so that an applied current would induce a pleasant feeling. If the current could be obtained any time the rats pushed the lever, they would use it over and over, ignoring food and physical necessities until they died. Such experiments were actually conducted by James Olds and Peter Milner in the 1950s, first discovering the locations of such areas, and later showing extremes to which rats would go to obtain the stimulus again.
Mindkiller, a 1982 sci-fi novel by Spider Robinson set in the late 1980s, explores the social implications of technologies to manipulate the brain, beginning with wireheading, the use of electric current to stimulate the pleasure center of the brain in order to achieve a narcotic high.
The Terminal Man
Film and television
The Centurions (animated series)
In episode 41, "Zone Dancer" of The Centurions animated series, the lead character Crystal Kane is accused of "Zone Dancing" (the series' term for computer hacking) and seen using a "droud" to interface her brain with computer networks in what is probably the first animated representation of cyberspace and virtual reality. The story, written by Michael Reaves, weaves a future noir tale of cyberpunk espionage, cloning and private-eye procedural, all set in the universe of the animated series and makes copious references to William Gibson's Neuromancer. There is even a Zone Dancer named Gibson and, in what may be an homage to Larry Niven's Louis Wu, a cyberneticst named Dr. Wu.
The title character of the television show House is a physician who suffers from chronic pain. In the episode "Half-Wit", House seeks a medical procedure to stimulate the "pleasure center" of his brain.
Dr. Robert Galbraith Heath actually placed electrodes in his subjects' brains in the 1950s to try to treat their mental illness. Dr. Heath wrote several papers on his work of stimulating the various regions of the brain.
José Manuel Rodriguez Delgado also placed electrodes in his patients' brains. He called his inventions a "stimoceiver" and a "chemitrode".
- 1963: "Electrical self-stimulation of the brain in man" by Robert Galbraith Heath.
- 1972: A 24-year-old man with temporal lobe epilepsy, identified as patient "B-19". "He was permitted to wear the device for 3 hours at a time: on one occasion he stimulated his septal region 1,200 times, on another occasion 1,500 times, and on a third occasion 900 times. He protested each time the unit was taken from him, pleading to self-stimulate just a few more times..." 
- 1986: A 48-year-old woman with chronic pain. "The patient self-stimulated throughout the day, neglecting personal hygiene and family commitments."
- 2012: Cathy Hutchinson who is paralyzed had one hundred electrodes placed on the surface of her brain. With this brain–computer interface she is able to control a variety of devices.
- 2016: The New England Journal of Medicine describes a growing do-it-yourself (DIY) medical engineering culture that includes DIY transcranial direct-current stimulation 
Pain center in the brain
There is no specific location of a pain center in the brain, so a "wirehead" brain wired to feel pain would not be possible. Pain management can be extremely complicated from this lack of a specific brain location. 
- José Manuel Rodriguez Delgado
- Robert Galbraith Heath
- James Olds
- Wilder Penfield
- Drug addiction
- The Experience Machine
- Brain stimulation reward (BSR)
- Electrical brain stimulation
- DBS Deep brain stimulation
- RNS Responsive neurostimulation device
- Brain stimulation
- Nucleus accumbens
- Brain implant
- Pleasure center
- Brain–computer interface
- "Click" adult/erotic comic by Milo Manara
- A YouTube video of a patient with wires embedded in their brain. At time index 1:24
- Time Magazine February 2011
- The Perils of Deep Brain Stimulation for Depression. Author Danielle Egan. September 24, 2015.
- [non-primary source needed] Horn A, Kühn A (2015). "Lead-DBS: a toolbox for deep brain stimulation electrode localizations and visualizations". NeuroImage 107: 127–35. doi:10.1016/j.neuroimage.2014.12.002. PMID 25498389.
- Olds J, Milner P. "Positive reinforcement produced by electrical stimulation of septal area and other regions of rat brain." Journal of Comparative and Physiological Psychology. 1954 Dec; 47(6):419-27.
- Olds J. "Self-Stimulation of the Brain." Science”. 1958; 127:315-324.
- Heath, R.G. (December 1, 1963) Electrical self-stimulation of the brain in man. American Journal of Psychiatry 120: 571-577.
- Moan, C.E., & Heath, R.G. (1972) Septal stimulation for the initiation of heterosexual activity in a homosexual male. Journal of Behavior Therapy and Experimental Psychiatry 3: 23-30.
- "Paralyzed woman uses mind-control technology to operate robotic arm" by Scott Pelley CBS News May 16, 2012.
- http://www.nejm.org/doi/full/10.1056/NEJMp1511363 "Do-It-Yourself Medical Devices — Technology and Empowerment in American Health Care" by Jeremy A. Green,]
- "All pain is in your brain" author Mary Heinricher, Ph.D.