VACUUM TUBES/THERMIONIC DIODES
Our first accidental discovery was of thermionic emission, which many years later lead to the vacuum tube. Thermionic emission is basically heating a metal, or a coated metal, causing the emission of electrons from its surface.
In 1873 Frederick Guthrie had charged his electroscope positively and then brought a piece of white-hot metal near the electroscope’s terminal. The white-hot metal emitted electrons to the terminal, which of course neutralized the electroscope’s positive charge, causing the leafs to come together. A negatively charged electroscope can’t be discharged this way though, since the hot metal emits electrons only, i.e. negative charge. Thus the direction of electron flow was one-way and the earliest diode was born.