PIC Microcontrollers An Introduction to Microelectronics 2nd Ed Second Edition Martin Bates download
PIC Microcontrollers An Introduction to Microelectronics 2nd Ed Second Edition Martin Bates download
https://ebookname.com/product/pic-microcontrollers-an-
introduction-to-microelectronics-2nd-ed-second-edition-martin-
bates/
https://ebookname.com/product/interfacing-pic-microcontrollers-
embedded-design-by-interactive-simulation-1st-edition-martin-p-
bates/
https://ebookname.com/product/programming-8-bit-pic-
microcontrollers-in-c-with-interactive-hardware-simulation-1st-
edition-martin-p-bates/
https://ebookname.com/product/introduction-to-particle-
technology-2nd-ed-edition-martin-rhodes/
https://ebookname.com/product/indigenous-methodologies-
characteristics-conversations-and-contexts-2nd-edition-margaret-
kovach/
God Bless America The Surprising History of an Iconic
Song 1st Edition Sheryl Kaskowitz
https://ebookname.com/product/god-bless-america-the-surprising-
history-of-an-iconic-song-1st-edition-sheryl-kaskowitz/
https://ebookname.com/product/routledge-handbook-of-
international-criminal-law-1st-edition-william-a-schabas/
https://ebookname.com/product/complexity-scales-and-licensing-in-
phonology-1st-edition-eugeniusz-cyran/
https://ebookname.com/product/protection-from-exposure-to-second-
hand-tobacco-smoke-policy-recommendations-1st-edition-world-
health-organization/
https://ebookname.com/product/the-art-of-mathematics-bollobas-b/
Pursuits of Wisdom Six Ways of Life in Ancient
Philosophy from Socrates to Plotinus John M. Cooper
https://ebookname.com/product/pursuits-of-wisdom-six-ways-of-
life-in-ancient-philosophy-from-socrates-to-plotinus-john-m-
cooper/
PIC Microcontrollers
ThisPageisIntentionallyLeftBlank
PIC Microcontrollers
An Introduction to
Microelectronics
Second Edition
Martin Bates
Appendix A has been reprinted with permission of the copyright owner, Microchip Technology
Incorporated © 2001. All rights reserved. No further reprints or reproductions may be made without
Microchip Technology Inc.’s prior written consent.
Information contained in this publication regarding device applications and the like is intended as
suggestion only and may be superseded by updates. No representation or warranty is given, and
no liability is assumed by Microchip Technology Inc. with respect to the accuracy or use of such
information, or infringement of patents arising from such use or otherwise. Use of Microchip
Technology Inc. products as critical components in life support systems is not authorized except
with express written approval by Microchip Technology Inc. No licenses are conveyed implicitly
or otherwise under any intellectual property rights.
The right of Martin Bates to be identified as the author of this work has been asserted in accordance
with the Copyright, Designs and Patents Act 1988
No part of this publication may be reproduced in any material form (including photocopying or storing
in any medium by electronic means and whether or not transiently or incidentally to some other use
of this publication) without the written permission of the copyright holder except in accordance with
the provisions of the Copyright, Designs and Patents Act 1988 or under the terms of a licence issued
by the Copyright Licensing Agency Ltd, 90 Tottenham Court Road, London, England WIT 4LP.
Applications for the copyright holder’s written permission to reproduce any part of this publication
should be addressed to the publisher
Permissions may be sought directly from Elsevier’s Science & Technology Rights Department in
Oxford, UK: phone: (+44) 1865 84830, fax: (+44) 1865 853333, e-mail: permissions@elsevier.co.uk.
You may also complete your request on-line via the Elsevier homepage (http://www.elsevier.com),
by selecting ‘Customer Support’ and then ‘Obtaining Permissions’
Typeset in 10/12 pt Times by Integra Software Services Pvt. Ltd, Pondicherry, India
www.integra-india.com
Introduction xiii
Summary 90
Questions 90
Answers 91
Activities 91
Index 367
Preface to the First Edition
programming unit. However, there are many designs for inexpensive programmers available
in magazines and on the Internet, usually with their own software. The current Windows
version of the program development package, MPLAB, can be downloaded free of charge from
the Internet at ‘http://www.microchip.com’, along with data sheets and all the latest product
development information. The data sheet for the PIC 16F84 is reprinted in full, because it is an
excellent document which contains the definitive information on the chip, presented in a clear
and concise manner.
The objective of this book is to ensure that any beginner, student or engineer, will quickly
be able to start using this chip for their own projects and designs. When I started using it in my
teaching, I put together a teaching pack and was expecting a range of suitable reference books
to quickly appear. Indeed, the chip soon started to feature in numerous electronics magazine
projects and was clearly popular, but all the books that I obtained seemed to assume quite a lot
of prior knowledge of microprocessors. I wanted to use the PIC with students who were new
to the subject, and eventually I realised that if I wanted a suitable book, I would have to do it
myself! I hope that the reader finds the result useful.
Martin P. Bates
Lecturer in Microelectronics
Hastings College of Arts & Technology
July 1999
Preface to the Second Edition
The revisions required in the second edition of this book are mainly due to the rapid development
of microcontroller technology. As the PIC family of devices has grown, more features have been
incorporated at lower cost. So, while the focus of the first edition was the popular 16F84 chip,
and this remains a valuable reference point for the beginner, the scope has been expanded so
that a broader understanding of the range microcontroller types and applications can be gained.
One of the reasons the 16F84 was originally selected was its flash memory, which allows
easy reprogramming, making it a good choice for education and training. Flash memory is now
available in a wider range of devices, making the choice of chip less obvious. On the one hand
we now have more small 8-pin chips which can be used in simple systems requiring fewer
inputs and outputs, as well as a proliferation of more powerful devices incorporating a variety
of serial data interfaces, as well as analogue inputs and many other advanced features.
For this reason the focus has been shifted away from the 16F84. A wider selection of
devices and I/O methods is now discussed, and a more general treatment attempted. Application
development software has also moved on, and new methods of programming and debugging
introduced. I hope I have been able to reflect these developments adequately without introducing
too many complications for the beginner, to whom this text is still firmly addressed.
Part A is a general introduction to microelectronics system technology, and can be skipped if
appropriate. In Part B, the PIC microcontroller is described in detail from first principles. Part
C contains practical advice on implementing PIC projects, with examples. Part D contains new
material on the more advanced features of other PIC MCUs (Microcontroller Units) as well as
a review of a range of other control system technologies.
I have tried to incorporate a systematic approach to project development, making the design
process as explicit as possible. The book will thus support the delivery of the microelec-
tronic systems and project modules of, for example, UK BTEC electronics programmes which
incorporate an Integrated Vocational Assignment, which requires the student to develop a
specific project and document the process in detail. The PIC is a good choice for producing
interesting, but achievable, projects which incorporate a good balance between hardware and
software design, and allow the design process to be clearly documented through every stage.
Acknowledgement is due to Microchip Technology Inc. for their kind permission to reproduce
the PIC 16F84A data sheet, to Microsoft Corporation and Labcenter Electronics for the
application software used to produce documents, drawings, circuit schematics and layouts for
this book, and to all for use of their trademarks.
Finally, thanks to the following for their help, advice and tolerance: Melvyn Ball (Hastings
College), Jason Guest (General Dynamics, Hastings), Chris Garrett (University of Brighton)
and, of course, Julie at home; also, to all colleagues who commented on the first edition, and
students who bought it!
Martin Bates
December 2003
mbates@hastings.ac.uk
Introduction
Let’s admit one thing straight away – microprocessor systems are quite complicated! However,
they are now found in so many different products that all students of engineering need to know
something about how they work.
In this book we are going to look specifically at the PIC family of microcontrollers. Microcon-
trollers have all the essential features of a full-size computer, but all on a single chip. By
contrast, conventional microprocessor systems, such as the PC (personal computer), are built
with a separate processor, memory, input and output chips. The extra hardware and software
required to make these chips work together makes the system more difficult to understand than
our single chip microcontroller unit (MCU).
As well as being easier to understand, microcontrollers are important because they make
electronic circuits cheaper and easier to build. ‘Hard-wired’ circuits can be replaced with a
microcontroller and its software, reducing the number of components required. Importantly, the
software element (control program) can be reproduced at minimal cost, once it has been created.
So the development costs may be higher, but the production costs will be lower in the long
run. It is also easier to change software if the product is to be modified. In general, software
is increasingly replacing hardware in electronic designs. For example, to design a system like
a video recorder without microprocessors or microcontrollers would be very complicated and
expensive, if not impossible.
Using the PIC, we will find that we can quite quickly work out some simple, but useful,
applications. These will illustrate the universal principles of microprocessor systems that apply
to more complex computer and control systems. At first, however, we do not have to worry too
much about exactly how the chip works – we will go back to that later. The big problem with
microprocessors and microcontrollers is that in order to fully understand how the system works,
we have to understand both the hardware and the software at the same time. Therefore we have
to circle round the subject, looking at the system from different angles, until a reasonable level
of understanding is built up.
We will approach microcontroller and microprocessor systems (microsystems) step by step,
assuming very little prior knowledge. The operation of the PC will be outlined first, because
most students will be familiar with how it works from the user’s point of view. We will look
at how the hardware and software interact, and the function of the Pentium microprocessor in
controlling the input (keyboard, mouse), output (screen) and memory and disks.
Some basic microelectronic system principles will then be covered. One objective is to
understand the hardware diagrams in the PIC data sheets, so that external circuits connected
to the PIC input/output pins can be designed correctly. Also, it is necessary to understand
the internal hardware configuration of a microcontroller to fully understand the programming
of the chip. The clarity and completeness of these data sheets is an important reason for
choosing the PIC as our typical microcontroller. We can then start to look specifically at the
PIC microcontroller and develop simple applications which will illustrate the essential hardware
xiv Introduction
features and basic programming ideas. More details will then be added using further application
examples.
In the final section, the complete application design process will be described, including use of
the PIC development system and hardware design methods. The range of PIC microcontrollers
and the more advanced features of some of them will then be described, plus some other
types of control technologies which can carry out similar functions to microcontrollers, such
as programmable logic controllers.
All reference material can be downloaded from www.microchip.com and other manufac-
turers’ websites.
Part A
Microelectronic Systems
1 Computer Systems
2 Information Coding
3 Microelectronic Devices
4 Digital Systems
5 Microcontroller Operation
ThisPageisIntentionallyLeftBlank
Chapter 1
Computer Systems
We will begin our study of microsystems with something familiar, by looking at how the PC
(personal computer) works when running a wordprocessor. Most readers will be familiar with
using a wordprocessor and will know more or less how it functions from the user’s point of
view. Some basic microsystem concepts will be introduced by analysing how the software
operates with the computer hardware, to allow the user to enter, store and process documents.
For example, we will see why different kinds of memory are needed to support the system
operation.
It is also useful to get some idea of how a PC works because it is used as the hardware
platform for the PIC program development system. The programs for the PIC are written
using a text editor, and the machine code program created and downloaded to the PIC chip
using the PC. The PIC development system hardware can be seen connected to the PC in
Fig. 1.1(a). A simplified diagram, Fig. 1.1(b), allows us to see the main parts of the system more
clearly.
We will then have a quick look at a microcontroller system, set up to operate as a simple
equivalent of the microprocessor-based PC system, so we can see how it compares. The
microcontroller has a keypad with only 12 keys instead of a keyboard, and a seven-segment
display instead of a screen. Its memory is much smaller than the PC, yet it can carry out the
same basic tasks. In fact, it is far more versatile; the Pentium™processor used in the PC is
designed specifically for that system. The microcontroller can be used in a great variety of
circuits. Also, it is much cheaper!
(a)
(b)
Main
unit
Screen
CD ROM
Hard disk bay
Floppy disk
Power Network
Reset
Printer
Keyboard
Mouse
Figure 1.1 (a) The PC system (with PIC development system); (b) Diagram of PC system.
to provide digital processing of information and control of input and output devices. A power
supply for the motherboard and the peripheral devices is included in the main unit.
The processor must have access to software (programs) to allow useful work to be done by
the hardware. These are usually stored on a hard disk inside the main unit; this can hold large
amounts of data which is retained when the power is off. There are two main types of software
required – the operating system (Windows™) and the application (Word™). As well as the
operating system and application software, the hard disk stores the data created by the user
(document files). Documents can also be stored on floppy disk for backup or portability.
The PC System 5
The keyboard is used for data input, and the VDU displays the resulting document. The
mouse provides an additional input device, allowing operations to be selected from menus or
by clicking on icons and buttons. This is called the graphical user interface (GUI). There may
be a network card fitted in the PC to exchange information with other users, download data or
applications, or share resources such as printers over a local area network (LAN). In addition, a
modem can give direct access to a wide area network (WAN), usually the Internet. A CD ROM
drive allows large volumes of reference information stored on optical disk to be accessed, and
is also used to load application software.
If we remove the cover from the main unit, the main components can be identified fairly
easily. In the photograph, Figure 1.2(a), the power supply is top left, with the hard disk drive
below and the motherboard vertical at the back of the tower case. The disk and video interface
cards are visible at the bottom, slotted via edge connectors into the motherboard, with a modem
in the middle in the dark casing. The connections to the video board and modem are available
at the rear (left) of the case, with the floppy disk at the front (top right). In current PC designs,
some of these interfaces are built into the motherboard, so the whole package is more compact.
Block diagrams are useful for showing the main parts of a complex system, and how they
connect together, in a simplified form. Figure 1.2(b) shows the components of the PC system
and the direction of the information flow between them. In the case of the disk drives and
network it is bidirectional (flowing in both directions), representing the process of saving data
to, and retrieving data from, the hard disk or floppy disk.
1.1.1 PC Hardware
Inside the PC main unit, the motherboard has slots for expansion boards and memory modules to
be added to the system. The power supply and disk drives are fitted separately into the main unit
frame. The keyboard and mouse interfaces are usually on the motherboard. In older designs, the
expansion boards carried interface circuits for the disk drives and external peripherals such as
the display and printer, but these functions now increasingly incorporated into the motherboard
itself. Note that the functional block diagram does not show any difference between internally
and externally fitted peripherals, because it is not relevant to the overall system operation.
The PC is a modular system, which allows the hardware to be put together to meet the
individual user’s requirements, and allows subsystems, such disk drives and keyboard to be
easily replaced if faulty. The modular design also allows upgrading (for instance, fitting extra
memory chips) and also makes the PC architecture well suited to industrial applications. In
this case, the PC can be ‘ruggedised’ (put into a more robust casing) for use on the factory
floor. This modular architecture is one of the reasons for the success of the PC as a universal
hardware platform.
1.1.2 PC Motherboard
The main features of a typical motherboard are shown in Fig. 1.3. The heart of the system is the
microprocessor, a single chip, which is also called the central processing unit (CPU). This name
refers back to the days when the CPU was built from discrete components and could be the
size of a washing machine! In Fig. 1.3(a), the CPU is under the cooling fan at the lower right.
The CPU controls all the other system components, but must have access to a suitable program
in memory before it can do anything useful. The blocks of program required are provided by
the operating system software and the application software which are downloaded to memory
from the hard disk on startup.
6 Computer Systems
(b)
Disk
drives
VDU
Main
unit Printer
Keyboard
Network
Mouse
Figure 1.2 The PC system main unit. (a) View of PC main unit; (b) Block diagram of PC system.
The Intel CPU has undergone continuous development since the introduction of the PC in
1981, with the Pentium processor being the current standard. Intel processors are classified as
CISC (complex instruction set computer) devices, which means they have a relatively large
number of instructions which can be used in a number of different ways. This makes them
powerful, but relatively slow compared with more streamlined processors which have fewer
instructions. These are classified as RISC chips (reduced instruction set computer), of which
the PIC microcontroller is an example.
As stated above, CPU cannot work on its own; it needs some memory and input/output
devices for getting data in, storing it and sending it out again. The main memory block is
The PC System 7
(a)
(b)
BIOS ROM
Keyboard
controller
RAM
SIMM
slots
IC 3 IC 4
IC 2
Integrated
support chip
IC 1 CPU
Clock
generator
Adapter
card slots
Figure 1.3 PC motherboard. (a) PC motherboard in the main unit; (b) Layout of PC motherboard.
8 Computer Systems
made up of RAM (read and write memory) chips, which are mounted in SIMMs (single in-line
memory modules). Higher capacity DIMMs (dual in-line memory modules) are used currently.
These can be seen at the top of the photograph in Fig. 1.3(a). Additional peripheral interfacing
boards are fitted in the expansion card slots to connect the main board to the disk drives, VDU,
printer and network. Spare slots allow additional peripheral interfaces and more memory to be
added if required. Each peripheral interface is a sub-circuit which is built around a specific
input/output chip (or set of chips) which handles the data transfer.
The integrated support device (ISD) is a chip which provides various system control and
memory management functions in one chip, and is designed for that particular motherboard.
The motherboard itself can be represented as a block diagram (Fig. 1.4) to show how the
components are interconnected.
Keyboard Disk
interface interface
Microprocessor
VDU Printer
interface Bus interface
Mouse Network
interface RAM ROM interface
memory memory
The block diagram shows that the CPU is connected to the peripheral interfaces by a set of
bus lines. These are groups of connections on the motherboard which work together to transfer
the data from the inputs, such as keyboard, to the processor, and from the processor to memory.
When the data has been processed and stored, it can be sent to an output peripheral, such as
the screen. We will look at how this is achieved in more detail later.
Busses connect all the main chips in the system together, but, because they operate as shared
connections, can only pass data to or from one peripheral interface or memory location at a
time. This arrangement is used because separate connections to all the main chips would need
an impossible number of tracks on the motherboard. The disadvantage of bus connection is
that it slows down the program execution speed, because all data transfers use the same set of
lines, and only one data word can be present on the bus at any one time. To help compensate
for this, the bus connections are typically 16, 32 or more bits wide, that is, there are 16 or
32 connections working together, each carrying one bit of a data word simultaneously. This
parallel data connection is faster than a serial connection, such as the keyboard input or network
connection, which can only carry one bit at a time. In the microcontroller, these system bus
connections are hidden inside the chip, making circuit design easier.
1.1.3 PC Memory
There are two types of memory in the PC system. The main memory block is RAM, where input
data is stored before and after processing in the CPU. The operating system and application
program are also copied to RAM from disk for execution, because access to data in RAM is
Wordprocessor Operation 9
faster. Unfortunately, RAM storage is ‘volatile’, which means that the data and application
software disappear when the PC is switched off, and these have to be reloaded each time the
computer is switched back on.
This means that some ROM (read only memory), which is non-volatile, is needed to get the
system started at switch on. The BIOS (basic input/output system) ROM chip, seen at the left
of Fig. 1.3(a), contains enough code to check the system hardware and load the main operating
system (OS) software from disk. It also contains some basic hardware control routines so that
the keyboard and screen can be used before the main system has been loaded.
The hard disk is a non-volatile, read/write storage device, consisting of a set of metal disks
with a magnetic recording surface, read/write heads, motors and control hardware. It provides
a large volume of data storage for the operating system, application and user files. A number
of applications can be stored on disk and then selected as required for loading into memory;
because the disk is read and write device, user files can be stored, applications added and
software updates easily installed.
which represent a binary code, each key generating a different code. The keyboard interface
converts this serial code to parallel form for transfer to the CPU via the system data bus. It also
signals separately to the CPU that a keycode is ready to be read into the CPU, by generating an
‘interrupt’ signal. This serial-to-parallel (or parallel-to-serial) data conversion process is required
in all the interfaces that use serial data transfer, namely, the keyboard, VDU, network and
modem. Binary coding, interrupts and other such processes will be explained in more detail later.
In Windows, and other GUIs, the mouse can be used to select commands for managing the
application and its data. It controls a pointer on the screen; when the mouse is moved, the
ball turns two rollers, which have perforated wheels attached. The holes are detected using
an opto-detector, which sends pulses representing movement in two directions. These pulse
sequences are passed to the CPU via the mouse interface and used to modify the position of
the pointer on the screen. The buttons, used to select an action, must also be input to the CPU.
Fig. 17.
The arc M N is called the parallactic arc, and the angle A C B, the
parallactic angle.
It is plain, from the figure, that near objects are much more
affected by parallax than distant ones. Thus, the body C, Fig. 17,
makes a much greater parallax than the more distant body D,—the
former being measured by the arc M N, and the latter by the arc O P.
We may easily imagine bodies to be so distant, that they would
appear projected at very nearly the same point of the heavens,
when viewed from places very remote from each other. Indeed, the
fixed stars, as we shall see more fully hereafter, are so distant, that
spectators, a hundred millions of miles apart, see each star in one
and the same place in the heavens.
It is evident from the figure, that the effect of parallax upon the
place of a celestial body is to depress it. Thus, in consequence of
parallax, E is depressed by the arc H h; F, by the arc P p; G, by the
arc R r; while O sustains no change. Hence, in all calculations
respecting the altitude of the sun, moon, or planets, the amount of
parallax is to be added: the stars, as we shall see hereafter, have no
sensible parallax.
Fig. 22.
When a body is in the zenith, since a ray of light from it enters the
atmosphere at right angles to the refracting medium, it suffers no
refraction. Consequently, the position of the heavenly bodies, when
in the zenith, is not changed by refraction, while, near the horizon,
where a ray of light strikes the medium very obliquely, and traverses
the atmosphere through its densest part, the refraction is greatest.
The whole amount of refraction, when a body is in the horizon, is
thirty-four minutes; while, at only an elevation of one degree, the
refraction is but twenty-four minutes; and at forty-five degrees, it is
scarcely a single minute. Hence it is always important to make our
observations on the heavenly bodies when they are at as great an
elevation as possible above the horizon, being then less affected by
refraction than at lower altitudes.
The apparent enlargement of the sun and moon, when near the
horizon, arises from an optical illusion. These bodies, in fact, are not
seen under so great an angle when in the horizon as when on the
meridian, for they are nearer to us in the latter case than in the
former. The distance of the sun, indeed, is so great, that it makes
very little difference in his apparent diameter whether he is viewed
in the horizon or on the meridian; but with the moon, the case is
otherwise; its angular diameter, when measured with instruments, is
perceptibly larger when at its culmination, or highest elevation above
the horizon. Why, then, do the sun and moon appear so much larger
when near the horizon? It is owing to a habit of the mind, by which
we judge of the magnitudes of distant objects, not merely by the
angle they subtend at the eye, but also by our impressions
respecting their distance, allowing, under a given angle, a greater
magnitude as we imagine the distance of a body to be greater. Now,
on account of the numerous objects usually in sight between us and
the sun, when he is near the horizon, he appears much further
removed from us than when on the meridian; and we unconsciously
assign to him a proportionally greater magnitude. If we view the
sun, in the two positions, through a smoked glass, no such
difference of size is observed; for here no objects are seen but the
sun himself.
Were it not for the power the atmosphere has of dispersing the
solar light, and scattering it in various directions, no objects would
be visible to us out of direct sunshine; every shadow of a passing
cloud would involve us in midnight darkness; the stars would be
visible all day; and every apartment into which the sun had not
direct admission would be involved in the obscurity of night. This
scattering action of the atmosphere on the solar light is greatly
increased by the irregularity of temperature caused by the sun,
which throws the atmosphere into a constant state of undulation;
and by thus bringing together masses of air of different
temperatures, produces partial reflections and refractions at their
common boundaries, by which means much light is turned aside
from a direct course, and diverted to the purposes of general
illumination.[6] In the upper regions of the atmosphere, as on the
tops of very high mountains, where the air is too much rarefied to
reflect much light, the sky assumes a black appearance, and stars
become visible in the day time.
We will begin our survey of the heavenly bodies with the sun,
which first claims our homage, as the natural monarch of the skies.
The moon will next occupy our attention; then the other bodies
which compose the solar system, namely, the planets and comets;
and, finally, we shall leave behind this little province in the great
empire of Nature, and wing a bolder flight to the fixed stars.
The distance of the sun from the earth is about ninety-five millions
of miles. It may perhaps seem incredible to you, that astronomers
should be able to determine this fact with any degree of certainty.
Some, indeed, not so well informed as yourself, have looked upon
the marvellous things that are told respecting the distances,
magnitudes, and velocities, of the heavenly bodies, as attempts of
astronomers to impose on the credulity of the world at large; but the
certainty and exactness with which the predictions of astronomers
are fulfilled, as an eclipse, for example, ought to inspire full
confidence in their statements. I can assure you, my dear friend,
that the evidence on which these statements are founded is
perfectly satisfactory to those whose attainments in the sciences
qualify them to understand them; and, so far are astronomers from
wishing to impose on the unlearned, by announcing such wonderful
discoveries as they have made among the heavenly bodies, no class
of men have ever shown a stricter regard and zeal than they for the
exact truth, wherever it is attainable.
But it was not alone to give heat and light, that the sun was
placed in the firmament. By his power of attraction, also, he serves
as the great regulator of the planetary motions, bending them
continually from the straight line in which they tend to move, and
compelling them to circulate around him, each at nearly a uniform
distance, and all in perfect harmony. I will hereafter explain to you
the manner in which the gravity of the sun thus acts, to control the
planetary motions. For the present, let us content ourselves with
reflecting upon the wonderful force which the sun must put forth, in
order to bend out of their courses, into circular orbits, such a
number of planets, some of which are more than a thousand times
as large as the earth. Were a ship of war under full sail, and it
should be required to turn her aside from her course by a rope
attached to her bow, we can easily imagine that it would take a
great force to do it, especially were it required that the force should
remain stationary and the ship be so constantly diverted from her
course, as to be made to go round the force as round a centre.
Somewhat similar to this is the action which the sun exerts on each
of the planets by some invisible influence, called gravitation. The
bodies which he thus turns out of their course, and bends into a
circular orbit around himself, are, however, many millions of times as
ponderous as the ship, and are moving many thousand times as
swiftly.
LETTER XI.
ANNUAL REVOLUTION.—SEASONS
"These, as they change, Almighty
Father, these
Are but the varied God. The
rolling year
Is full of Thee."—Thomson.
When bodies are at such a distance from each other as the earth
and the sun, a spectator on either would project the other body
upon the concave sphere of the heavens, always seeing it on the
opposite side of a great circle one hundred and eighty degrees from
himself.
Recollect that the path in which the earth moves round the sun is
called the ecliptic. We are not to conceive of this, or of any other
celestial circle, as having any real, palpable existence, any more than
the path of a bird through the sky. You will perhaps think it quite
superfluous for me to remind you of this; but, from the habit of
seeing the orbits of the heavenly bodies represented in diagrams
and orreries, by palpable lines and circles, we are apt inadvertently
to acquire the notion, that the orbits of the planets, and other
representations of the artificial sphere, have a real, palpable
existence in Nature; whereas, they denote the places where mere
geometrical or imaginary lines run. You might have expected to see
an orrery, exhibiting a view of the sun and planets, with their various
motions, particularly described in my Letter on astronomical
instruments and apparatus. I must acknowledge, that I entertain a
very low opinion of the utility of even the best orreries, and I cannot
recommend them as auxiliaries in the study of astronomy. The
numerous appendages usually connected with them, some to
support them in a proper position, and some to communicate to
them the requisite motions, enter into the ideas which the learner
forms respecting the machinery of the heavens; and it costs much
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.
ebookname.com