He had now the command of a good laboratory; he had not to undergo the drudgery of systematic teaching, but was only required to give lectures to a general audience. Before leaving Bristol he had commenced experiments on the chemical applications of the voltaic battery; these he at once followed up with the better apparatus now at his command. The results of this research, and his subsequent work on the alkalis and on muriatic acid and chlorine, have been already described. The circumstances of Davy's life had hitherto been most favourable; how nobly he had availed himself of these circumstances was testified by the work done by him.
His first lecture was delivered in the spring of 1801, and at once he became famous. A friend of Davy says, "The sensation created by his first course of lectures at the Institution, and the enthusiastic admiration which they obtained, is scarcely to be imagined. Men of the first rank and talent, the literary and the scientific, the practical and the theoretical, blue-stockings and women of fashion, the old and the young—all crowded, eagerly crowded the lecture-room. His youth, his simplicity, his natural eloquence, his chemical knowledge, his happy illustrations and well-conducted experiments, excited universal attention and unbounded applause. Compliments, invitations and presents were showered upon him in abundance from all quarters; his society was courted by all, and all appeared proud of his acquaintance." One of his biographers says of these lectures, "He was always in earnest, and when he amused most, amusement appeared most foreign to his object. His great and first object was to instruct, and in conjunction with this, maintain the importance and dignity of science; indeed, the latter, and the kindling a taste for scientific pursuits, might rather be considered his main object, and the conveying instruction a secondary one."
The greatest pains were taken by Davy in the composition and rehearsal of his lectures, and in the arrangement of experiments, that everything should tend towards the enlightenment of his audience. Surrounded by a brilliant society, invited to every fashionable entertainment, flattered by admirers, tempted by hopes of making money, Davy remained a faithful and enthusiastic student of Nature. "I am a lover of Nature," he writes at this time to a friend, "with an ungratified imagination. I shall continue to search for untasted charms, for hidden beauties. My real, my waking existence, is amongst the objects of scientific research. Common amusements and enjoyments are necessary to me only as dreams to interrupt the flow of thoughts too nearly analogous to enlighten and vivify."
During these years (i.e. from 1802 to 1812) he worked for the greater part of each day in the laboratory. Every week, almost every day, saw some fresh discovery of importance. He advanced from discovery to discovery. His work was characterized by that vast industry and extreme rapidity which belong only to the efforts of genius. Never, before or since, has chemical science made such strides in this country.
In 1803 Davy was elected a Fellow, and in 1807 one of the secretaries of the Royal Society. In 1812 he retired from the professorship of chemistry at the Royal Institution; in the same year he was made a knight.
The next two or three years were mostly spent in travelling abroad with his wife—he had married a widow lady, Mrs. Apreece, in 1812. During his visit to Paris he made several experiments on the then recently discovered iodine, and proved this substance to be an element.
The work which Davy had accomplished in the seventeen years that had now elapsed since he began the study of chemistry, whether we consider it simply as a contribution to chemical science, or in the light of the influence it exerted on the researches of others, was of first-rate importance; but a fresh field now began to open before him, from which he was destined to reap the richest fruits. In the autumn of 1815 his attention was drawn to the subject of fire-damp in coal-mines. As he passed through Newcastle, on his return from a holiday spent in the Scottish Highlands, he examined various coal-mines and collected samples of fire-damp; in December of the same year his safety-lamp was perfected, and soon after this it was in the hands of the miner.
The steps in the discovery of this valuable instrument were briefly these. Davy established the fact that fire-damp is a compound of carbon and hydrogen; he found that this gas must be mixed with a large quantity of ordinary air before the mixture becomes explosive, that the temperature at which this explosion occurs is a high one, and that but little heat is produced during the explosion; he found that the explosive mixture could not be fired in narrow metallic tubes, and also that it was rendered non-explosive by addition of carbonic acid or nitrogen. He reasoned on these facts thus: "It occurred to me, as a considerable heat was required for the inflammation of the fire-damp, and as it produced in burning a comparatively small degree of heat, that the effect of carbonic acid and azote, and of the surfaces of small tubes, in preventing its explosion, depended on their cooling powers—upon their lowering the temperature of the exploding mixture so much that it was no longer sufficient for its continuous inflammation." He at once set about constructing a lamp in which it should be impossible for the temperature of ignition of a mixture of fire-damp and air to be attained, and which therefore, while burning, might be filled with this mixture without any danger of an explosion. He surrounded the flame of an oil-lamp with a cylinder of fine wire-gauze; this lamp when brought into an atmosphere containing fire-damp and air could not cause an explosion, because although small explosions might occur in the interior of the wire cylinder, so much heat was conducted away by the large metallic surface that the temperature of the explosive atmosphere outside the lamp could not attain that point at which explosion would occur.
In 1818 Sir Humphry Davy was made a baronet, in recognition of his great services as the inventor of the safety-lamp; and in 1820 he was elected to the most honourable position which can be held by a man of science in this country, he became the President of the Royal Society.
For seven years he was annually re-elected president, and during that time he was the central figure in the scientific society of England. During these years he continued his investigations chiefly on electro-chemical subjects and on various branches of applied science. In 1826 his health began to fail. An attack of paralysis in that year obliged him to relinquish most of his work. He went abroad and travelled in Italy and the Tyrol, sometimes strong enough to shoot or fish a little, or even to carry on electrical experiments; sometimes confined to his room, or to gentle exercise only. He resigned the presidentship of the Royal Society in 1827. In 1828 he visited Rome, where he was again attacked by paralysis, and thought himself dying, but he recovered sufficiently to attempt the journey homeward. At Geneva he became very ill, and expired in that city on the 29th of May 1829.