Maniac Mansion - Season 2 Episode 12 A Hatful of Brain
Overview: Fred develops a machine that increases human intelligence. Fred tries it on himself and likes the results. However, he steadily becomes more dependant on the machine and uses it all the time. It gets to the point where he's obsessed with knowledge and loses touch with the family. Fred then realizes he needs help and gets rid of the machine.