Hacking Electronics: Learning Electronics with Arduino and Raspberry Pi, 2nd Edition Simon Monk - eBook PDFinstant download
Hacking Electronics: Learning Electronics with Arduino and Raspberry Pi, 2nd Edition Simon Monk - eBook PDFinstant download
https://ebookluna.com/download/hacking-electronics-learning-
electronics-with-arduino-and-raspberry-pi-2nd-edition-ebook-pdf/
Programming the Raspberry Pi, Third Edition: Getting Started with Python
Simon Monk - eBook PDF
https://ebookluna.com/download/programming-the-raspberry-pi-third-edition-
getting-started-with-python-ebook-pdf/
Raspberry Pi Electronics Projects for the Evil Genius 1st Edition Norris -
eBook PDF
https://ebookluna.com/download/raspberry-pi-electronics-projects-for-the-
evil-genius-ebook-pdf/
Programming Arduino Next Steps: Going Further with Sketches 2nd Edition
Simon Monk - eBook PDF
https://ebookluna.com/download/programming-arduino-next-steps-going-
further-with-sketches-ebook-pdf/
Programming Arduino: Getting Started with Sketches 3rd Edition Simon Monk -
eBook PDF
https://ebookluna.com/download/programming-arduino-getting-started-with-
sketches-ebook-pdf/
Arduino and Raspberry Pi Sensor Projects for the Evil Genius 1st Edition
Chin - eBook PDF
https://ebookluna.com/download/arduino-and-raspberry-pi-sensor-projects-
for-the-evil-genius-ebook-pdf/
(eBook PDF) Electronics and Circuit Analysis Using MATLAB 2nd Edition
https://ebookluna.com/product/ebook-pdf-electronics-and-circuit-analysis-
using-matlab-2nd-edition/
https://ebookluna.com/product/ebook-pdf-electronics-with-discrete-
components-by-enrique-j-galvez/
https://ebookluna.com/download/troubleshooting-electronic-circuits-a-guide-
to-learning-analog-electronics-ebook-pdf/
https://ebookluna.com/product/ebook-pdf-digital-electronics-principles-and-
applications-9th-edition/
About the Author
Dr. Simon Monk (Preston, UK) has a degree in Cybernetics and Computer Science and a
PhD in Software Engineering. Monk spent several years as an academic before he returned
to industry, co-founding the mobile software company Momote Ltd. He has been an active
electronics hobbyist since his early teens and is a full-time writer on hobby electronics and
open-source hardware. Dr. Monk is the author of numerous electronics books, specializing in
open-source hardware platforms, especially Arduino and Raspberry Pi. He is also co-author
with Paul Scherz of Practical Electronics for Inventors, Fourth Edition. You can follow
Simon on Twitter, where he is @simonmonk2.
Hacking Electronics
Learning Electronics with
Arduino® and Raspberry Pi
Second Edition
Simon Monk
ISBN: 978-1-26-001221-7
MHID: 1-26-001221-2.
The material in this eBook also appears in the print version of this title: ISBN: 978-1-26-001220-0,
MHID: 1-26-001220-4.
All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trade-
marked name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringe-
ment of the trademark. Where such designations appear in this book, they have been printed with initial caps.
McGraw-Hill Education eBooks are available at special quantity discounts to use as premiums and sales promotions or for use in
corporate training programs. To contact a representative, please visit the Contact Us page at www.mhprofessional.com.
Information has been obtained by McGraw-Hill Education from sources believed to be reliable. However, because of the pos-
sibility of human or mechanical error by our sources, McGraw-Hill Education, or others, McGraw-Hill Education does not
guarantee the accuracy, adequacy, or completeness of any information and is not responsible for any errors or omissions or the
results obtained from the use of such information.
TERMS OF USE
This is a copyrighted work and McGraw-Hill Education and its licensors reserve all rights in and to the work. Use of this work
is subject to these terms. Except as permitted under the Copyright Act of 1976 and the right to store and retrieve one copy of the
work, you may not decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon, transmit,
distribute, disseminate, sell, publish or sublicense the work or any part of it without McGraw-Hill Education’s prior consent. You
may use the work for your own noncommercial and personal use; any other use of the work is strictly prohibited. Your right to
use the work may be terminated if you fail to comply with these terms.
THE WORK IS PROVIDED “AS IS.” McGRAW-HILL EDUCATION AND ITS LICENSORS MAKE NO GUARANTEES
OR WARRANTIES AS TO THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS TO BE OBTAINED
FROM USING THE WORK, INCLUDING ANY INFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA
HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUD-
ING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE. McGraw-Hill Education and its licensors do not warrant or guarantee that the functions contained in the work will
meet your requirements or that its operation will be uninterrupted or error free. Neither McGraw-Hill Education nor its licensors
shall be liable to you or anyone else for any inaccuracy, error or omission, regardless of cause, in the work or for any damages
resulting therefrom. McGraw-Hill Education has no responsibility for the content of any information accessed through the work.
Under no circumstances shall McGraw-Hill Education and/or its licensors be liable for any indirect, incidental, special, punitive,
consequential or similar damages that result from the use of or inability to use the work, even if any of them has been advised of
the possibility of such damages. This limitation of liability shall apply to any claim or cause whatsoever whether such claim or
cause arises in contract, tort or otherwise.
To Roger, for making it possible for me to turn a hobby into an occupation.
This page intentionally left blank
Contents at a Glance
1 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3 Basic Hacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5 Batteries and Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
6 Hacking with Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
7 Hacking with Raspberry Pi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
8 Hacking with Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
9 Hacking with Sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
10 Audio Hacks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
11 Mending and Breaking Electronics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
12 Tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
A Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
vii
This page intentionally left blank
Contents
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
CHAPTER 2 Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
A Starter Kit of Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Identifying Electronic Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Resistors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Diodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
ix
x Contents
LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Transistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Integrated Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Other Stuff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Surface Mount Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
What Are Current, Resistance, and Voltage? . . . . . . . . . . . . . . . . . . . . . . 25
Current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Ohm’s Law. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
What Is Power? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Reading a Schematic Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
The First Rule of Schematics: Positive Voltages Are Uppermost . . 29
Second Rule of Schematics: Things Happen Left to Right . . . . . . 29
Names and Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Component Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
CHAPTER 4 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Preventing an LED from Burning Out . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
You Will Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Diodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Trying It Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Selecting the Right LED for the Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Brightness and Angle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Multicolor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
IR and UV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
LEDs for Illumination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Experimenting with RGB LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
You Will Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Making a Constant Current Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
You Will Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Breadboard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Construction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Powering Large Numbers of LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Making LEDs Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
You Will Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Breadboard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
How to Use Protoboard (LED Flasher) . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Using Stripboard (LED Flasher) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Designing the Stripboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Construction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Laser Diode Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Hacking a Slot Car Racer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
You Will Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Storing Charge in a Capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Construction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
I should be glad if any one's exhibition was taken from him for
visiting the sick, etc. It would vastly tend to the furtherance of the
gospel; but Satan sees too far, I imagine, to play such a game now.
Let him do his work; he is only a mastiff chained. Continue to inform
me how he barks, and how far he is permitted to go in your parts;
and God's people shall be more stirred up to pray for you all."
The close of Mr. Hill's life was truly interesting and instructive. As
has been intimated, he preached with scarcely diminished power
until within a few weeks of his death. During the last two or three
years of his life he very frequently repeated the following lines of an
old poet:
"And when I'm to die,
Receive me, I'll cry,
For Jesus has loved me, I cannot tell why;
But this I can find,
We two are so joined,
That he'll not be in glory, and leave me behind."
"The last time he occupied my pulpit," writes his neighbor, the
Rev. George Clayton, "when he preached excellently for an hour, in
behalf of a charitable institution, he retired to the vestry after service
under feelings of great and manifest exhaustion. Here he remained
until every individual except the pew-openers, his servant, and
myself had left the place. At length he seemed with some reluctance
to summon energy enough to take his departure, intimating that it
was in all probability the last time he should preach in Walworth. His
servant went before to open the carriage-door, the pew-openers
remaining in the vestry. I offered my arm, which he declined, and
then followed him as he passed down the aisle of the chapel. The
lights were nearly extinguished, the silence was profound, nothing
indeed was heard but the slow majestic tread of his own footsteps,
when, in an undertone, he thus soliloquized:
"'And when I'm to die,' etc.
To my heart this was a scene of unequalled solemnity, nor can I
ever recur to it without a revival of that hallowed, sacred,
shuddering sympathy which it originally awakened."
When the good old saint lay literally dying, and when apparently
unconscious, a friend put his mouth close to his ear, and repeated
slowly his favorite lines:
"And when I'm to die," etc.
The light came back to his fast-fading eye, a smile overspread his
face, and his lips moved in the ineffectual attempt to articulate the
words. This was the last sign of consciousness which he gave.
We could almost wish that every disciple of Christ would commit
these lines, quaint as they are, to memory, and weave them into the
web of his Christian experience. Confidence in Christ, and
undeviating adherence to him, can alone enable us to triumph in life
and death.
In November, 1766, Whitefield again visited Bath and Bristol, and
then passed on to Gloucestershire and Oxford. Never did so many of
the nobility attend his ministry as he now saw at Bath, and the
results of his whole journey were such as to fill him with the most
devout gratitude. He saw too the number of his clerical friends
largely increasing, and especially rejoiced in the fact that the
excellent Fletcher, of Madeley, preached in his pulpits in London. He
writes of this event, "Dear Mr. Fletcher has become a scandalous
Tottenham Court preacher.... Were we more scandalous, more good
would be done.... Still, 'the shout of a king is yet heard' in the
Methodist camp."
In January, 1767, Whitefield wrote a recommendatory preface to
the works of John Bunyan, whom he pleasantly designated, "Bishop
Bunyan;" and as soon as the weather would permit, we find him at
Norwich, and then at Rodborough, Woodstock, Gloucester, and
Haverfordwest, from which last place he wrote, "Thousands and
thousands attend by eight in the morning. Life and light seem to fly
all around." On a second visit to Gloucester on this tour, he wrote,
"Blessed be God, I have got on this side the Welsh mountains.
Blessed be God, I have been on the other side. What a scene last
Sunday! What a cry for more of the bread of life! But I was quite
worn down."
In September following, he again visited the north of England,
writing from day to day in high spirits. September 28, he says, "My
body feels much fatigued in travelling; comforts in the soul
overbalance;" and from Leeds, October 3, he writes, "Field and
street preaching have rather bettered than hurt my bodily health."
Whitefield now returned to London, to sustain a heavy
disappointment. The negotiations relative to the college at Bethesda
were this winter brought to an issue. A memorial addressed to his
Majesty was put into the hands of the clerk of the Privy Council,
setting forth the great utility of a college in that place to the
southern provinces; and praying that a charter might be granted
upon the plan of the college in New Jersey. This memorial was
transmitted by the clerk of the Privy Council to the lord president,
and by his lordship referred to the Archbishop of Canterbury, to
whom also a draft of an intended charter was presented by the Earl
of Dartmouth. A correspondence followed all this between the
archbishop and Whitefield; the consequence of which was, that his
grace gave the draft of the college to the lord president, who
promised he would consider of it; and gave it as his opinion that
"the head of the college ought to be a member of the church of
England; that this was a qualification not to be dispensed with; and
also, that the public prayers should not be extempore ones, but the
liturgy of the church, or some other settled and established form."
Whitefield replied that these restrictions he could by no means agree
to, because the greatest part of the contributions for the orphan-
house came from Protestant dissenters; and because he had
constantly declared that the intended college should be founded
upon a broad foundation, and no other.
"This," said he, "I judged I was sufficiently warranted to do, from
the known, long-established, mild, and uncoercive genius of the
British government; also from your grace's moderation towards
Protestant dissenters; from the unconquerable attachment of the
Americans to toleration principles, as well as from the avowed
habitual feelings of my own heart. This being the case, and as your
grace, by your silence, seems to be like-minded with the lord
president; and as your grace's and his lordship's influence will
undoubtedly extend itself to others, I would beg leave, after
returning all due acknowledgments, to inform your grace that I
intend troubling your grace and his lordship no more about this so
long depending concern. As it hath pleased the great Head of the
church in some degree to renew my bodily strength, I propose now
to renew my feeble efforts, and to turn the charity into a more
generous, and consequently into a more useful channel. I have no
ambition to be looked upon as the founder of a college; but I would
fain act the part of an honest man, a disinterested minister of Jesus
Christ, and a true, catholic, moderate presbyter of the church of
England."
Thus ended Whitefield's labors to establish a college at Bethesda.
Berridge, and not a few others of his friends rather rejoiced in his
disappointment, as they thought there was some fear, uncontrolled
as the institution might hereafter be by men of established principles
of piety, that an unconverted ministry might be increased by its
means.
CHAPTER XV.
HIS LAST LABORS IN GREAT BRITAIN—
COLLEGE AT TREVECCA—EARL OF BUCHAN
—TUNBRIDGE WELLS.
1767-1769.
Whitefield had abandoned the idea of a charter for a college at
present, but he was yet ardently desirous of a public academy being
added to his orphan-house, similar to what existed at Philadelphia
before a college charter was granted. He thought that if this could
be done, a better day might arrive, when a charter on broad
principles might be obtained. He developed his whole plan in a letter
to Governor Wright. Feeling too the uncertainty of life, he wrote to
his friend Mr. Keen, "None but God knows what a concern is upon
me now, in respect of Bethesda. As another voyage, perhaps, may
be the issue and the result of all at last, I would beg you and my
dear Mr. H—— to let me have all my papers and letters, that I may
revise and dispose of them in a proper manner. This can do no hurt,
come life or come death."
October 28th, 1767, Whitefield preached at the London Tabernacle
before the society for promoting religious knowledge among the
poor, usually called, The Book Society. This society had been
organized seventeen years before this period, and included in it such
men as Watts, Doddridge, and Gifford. He gave way to all the zeal of
his heart while he discussed the petition, "Thy kingdom come." Luke
11:2. The congregation was immense, many had to go away unable
to obtain admittance. It was believed that a larger number of
dissenting ministers were present than ever before heard a sermon
from an Episcopal minister, and the collection reached more than five
hundred dollars, or above four times the usual amount, besides
eighty new annual subscribers. After the service, he dined with a
very large party, including the ministers, where harmony reigned,
and much respect was shown him.
It may be readily supposed, that with advancing years and
increasing experience, some changes might have taken place both in
the style and manner of Whitefield's preaching. The Rev. Cornelius
Winter, who had become somewhat closely associated with him,
says, "He dealt more in the explanatory and doctrinal mode on the
Sabbath morning than at any other time, and sometimes made a
little, but by no means an improper show of learning. His afternoon
sermon was more general and exhortatory. In the evening, he drew
his bow at a venture; vindicated the doctrines of grace, fenced them
with articles and homilies, referred to the martyr's seal, and
exemplified the power of divine grace by quotations from the
venerable Foxe. Sinners were then closely plied, numbers of whom,
from curiosity, coming to hear for a minute or two, were often
compelled to hear the whole sermon. How many in the judgment-
day will rise to prove that they heard to the salvation of the soul.
Upon the members of society, the practice of Christianity was then
usually inculcated, not without some pertinent anecdote of a
character worthy to be held up for an example, and in whose
conduct the hints recommended were exemplified. On Mondays,
Tuesdays, Wednesdays, and Thursdays, he preached at six in the
morning; and never, perhaps, did he preach greater sermons than at
this hour." This, with the frequent administration of the Lord's supper
to hundreds of communicants, was his usual plan for several years;
but now he became more colloquial in his style, with but little action;
he gave pertinent expositions of the Scriptures, with striking
remarks, all comprehended within an hour. Winter adds, "The
peculiar talents he possessed, subservient to great usefulness, can
be but faintly conceived from his sermons in print; though, as
formerly, God has made the reading of them useful, and I have no
doubt that in future they will have their use."
But even yet our evangelist had to engage in war. The opposition
of the universities in Oxford and Cambridge to the principles and
practices introduced by Whitefield, Wesley, and their companions,
grew and strengthened, till an event occurred at Oxford singularly
remarkable in its history for opposition to evangelical religion, which
for many years continued to excite very extraordinary interest. The
London "St. James' Chronicle," of Thursday, March 17, 1763,
contained the following "extract of a letter from Oxford:" "On Friday
last, six students, belonging to Edmund Hall, were expelled the
university, after a hearing of several hours before Mr. Vice-Chancellor
and some of the heads of houses, for holding methodistical tenets,
and taking upon them to pray, read, and expound the Scriptures,
and singing hymns in a private house. The —— of the —— [The
Principal of the Edmund Hall, Rev. Dr. Dixon] defended their
doctrines from the Thirty-nine Articles of the established church, and
spoke in the highest terms of the piety and exemplariness of their
lives; but his motion was overruled, and sentence pronounced
against them. Dr. ——, [Dixon,] one of the heads of houses present,
observed, that as these six gentlemen were expelled for having too
much religion, it would be very proper to inquire into the conduct of
some who had too little; and Mr. —— [Dr. Nowell] was heard to tell
their chief accuser, that the university was much obliged to him for
his good work."
To detail the events which followed this extraordinary act, and to
describe the excitement thus created, form no part of the design of
our volume. We have referred to the fact because Mr. Whitefield and
his friend Sir Richard Hill took part in the controversy. Referring to
Dr. Nowell's assertion to Mr. Higson, their "chief accuser," and who
was also their tutor, that the university was obliged to him,
Whitefield says to the Vice-Chancellor, "What thanks, reverend sir, he
may meet with from the whole university I know not; but one thing I
know, namely, that he will receive no thanks for that day's work
from the innumerable company of angels, the general assembly of
the first-born which are written in heaven, or from God the Judge of
all, in that day when Jesus the Mediator of the new covenant shall
come in his own glory, in the glory of the Father and his holy angels,
and gather his elect from all the four corners of the world.
"It is true, indeed, one article of impeachment was, that 'some of
them were of trades before they entered into the university.' But
what evil or crime worthy of expulsion can there be in that? To be
called from any, though the meanest mechanical employment, to the
study of the liberal arts, where a natural genius hath been given,
was never yet looked upon as a reproach to, or diminution of any
great and public character whatsoever. Profane history affords us a
variety of examples of the greatest heroes, who have been fetched
even from the plough to command armies, and who performed the
greatest exploits for their country's good. And if we examine sacred
history, we shall find that even David, after he was anointed king,
looked back with sweet complacency to the rock from whence he
was hewn, and is not ashamed to leave it upon record, that God
took him away from the sheepfolds, as he was following the ewes
great with young; and, as though he loved to repeat it, he took him,
he says, 'that he might feed Jacob his people, and Israel his
inheritance.'
"But why speak I of David, when Jesus of Nazareth, David's Lord
and David's King, had for his reputed father a carpenter? and in all
probability, as it was a common proverb among the Jews, that 'he
who did not teach his son a trade, taught him to be a thief,' he
worked at the trade of a carpenter himself. For this, indeed, he was
reproached and maligned: 'Is not this,' said they, 'the carpenter's
son?' Nay, 'Is not this the carpenter?' But who were these maligners?
The greatest enemies to the power of godliness which the world
ever saw, the scribes and Pharisees, that 'generation of vipers,' as
John the Baptist calls them, who, upon every occasion, were spitting
out their venom, and shooting their arrows, even bitter words,
against that Son of man, even that Son of God who, to display his
sovereignty, and confound the wisdom of the worldly wise, chose
poor fishermen to be his apostles; and whose chief of the apostles,
though brought up at the feet of Gamaliel, both before and after his
call to the apostleship, labored with his own hands, and worked at
the trade of a tent-maker."
It is pleasant to know that the young men thus expelled became
useful in the church of Christ. One of them, indeed, Erasmus
Middleton, who had been sustained at Oxford by Mr. Fuller, a
dissenter and banker in London, was ordained in Ireland by the
bishop of Down, and having married a lady of the ducal family of
Gordon, in Scotland, was curate successively to the Rev. Messrs.
Romaine and Cadogan in London, and finally rector of Turvey, in
Bedfordshire, where he was the immediate predecessor of the
sainted Legh Richmond.
Many delightful evidences yet exist that as Whitefield drew nearer
the end of his career on earth, his holy zeal increased, rather than
lessened. We have lying before us three of his letters, not included
either in the collection of his printed correspondence, or in the lives
which have been published. The first was addressed to a gentleman
at Wisbeach, and appears to have been written from London. It is
dated Sept. 25, 1766.
"Dear Sir—As your letter breathes the spirit of a sincere follower of
the Lamb of God, I am sorry that it hath lain by so long unanswered;
but bodily weakness, and a multiplicity of correspondents, both from
abroad and at home, must be pleaded as excuses. 'Blessed be God,
our salvation is nearer than when we believed.' It should seem that
you have now served three apprenticeships in Christ's school, and
yet I suppose the language of your heart is, 'I love my Master, and
will not go from him;' and Oh, what a mercy, that whom Jesus loves,
he loves to the end! Do you not begin to long to see him more than
ever? Do you not groan in this tabernacle, being burdened?
Courage, courage; he that cometh will come, and will not tarry. Oh
that patience may have its perfect work! Many in this metropolis
seem to be on the wing for God; the shout of a king is yet heard in
the Methodist camp. Had I wings, I would gladly fly from pole to
pole; but they are clipped by thirty years' feeble labors. Twice or
thrice a week I am permitted to ascend my gospel throne. The love
of Christ, I am persuaded, will constrain you to pray that the last
glimmering of an expiring taper may be blessed to the guiding of
many wandering souls to the Lamb of God."
The second letter was written from the same city, February 12, in
the following year, and was addressed to Captain Scott, a military
officer then "quartered at Leicester." This gentleman, in early life,
had been much devoted to the gayeties of fashionable society; long
after he had entered the army, he was converted to God, under the
ministry of the Rev. W. Romaine; and a few weeks before Mr.
Whitefield addressed to him this letter, he had begun to preach the
grand message of reconciliation. He afterwards left the army, was
ordained as a Congregational minister, and labored for many years in
almost innumerable places in city and country, with abundant
success.
"What, not answer so modest a request, namely, to snatch a few
moments to send dear Captain Scott a few lines? God forbid. I must
again welcome him into the field of battle. I must again entreat him
to keep his rank as captain, and not suffer any persuasions to
influence him to descend to the low degree of a common soldier. If
God will choose a red-coat preacher, who shall say unto him, 'What
doest thou?'
"Prevent thy foes, nor wait their charge;
But call the lingering battle on;
But strongly grasp thy seven-fold targe,
And bear the world and Satan down.
"Then they received this blessing: 'The Lord bless you, and keep
you; the Lord lift up the light of his countenance upon you; the Lord
cause his face to shine upon you, and give you peace;' and so
returned to their places.
"Sacrament ended, and a blessed sacrament it was, the noble
mourners returned to the good Countess of Huntingdon's house,
which was lent them for the day. At eleven, public worship began.
The bereaved relatives sat in order within, and the domestics round
the outside of the rail. The chapel was more than crowded. Near
three hundred tickets, signed by the present earl, were given out to
the nobility and gentry, to be admitted. All was hushed and solemn.
Proper hymns were sung, and I preached on the words, 'Blessed are
the dead that die in the Lord.' Attention sat on every countenance,
and deep and almost universal impressions were made. The like
scene, and if possible more solemn, was exhibited in the evening,
and I was enabled to preach a second time, and a like power
attended the word as in the morning. Ever since, there hath been
public service and preaching twice a day. This is to be continued till
Friday morning, then all is to be removed to Bristol, in order to be
shipped off to Scotland. The inscription on the coffin runs thus: 'His
life was honorable—his death blessed—he sought earnestly peace
with God—he found it, with unspeakable joy, alone in the merits of
Jesus Christ, witnessed by the Holy Spirit to his soul—he yet
speaketh. Go and do likewise.'
"I have often wished for you here. Congregations are very large,
attentive, and deeply impressed. Great numbers of all ranks crowd
to see and hear; and I trust many will also feel. Surely the death of
this noble earl, thus improved, will prove the life of many. He
behaved like the patriarch Jacob, when by faith, leaning upon his
staff, he blessed his children. The earl added, 'Yea, and they shall be
blessed.' He laid his hands on, and blessed his children, assuring
them of his personal interest in Jesus. He had great foretastes of
heaven. 'Had I strength of body,' cried he, 'I would not be ashamed,
before men and angels, to tell what the Lord Jesus hath done for my
soul. Come, Holy Ghost—come, Holy Ghost; happy, happy, happy!'
and then sweetly slept in Jesus. All surviving relatives still feel the
influence. They sit round the corpse, attended by their domestics
and supporters, twice a day. Good Lady S—— gets fresh spirits. The
present noble earl, I believe, hath got the blessing indeed, and
seems, upon the best evidence, to determine to know nothing but
Jesus Christ, and him crucified. He hath behaved in the most
delicate manner to the Countess, and other noble survivors."
The summer of 1768 brought to Whitefield a series of changes.
For the last time he now visited Edinburgh, where he found his
congregations as large, and his Christian friends as affectionate as
ever. Soon after his return to London, Mrs. Whitefield was seized
with inflammatory fever, and died, as we have already seen, on the
9th of August. His own health too was more than declining. He
writes, "I have been in hopes of my own departure. Through hard
writing, and frequent preaching, I have burst a vein. The flux is in a
great measure stopped; but rest and quietness are strictly enjoined."
"Rest and quietness!" With Whitefield such things were impossible
as long as he could move or speak. His fire must burn till its whole
material was expended; his heart overflowed, and he must labor till
his body sank under exhaustion. No persecution could appall him, no
sickness could long keep him from his beloved engagements. He
would preach till he died, being fully assured that his "labor was not
in vain in the Lord."
Neither Whitefield nor any of his friends could ever be the
advocates of an unlearned ministry. Many of the men engaged under
his direction, and preaching in what was already called "Lady
Huntingdon's connection," needed, as they well knew, a better
education than they possessed. Hence her ladyship obtained a lease
of an old structure, supposed to have been part of an ancient castle
erected in the reign of Henry the Second. The date over the
entrance, now almost effaced, is 1176. It was called Trevecca House,
was situated in the parish of Talgarth, in South Wales, and was for
some time the residence of Howel Harris. This building was opened
as a college for religious and literary instruction, and the chapel
dedicated to the preaching of the everlasting gospel, Aug. 24, 1768,
the anniversary of the Bartholomew act, and of the birth of her
ladyship. Mr. Whitefield preached from Exod. 24:24: "In all places
where I record my name, I will come unto thee and bless thee;" and
on the following Sabbath he addressed a congregation of some
thousands, who assembled in the court before the college. His text
on that occasion was, "Other foundation can no man lay than that is
laid, which is Jesus Christ." When speaking of the dedication of the
college, Mr. Whitefield says, "What we have seen and felt at the
college is unspeakable."
After her ladyship's death the institution was removed to
Cheshunt, about thirteen miles north of London, where it still
flourishes under the presidency of the Rev. Dr. W. H. Stowell.
In the early part of 1769, Mr. Whitefield was for some weeks
seriously ill, but towards the close of March, he was able to write,
"Through infinite mercy I have been able to preach four days
successively." During his illness he received many offers of
assistance from his brethren in the ministry, but from none more
cordially than from the Honorable and Rev. Mr. Shirley. Writing to
him, April 1, Whitefield says:
"How much am I obliged to you for your two kind letters, and
more especially for the repeated offers of your ministerial assistance.
They will be most gratefully accepted, and, I humbly hope, be
remarkably succeeded by Him who hath promised to be with us
always, even unto the end of the world. Blessed be His name, we
have been favored with most delightful passover feasts. The shout of
the King of kings is still heard in the midst of our Methodist camps;
and the shout of, Grace, grace! resounds from many quarters. Our
almighty Jesus knows how to build his temple in troublous times. His
work prospers in the hands of the elect countess, who is gone to
Bath, much recovered from her late indisposition. Worthy Lady
Fanny Shirley proposes soon to follow, in order to reside there. Some
more coronets, I hear, are likely to be laid at the Redeemer's feet.
They glitter gloriously when set in and surrounded by a crown of
thorns.
"'Subjects of the Lord, be bold;
Jesus will his kingdom hold;
Wheels encircling wheels must run,
Each in course to bring it on.'"
That the friendship of Dr. Franklin towards Mr. Whitefield was
sincere, cannot be doubted; there is, however, somewhat painful in
the thought, that even in this connection Franklin could not conceal
his scepticism. In 1769 both these eminent men were in London,
and every one knows that the state of our country was very trying.
Franklin thus wrote to Whitefield: "I am under continued
apprehensions that we may have bad news from America. The
sending soldiers to Boston always appeared to me a dangerous step;
they could do no good, they might occasion mischief. When I
consider the warm resentment of a people who think themselves
injured and oppressed, and the common insolence of the soldiery,
who are taught to consider that people as in rebellion, I cannot but
fear the consequences of bringing them together. It seems like
setting up a smith's forge in a magazine of gunpowder. I see with
you that our affairs are not well managed by our rulers here below; I
wish I could believe with you, that they are well attended to by
those above: I rather suspect, from certain circumstances, that
though the general government of the universe is well administered,
our particular little affairs are perhaps below notice, and left to take
the chance of human prudence or imprudence, as either may
happen to be uppermost. It is, however, an uncomfortable thought,
and I leave it."
It would have been strange indeed if Whitefield had allowed a
letter closing in this manner to pass without a remark; hence we are
prepared to find that, in his own handwriting, at the foot of the
autograph letter, he wrote, "Uncomfortable indeed! and, blessed be
God, unscriptural; for we are fully assured that 'the Lord reigneth,'
and are directed to cast all our own care on him, because he careth
for us." Could Dr. Franklin have seen the splendid results of that
management which he thought indicated the absence of a particular
providence—could he have beheld the vast Republic, the abode of
liberty, commerce, literature, and religion, which in less than a
century has grown out of the insurgent colonies—he would surely
have exclaimed, in the language of the prophet, "Verily there is a
God in the earth!"
In July, Whitefield was called by Lady Huntingdon to visit
Tunbridge Wells, a popular watering place in Kent, some twenty or
thirty miles from London, to dedicate a new and beautiful house to
the service of God. The congregation was far too large to be
accommodated within the walls; he therefore preached out of doors
from a mount in the court before the house. His text was, "This is
none other but the house of God, and this is the gate of heaven."
Gen. 28:17. This sermon is said to have been one of his most
eloquent and thrilling efforts; the lofty energy of his tones, the utter
forgetfulness of himself in the all-absorbing interest of his subject,
the very impersonation of the truths which he uttered as he
stretched forth his hand, "Look yonder; what is that I see? It is my
agonizing Lord! Hark, hark! do you not hear? O earth, earth, earth,
hear the word of the Lord!" thrilled the vast congregation, riveting
the eye, piercing the conscience, and holding strong men breathless
before the resistless might of his inspired eloquence. After the
service he delivered an exhortation, and on the next day again
preached and administered the Lord's supper.
He now began to prepare for his seventh, and as it proved, his last
voyage to America, especially to visit his beloved orphans and
friends in Georgia. The only thing which seems to have grieved him,
was the pain of parting for a time from his London friends. This was
nothing new, but his feelings were even less reconciled to the event
than formerly. "Oh," he says, "these partings! without a divine
support they would be intolerable. Talk not of taking personal leave;
you know my make. Paul could stand a whipping, but not a weeping
farewell."
The text of his last sermon was John 10:27, 28: "My sheep hear
my voice, and I know them, and they follow me: and I give unto
them eternal life; and they shall never perish, neither shall any man
pluck them out of my hand." The sermon was printed, and that very
incorrectly; but a few sentences will show that it was strikingly
characteristic: "These words, it will be recollected, were uttered by
Christ at the feast of dedication. This festival was of bare human
invention, and yet I do not find that our Lord preached against it.
And I believe that when we see things as we ought, we shall not
entertain our auditories about rites and ceremonies, but about the
grand thing. It is the glory of Methodists, that while they have been
preaching forty years, there has not been, that I know of, one single
pamphlet published by them about the non-essentials of religion....
The Lord divides the world into sheep and goats. O sinners, you are
come to hear a poor creature take his last farewell; but I want you
to forget the creature and his preaching. I want to lead you further
than the Tabernacle—even to mount Calvary, to see with what
expense of blood Jesus Christ purchased 'his own.' Now, before I go
any further, will you be so good, before the world gets into your
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookluna.com