Soon after the young ensign had entered upon his regimental duties, an affair occurred which threatened to obscure his hitherto bright prospects. His Colonel, Baron Koskull, had been disgraced by the King, about the time that he had recommended Ericsson for promotion. This circumstance induced the King to reject the recommendation. The Colonel was exceedingly annoyed by this rejection; and having in his possession a military map made by the expectant ensign, he took it to his Royal Highness the Crown Prince Oscar, and besought him to intercede for the young man with the King. The Prince received the map very kindly, expressing great admiration of its beautiful finish and execution, and presented himself in person with it to the King, who yielded to the joint persuasion of the Prince and the map, and promoted the young ensign to the lieutenancy for which he had been recommended.
About the time of this promotion, the Government had ordered the northern part of Sweden to be accurately surveyed. It being the desire of the King that officers of the army should be employed in this service, Ericsson, whose regiment was stationed in the northern highlands, proceeded to Stockholm, for the purpose of submitting himself to the severe examination then a prerequisite to the appointment of Government surveyor.
The mathematical education which he had received under Count Platen now proved very serviceable. He passed the examination with great distinction, and in the course of it, to the surprise of the examiners, showed that he could repeat Euclid verbatim,—not by the exercise of the memory, which in Ericsson is not remarkably retentive, but from his perfect mastery of geometrical science. There is no doubt that it is this thorough knowledge of geometry to which he is indebted for his clear conceptions on all mechanical subjects.
Having returned to the highlands, he entered on his new vocation with great assiduity; and, supported by an unusually strong constitution, he mapped a larger extent of territory than any other of the numerous surveyors employed on the work. There are yet in the archives of Sweden detailed maps of upwards of fifty square miles made by his hand.
Neither the great labors attending these surveys, nor his military duties, could give sufficient employment to the energies of the young officer. In connection with a German engineer, Major Pentz, he now began the arduous task of compiling a work on Canals, to be illustrated by sixty-four large plates, representing the various buildings, machines, and instruments connected with the construction of such works. The part assigned to him in this enterprise was nothing less than that of making all the drawings, as well as of engraving the numerous plates; and as all the plates were to be executed in the style of what is called machine-engraving, he undertook to construct a machine for the purpose, which he successfully accomplished. This work he prosecuted with so much industry, in the midst of his other various labors, that, within the first year of its commencement, he had executed eighteen large plates, which were pronounced by judges of machine-engraving to be of superior merit.
While thus variously occupied, being on a visit to the house of his Colonel, Ericsson on one occasion showed his host, by a very simple experiment, how readily mechanical power may be produced, independently of steam, by condensing flame. His friend was much struck by the beauty and simplicity of the experiment, and prevailed upon Ericsson to give more attention to a principle which he considered highly important. The young officer accordingly made sonic experiments on an enlarged scale, and succeeded in the production of a motive power equal to that of a steam-engine of ten-horse power. So satisfactory was the result, from the compact form of the machine employed, as well as the comparatively small consumption of fuel, that he conceived the idea of at once bringing it out in England, the great field for all mechanical inventions.
Ericsson accordingly obtained, leave from the King to visit England, where he arrived on the eighteenth of May, 1826. He there proceeded to construct a working engine on the principle above mentioned, but soon discovered that his flame-engine, when worked by the combustion of mineral coals, was a different thing from the experimental model he had tried in the highlands of Sweden, with fuel composed of the splinters of fine pine wood. Not only did he fail to produce an extended and vivid flame, but the intense heat so seriously affected all the working parts of the machine as soon to cause its destruction.
These experiments, it may well be supposed, were attended with no trifling expenditure; and, to meet these demands upon him, our young adventurer was compelled to draw on his mechanical resources.
Invention now followed invention in rapid succession, until the records of the Patent-Office in London were enriched with the drawings of the remarkable steam-boiler on the principle of artificial draught; to which principle we are mainly indebted for the benefits conferred on civilization by the present rapid communication by railways. In bringing this important invention before the public, Ericsson thought it advisable to join some old and established mechanical house in London; and accordingly he associated himself with John Braithwaite, a name favorably known in the mechanical annals of England. This invention was hardly developed, when an opportunity was presented for testing it in practice.
The directors of the Liverpool and Manchester Railway, before erecting the stationary engines by which they had intended to draw their passenger and freight carriages, determined to appeal to the mechanical talent of the country, in the hope of securing some preferable form of motor. A prize was accordingly offered, in the autumn of 1829, for the best locomotive engine, to be tested on the portion of the railway then completed. Ericsson was not aware that any such prize had been offered, until within seven weeks of the day fixed for the trial. He was not deterred by the shortness of the time, but, applying all his energies to the task, planned an engine, executed the working-drawings, and had the whole machine constructed within the seven weeks.