PDF Arduino Robotic Projects 1st Edition Grimmett download
PDF Arduino Robotic Projects 1st Edition Grimmett download
https://ebookfinal.com/download/raspberry-pi-robotics-projects-2nd-
edition-richard-grimmett/
https://ebookfinal.com/download/arduino-projects-to-save-the-
world-1st-edition-emery-premeaux/
https://ebookfinal.com/download/30-arduino-projects-for-the-evil-
genius-1st-edition-simon-monk/
https://ebookfinal.com/download/arduino-workshop-a-hands-on-
introduction-with-65-projects-1st-edition-john-boxall/
Mastering BeagleBone Robotics Grimmett
https://ebookfinal.com/download/mastering-beaglebone-robotics-
grimmett/
https://ebookfinal.com/download/robotic-surgery-smart-materials-
robotic-structures-and-artificial-muscles-1st-edition-mohsen-
shahinpoor-author/
https://ebookfinal.com/download/probability-an-introduction-2nd-
edition-geoffrey-grimmett/
https://ebookfinal.com/download/arduino-electronics-blueprints-1st-
edition-wilcher/
https://ebookfinal.com/download/arduino-interrupts-speed-up-your-
arduino-to-be-responsive-to-events-1st-edition-kuhnel/
Arduino Robotic Projects 1st Edition Grimmett Digital
Instant Download
Author(s): Grimmett, Richard
ISBN(s): 9781783989829, 1783989823
Edition: 1
File Details: PDF, 13.16 MB
Year: 2014
Language: english
www.allitebooks.com
Arduino Robotic Projects
Richard Grimmett
BIRMINGHAM - MUMBAI
www.allitebooks.com
Arduino Robotic Projects
All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the author, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
ISBN 978-1-78398-982-9
www.packtpub.com
www.allitebooks.com
Credits
Author Project Coordinators
Richard Grimmett Mary Alex
Akash Poojary
Reviewers
Jimmy Hedman Proofreaders
Pradumn Joshi Maria Gould
Sudar Muthu Paul Hindle
Karan Thakkar
Indexers
Commissioning Editor Hemangini Bari
Julian Ursell Mehreen Deshmukh
Rekha Nair
Acquisition Editor Tejal Soni
Sam Wood
Graphics
Content Development Editor Sheetal Aute
Akshay Nair
Ronak Dhruv
Disha Haria
Technical Editors
Abhinash Sahu
Manal Pednekar
Ankita Thakur
Production Coordinator
Alwin Roy
Copy Editors
Alisha Aranha
Cover Work
Roshni Banerjee
Alwin Roy
Gladson Monteiro
Karuna Narayanan
Adithi Shetty
www.allitebooks.com
About the Author
Richard Grimmett has always been fascinated by computers and electronics from
his very first programming project that used FORTRAN on punch cards. He has a
Bachelor's and Master's degree in Electrical Engineering and a PhD in Leadership
Studies. He also has 26 years of experience in the Radar and Telecommunications
industries and even has one of the original brick phones. He now teaches Computer
Science and Electrical Engineering at Brigham Young University-Idaho, where his
office is filled with his many robotic projects. He has authored two books, BeagleBone
Robotic Projects and Raspberry Pi Robotic Projects, for Packt Publishing.
www.allitebooks.com
About the Reviewers
www.allitebooks.com
Sudar Muthu builds robots as a hobby, and Arduino is his playground. He
discovered the joy of hardware programming through Arduino around 4 years back,
and since then, he has been using it for his various pet projects. He has created a lot
of libraries for Arduino and also currently maintains a Makefile for Arduino that
helps you do professional Arduino development.
He conducts workshops about Arduino and robotics and has given talks
at various conferences about hardware programming. He blogs about his
experience in hardware programming and also about his various projects at
http://hardwarefun.com.
www.allitebooks.com
www.PacktPub.com
Did you know that Packt offers eBook versions of every book published, with PDF and ePub
files available? You can upgrade to the eBook version at www.PacktPub.com and as a print
book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
service@packtpub.com for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a
range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
TM
http://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book
library. Here, you can access, read and search across Packt's entire library of books.
Why subscribe?
• Fully searchable across every book published by Packt
• Copy and paste, print and bookmark content
• On demand and accessible via web browser
www.allitebooks.com
www.allitebooks.com
Table of Contents
Preface 1
Chapter 1: Powering on Arduino 7
Selecting the right Arduino board 7
A brief history of Arduino 7
Introducing the different versions of Arduino 8
Arduino Uno R3 9
Arduino Mega 2560 R3 10
Choosing the Arduino Mega 10
Arduino Due 11
Arduino Micro 11
Adafruit FLORA 12
Adafruit Gemma 13
Adafruit Trinket 14
Other options with Arduino 14
Powering up Arduino 15
Unveiling your Arduino 15
Connecting to Arduino 16
Installing the FLORA IDE 17
Summary 17
Chapter 2: Getting Started with the Arduino IDE 19
Using a Windows machine to develop with Arduino 19
Running the IDE for Uno 20
Setting the IDE to your board 22
Selecting the proper COM port 23
Opening and uploading a file to Arduino 23
Running the IDE for Mega 26
Running the IDE for the Adafruit FLORA 27
Installing the Adafruit drivers 28
Selecting the Adafruit boards 30
www.allitebooks.com
Table of Contents
[ ii ]
Table of Contents
[ iii ]
Table of Contents
[ iv ]
Preface
We live in a wonderful time where we have access to marvelous chunks of
technology that inspire our creativity. The personal computer, smart phone, web
cam—all of these make our lives easier, but more importantly, more creative. These
new inventions invite us to not only become users, but also developers and creators,
adding our own adaptions to the wide range of applications available.
This ability for the average person to become a developer is also true in the robotics
world. One of the tools that makes this available is Arduino, a processor board that
was built to allow almost anyone to create amazing projects with little cost and even
less technical expertise. This small, inexpensive, powerful board has been used in a
wide range of projects. With its success, has come an entire community of developers
who not only provide help in the area of software development, but also provide
hardware add-ons and even new form factors for the processor board itself.
It can, however, still be a bit intimidating to start using Arduino in your projects.
This book is designed to help anyone, even those with no programming background
or experience, be successful in building both simple but also quite complex robotic
projects. The book is designed to lead you through the process step by step so that
your robotic designs can come to life.
Hopefully, this book will inspire those with the imagination and creative spirit to
build those wildly inventive designs that are swirling around in their heads. One
day, robots will be as pervasive as cell phones are today. So, start creating!
Chapter 2, Getting Started with the Arduino IDE, shows you how to download, install,
and use the environment for your specific Arduino.
Preface
Chapter 3, Simple Programming Concepts Using the Arduino IDE, introduces basic
programming constructs and how to use them within the Arduino IDE.
Chapter 4, Accessing the GPIO Pins, shows you the details of how to both send
information to as well as get information from the outside world through the
available GPIO capabilities.
Chapter 5, Working with Displays, shows you several different types and sizes of
displays and also details how to add them to your project.
Chapter 6, Controlling DC Motors, shows you how to connect DC motors for robots
that use wheels or tracks to move.
Chapter 7, Controlling Servos with Arduino, shows you how to control servos to build
walking robots.
Chapter 8, Avoiding Obstacles Using Sensors, shows you how to add sensors to avoid
or, perhaps, find objects.
Chapter 9, Even More Useful Sensors, shows you how to add different types of sensors
to your project.
Chapter 10, Going Truly Mobile – the Remote Control of Your Robot, covers how to
communicate with your robot wirelessly.
Chapter 11, Using a GPS Device with Arduino, shows you how to add a GPS device so
that you always know where your robot is. This is important because if your robot
gets truly mobile, it might get lost.
Chapter 12, Taking Your Robot to Sea, shows you some robots that can sail and explore
under water.
Chapter 13, Robots That Can Fly, introduces you to robots that can fly.
Chapter 14, Small Projects with Arduino, shows you how to adapt other toy robots
using Arduino or add a bit of flash to your current robotic projects using LEDs.
[2]
Preface
Conventions
In this book, you will find a number of styles of text that distinguish between
different kinds of information. Here are some examples of these styles, and an
explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions,
pathnames, dummy URLs, user input, and Twitter handles are shown as follows:
"Arduino will then move to the loop() function and begin executing the
statements there."
New terms and important words are shown in bold. Words that you see on the
screen, in menus or dialog boxes for example, appear in the text like this: "Select
the TFTDisplayText example by navigating to Examples | TFT | Arduino |
TFTDisplayText."
[3]
Preface
Reader feedback
Feedback from our readers is always welcome. Let us know what you think about
this book—what you liked or may have disliked. Reader feedback is important for us
to develop titles that you really get the most out of.
If there is a topic that you have expertise in and you are interested in either writing
or contributing to a book, see our author guide on www.packtpub.com/authors.
Customer support
Now that you are the proud owner of a Packt book, we have a number of things to
help you to get the most from your purchase.
[4]
Preface
Errata
Although we have taken every care to ensure the accuracy of our content, mistakes
do happen. If you find a mistake in one of our books—maybe a mistake in the text or
the code—we would be grateful if you would report this to us. By doing so, you can
save other readers from frustration and help us improve subsequent versions of this
book. If you find any errata, please report them by visiting http://www.packtpub.
com/submit-errata, selecting your book, clicking on the errata submission form link,
and entering the details of your errata. Once your errata are verified, your submission
will be accepted and the errata will be uploaded on our website, or added to any list of
existing errata, under the Errata section of that title. Any existing errata can be viewed
by selecting your title from http://www.packtpub.com/support.
Piracy
Piracy of copyright material on the Internet is an ongoing problem across all media.
At Packt, we take the protection of our copyright and licenses very seriously. If you
come across any illegal copies of our works, in any form, on the Internet, please
provide us with the location address or website name immediately so that we can
pursue a remedy.
We appreciate your help in protecting our authors, and our ability to bring
you valuable content.
Questions
You can contact us at questions@packtpub.com if you are having a problem with
any aspect of the book, and we will do our best to address it.
[5]
Powering on Arduino
Welcome to the wonderful world of Arduino! This small but powerful processor
board has become a staple with the robotic hobbyist community, and many have
provided open source software to enhance its capabilities. Unfortunately, many,
especially those new to embedded systems and programming, can end up so
discouraged that the processor board can end up on the shelf gathering dust. The
purpose of this first chapter is to help you decide which of the many different
Arduinos is right for your application. Then, you'll walk through the steps to get
your Arduino powered up and working so that you can begin working on all those
amazing robotic projects you've always wanted to create.
www.allitebooks.com
Powering on Arduino
Second, they provided a boot program (the program that runs when the processor
powers on) that would configure the hardware and get the entire system to a known
state so that users would have a standard set of hardware with which they can work.
This also enables the contribution of the third key, which is the Arduino integrated
development environment (IDE). It is a piece of SW that runs on a host computer
and allows developers to develop their projects and then upload them easily to the
target Arduino development board. The program can then be run, debugged, and
modified through the IDE. Then, when the program is completed, you disconnect
Arduino from the host system and it will run without any connection to the
development system.
There are some that are very powerful but also have a much larger form factor and
are more expensive. There are some that are extremely small and inexpensive, but
they are somewhat limited in the size of programs and interfaces. Here are some of
the most popular versions of Arduino.
[8]
Chapter 1
Arduino Uno R3
Perhaps the current most popular version of Arduino is the Arduino Uno R3 (or
Rev3). The following is an image of the unit:
[9]
Powering on Arduino
The add-on shields are boards that can fit on top of Arduino to add more
functionalities. However, it is important to note that they are made to fit
the Arduino Uno may not fit the Arduino Mega. For each shield you are
considering, make sure it will work with your particular Arduino.
[ 10 ]
Chapter 1
As the hardware for Arduino is also open source, some manufacturers take this
design and provide new and different designs form factors. These are considered
Arduino clones. You will need to rely on the quality of the manufacturers of these
clones, so consider that before purchasing.
Arduino Due
If you need even more processing speed, the most powerful of all the Arduino lines
is the Arduino Due. The following is an image of this product:
Arduino Micro
If you need to go smaller, the Arduino line also offers opportunities with much
smaller packages in a number of different form factors. One of the more popular
units is the Arduino Micro. The Micro is a very small form factor; yet, it has a
processor with the appropriate boot parameters so that you can run the Arduino
IDE, the USB connector, and the exposed I/O pins, even though they are much fewer
than those found in the Arduino Uno.
[ 11 ]
Powering on Arduino
Adafruit FLORA
As noted earlier, as Arduino designs and parts are openly available, some companies
have taken the standard Arduino and given it a different look. If you are looking for
a much different form factor, you can try the Adafruit FLORA, offered by Adafruit at
www.adafruit.com. The following is an image of this unit:
[ 12 ]
Chapter 1
Adafruit Gemma
If you like the FLORA form factor but want something even smaller, you can
purchase the Gemma from Adafruit. In the following image, this unit is on the
right-hand side of the FLORA:
[ 13 ]
Powering on Arduino
Adafruit Trinket
Finally, another small form factor Arduino from Adafruit is the Trinket. The
following is an image of it with the FLORA and Gemma in the background:
[ 14 ]
Chapter 1
Powering up Arduino
There is nothing as exciting as ordering and finally receiving a new piece of
hardware; yet, things can go poorly even in the first few minutes. This chapter will
hopefully help you avoid the pitfalls that normally accompany unpacking and
configuring your Arduino. We'll step through the process, answer many of the
different questions you might have, and help you understand what is going on. If
you don't get through this chapter, you'll not be successful at any of the others, and
your HW will go unused, which would be a real tragedy. So, let's get started.
One of the most challenging aspects of writing this guide is to decide to what level I
should describe each step. Some of you are beginners, others may have some limited
experience, and others will know significantly more in some of these areas. I'll try to
be brief but still detail the steps to take in order to be successful.
The items you'll need for this chapter's projects are as follows:
• An Arduino
• A USB cable to go between your Arduino and the host computer
• A host computer running a Windows, Mac, or Linux operating system
[ 15 ]
Powering on Arduino
The Arduino Mega is very similar; it just has more I/O pins. However, the FLORA is
a bit different. The following image shows the connections:
Connecting to Arduino
Before you connect the board, download the appropriate SW for your computer
(Windows, Mac, or Linux from http://arduino.cc/en/main/software#.UxoUA_
ldUvs). Install the SW by following the instructions for your board and operating
system. This will also install the drivers for the board. Then, connect the board to the
computer. To do this, you'll need to go through the USB-client connection. This is
achieved by performing the following steps:
When you plug the board in, the PWR LED should constantly be green. The
following image shows the location of the LED so that you're certain which
one to look for:
[ 16 ]
Chapter 1
The Arduino Uno is also preloaded with a simple blink program; the yellow LED
should also be turning on and off every second. The Mega will look very similar to
the Arduino Uno.
Don't worry yet about the blinking red LED; I'll explain this in Chapter 2, Getting
Started with the Arduino IDE.
Summary
Congratulations! You've completed the first stage of your journey. If you haven't
purchased your Arduino yet, feel free to go out and start your Arduino experience.
If you have, you should have your Arduino up and working. No gathering dust in
the bin for this piece of hardware. It is now ready to start connecting to all sorts of
interesting devices in all sorts of interesting ways.
Your system has lots of capabilities. Your next step will be learning how to bring
up the Arduino IDE so that you can start doing all sorts of amazing things with
your Arduino.
[ 17 ]
www.allitebooks.com
Getting Started with the
Arduino IDE
Now that you have Arduino connected to power, you are ready to start the IDE. In
this chapter, I'll start by covering how to use the IDE in Windows. Then, I'll cover
any specific change you might need to make if you are using a Mac.
As discussed previously, Arduino comes in many flavors and there are too many to
include an example for each one. Sometimes, individual boards will need a special
version of the IDE. This book will focus primarily on Uno, perhaps the most popular
of Arduino variants. Here and there I'll also throw in an example or two from Mega
and one of the small Arduino form factors, FLORA. There are two versions of the
IDE: 1.0.x and 1.5.x. Most of your work will be done with 1.0.x, but I'll show you
when to use 1.5.x for some newer versions of Arduino. You don't need a board to
experiment with the IDE, but it will make much more sense if you have one.
When your drivers are installed, you should see the following device when you
navigate to Start Menu | Devices and Printers:
In this case, the device is connected to COM port 23. Note down the COM port
Arduino is connected to as you'll need that in a minute. If you are using an Apple
Mac or Linux machine, follow the instructions at arduino.cc/en/Guide/MacOSX for
Mac and playground.arduino.cc/Learning/Linux for Linux on how to determine
your USB port connection.
[ 20 ]
Chapter 2
When you select this icon, the IDE should start and you should see something like
the following screenshot:
This is the environment you will use to develop your applications. The IDE will then
make it easy to compile the code, upload it to the device, and run it.
[ 21 ]
Getting Started with the Arduino IDE
[ 22 ]
Chapter 2
The IDE should now indicate that you are using the Arduino Uno on COM23 in the
lower-right corner of the IDE, as seen in the preceding screenshot.
[ 23 ]
Getting Started with the Arduino IDE
2. You should then see the Blink code in the IDE window:
[ 24 ]
Chapter 2
4. Once you have uploaded the file, it will give you an indication in the
lower-left corner of the IDE display that the file has been uploaded:
[ 25 ]
Getting Started with the Arduino IDE
5. When the program is uploaded, it will automatically start running and the
orange LED on the Arduino Uno will blink:
You have now successfully uploaded your first code to your Arduino!
Note that in this case, Mega is connected to COM port 24. The port that Arduino will
be connected to is selected by the computer and is not the same for all Arduinos. The
only difference between the instructions for using Mega and Uno is that you will
need to set the correct board type for Mega. To do this, navigate to Tools | Board |
Arduino Mega 2560 or Mega ADK as shown in the following screenshot:
[ 26 ]
Chapter 2
If you have a different COM port number, make sure you set that by navigating to
Tools | Serial Port. You can now upload the Blink code, and the orange LED should
be blinking on Mega.
[ 27 ]
www.allitebooks.com
Exploring the Variety of Random
Documents with Different Content
expressly for those scholars who, whilst firmly adhering to the
inherited faith, had been trained in the study of philosophy, and
were unwilling to abandon either. Maimonides shows the way how to
explain Biblical passages implying statements contrary to
philosophical teachings, and how to reconcile theology and
philosophy. A similar task was undertaken in modern times by Moses
Mendelssohn in his “Jerusalem” and “Morgenstunden,” in order to
show that strict adherence to the Jewish religion is quite compatible
with the teaching of philosophy. The various systems of philosophy
in Alexandria, in the Mohammedan countries in the Middle Ages, and
in Germany in the last century, which threatened to endanger our
religion, have lived their time and have gone to their fathers, giving
way to new systems and new ideas, whilst the authority of the Word
of God [36]has maintained its place. This having been the case in
former days, there is no reason why we should not in the present
conflict assume, primâ facie, that the scientific and philosophical
dogmas now in favour, alike with Jews and non-Jews, will have their
time, and will ultimately give way to other theories, and the present
conflict will then likewise terminate, dying a natural death. This
reflection should put us on our guard lest we be persuaded by the
plausibility of the modern philosophical and scientific dogmas, and
throw aside our religious faith and traditions. We ought to bear in
mind that, however correct the conclusions of modern science may
appear that can be tested by our senses, theories which are not
subject to such tests are in reality nothing but hypotheses to which a
greater or lesser degree of probability attaches.
It is true that the earth is one of the most insignificant bodies in the
universe, and man is a small portion of the creatures on earth, and
yet it is neither impossible nor unreasonable to believe that the
benefits which man derives from the various parts of the creation,
from the sun, the moon, and the stars, were essential elements in
the scheme of the All-wise Creator.
“I am the Lord thy God, who brought thee out from the land of
Egypt, out of the house of bondage: thou shalt have no other gods
before me” (Exod. xx. 2–3). This is the first lesson the Israelites
were taught when God revealed Himself to them on Mount Sinai.
The words, “Hear, O Israel; the Lord is our God, the Lord is One”
(Deut. vi. 4), are proclaimed by us thrice every day; we recite them
when we rise; keep them in memory during the day, and repeat
them in the evening before we go to rest; they form our watchword
throughout our life, and with these [39]words upon our lips we end
our earthly existence. The Unity of God is the doctrine that
distinguishes the Jews from other religious sects, in so far as the
Jews were the first nation of Monotheists. From them Monotheism
has spread among other peoples, who, however, did not always
receive or preserve it in its original purity. We not only proclaim God
as One, refusing to recognise as divine any power beside Him, but
refrain also from attributing to God anything that might directly or
indirectly involve any notion contrary to the Unity of God.
The Unity of God is the creed which the Jews have always
proclaimed by word of mouth, to which they have given expression
throughout their literature, and for which they have willingly
sacrificed their lives as martyrs. When persecuted by Mohammedans
or Christians the Jews were frequently forced to break the Sabbath,
to ignore the dietary laws, and to neglect Divine worship. They bore
all this patiently when under pressure of persecution, but when they
were asked to renounce the belief in God’s Unity they did not doubt
for a moment as to what their duty was; they adhered firmly to יחוד
השם“the belief in God’s Unity,” and sacrificed their lives for קדוש
השם“the sanctification of God’s name.”
“I firmly believe that the Creator, blessed be His name, is One; that
there is no Oneness like His, in any way, and that He alone was, is,
and will be our God.”
3. The strict Unity of God, in the sense explained above, implies His
Incorporeality, which forms the subject of the third article.
Corporeality implies substance and form, a dualism which must be
rigidly excluded from God. It would not have been necessary to
formulate a special article for the exclusion of corporeality from the
idea of God but for the fact that many erroneous notions have been
entertained on the subject. Besides the fact that the corporeality of
God was assumed by certain religious sects, there have been
scholars among the Jews who defended the literal sense of
anthropomorphic phrases in the Scriptures.
In the Bible anthropomorphic expressions are employed in order to
illustrate the different acts of Divine Providence in such a way as to
render them more intelligible to us human beings. We consist of
body and soul, and we produce an impression or exercise an
influence on others by means of our body and by the activity of our
bodily organs. How an incorporeal being acts upon the corporeal
world we are unable fully to comprehend, much less to describe. If
we desire to picture to ourselves or to others the fact that through
Divine Providence something has been produced on earth, we must
employ the same phrases which we use in describing human acts
which effect [42]a similar result. In reality, however, there is no
comparison or similarity between God and corporeal beings,
between His actions and ours.
6. After having declared our faith in God as the sole Ruler of the
universe, who is One, incorporeal and eternal, we proclaim Him as
our Supreme Master, who alone is capable of granting our petitions.
All existing things are under His control; all forces in nature only
work at His will and by His command. No other being possesses the
power and independence to fulfil our wishes of its own accord, if it
were approached by us with our prayers. It is, therefore, to Him
alone that we can reasonably address our petitions, and in doing so
we have confidence in the efficacy of our prayers, for “the Lord is
nigh to all those who call upon Him, to all who call upon Him in
truth” (Ps. cxlv. 18).
The first lesson or proof given to the Israelites of the fact that such
revelation was not only possible, but had actually been vouchsafed
by the Almighty, was the revelation on Mount Sinai, the מעמד הר
סיני, which became the foundation of the faith of Israel. “And the
Lord said unto Moses, Lo, I come unto thee in a thick cloud, that the
people may hear when I speak with thee, and may also believe thee
for ever” (Exod. xix. 9). The trustworthiness of Moses having thus
been tested and established “for ever,” his teaching remained the
foundation of the teaching of all succeeding prophets, and the test
of their truthfulness and genuineness. A prophet who taught
anything opposed to the law of Moses could not be a true prophet,
although he supported his words by signs and miracles (Deut. xiii. 2,
sqq.). Besides, revelation of the Divine Being had taken place
before. God revealed Himself to the first man. Adam heard the voice
of God; he felt the presence of the Almighty, and learnt the amount
of evil man brings upon himself by disobeying the word of God. The
[48]consciousness of the existence of God, and of the fact that He
has revealed Himself to man, has been inherited by the descendants
of Adam. It has not been preserved in all men in the same strength
and purity. The notion of a Divine Being, and of His revelation to
man, became in course of time corrupt, and led to the corruption of
the human race, with the exception of Noah and his family. “Noah
was a righteous man; perfect he was in his generations: with God
did Noah walk” (Gen. vi. 9). The inherited consciousness of God’s
existence and of His rule over man was strengthened in him by
fresh, direct revolution of God. He was told that the wicked would be
destroyed by a flood, and that he with his family would be saved.
“The righteous man” witnessed the infliction which the wicked
brought upon themselves by evil deeds, and also that protection of
himself and his family which had been promised and granted by the
Almighty. After Noah had left the ark the word of God was again
communicated to him, promising that never again would a flood be
sent to destroy all living beings—a promise which succeeding
generations up to the present have seen fulfilled. In the midst of rain
the “sign of covenant,” the rainbow, reminds us still of His promise
and its fulfilment. Of the descendants of Noah the Semites alone
seem to have preserved the belief in God’s existence and His
revelation to man in its original purity; and of the Semites it was
Abraham who was chosen by Providence to be the founder of a
family of faithful believers in God, who formed, as it were, the centre
from which the true faith should spread in all directions over the
whole face of the earth. Abraham [49]received Divine
communications, and so also his son Isaac and his grandson Jacob.
Even when the children of Israel were in Egyptian slavery, and when
they did not hearken to Moses “because of anguish of spirit, and
because of cruel bondage,” the memory of these revelations was
never entirely extinguished in their minds; and when again
addressed by Moses and Aaron “the people believed; and when they
heard that the Lord had visited the children of Israel, and that He
had seen their affliction, then they bowed their heads and
worshipped” (Exod. iv. 31). Their faith was strengthened when they
witnessed the fulfilment of the Divine message which was brought to
them by Moses: “And they believed in the Lord, and in Moses His
servant” (Ibid. xiv. 31).
It is our belief that God would not reveal Himself to any one that is
unworthy of such distinction. As a conditio sine quâ non it was
necessary that the prophets distinguished themselves in every kind
of virtue, that they set to their fellow-men an example of purity in
thought, loftiness in speech, and nobility in action. As regards
general knowledge and experience they were inferior to none of
their contemporaries. In the Talmud the saying occurs: אין השכינה
שורה על אדם אלא אם כן היה חכם גבור ועשיר“The Divine spirit
does not rest on man, unless he is wise, strong, and rich” (Babyl.
Talm. Shabbath, 92a). This is certainly a true conception of the
character of a prophet, “strong” and “rich” being understood in a
figurative sense: “strong” in possessing mastery over his passions,
and “rich” in being contented with what he has (Aboth iv. 1). It was
a matter of indifference, however, whether the [51]prophet was
strong in body or weak, whether he had many earthly possessions or
none at all.
Can a man be trained for the office of a prophet? Was there a school
or institution for this purpose? Every one could certainly be trained
in the primary conditions of a prophet, in the exercise of all human
virtues, and in the acquisition of all available knowledge; and it was
the duty and the aim of the prophets to encourage all their brethren
to such training by their own example. But the principal element in
prophecy [52]the Divine communication, depended solely on the Will
of God. “The sons of the prophets” are generally believed to be the
pupils of the prophets; they formed “the schools of the prophets.”
These schools, however, could not have been schools or colleges in
the ordinary sense of the word. The sons of the prophets were
instructed by the prophets, but not with the purpose of training
them as prophets. It seems that the sons of the prophets served as
agents for promulgating the inspired messages of their chief. Most
probably they led a simple, pious life, were God-fearing, and spent
their time when meeting together in music and song, repeating
hymns and lessons taught by their master.
It was the spirit of the Lord that moved Samson to heroic deeds
against the enemies of his people; David likewise felt that Divine
impulse when pouring forth his heart before the Lord in his Psalms.
He says: “The spirit of the Lord spake in me, and His word was on
my tongue” (2 Sam. xxiii. 2). It was the spirit of the Lord that filled
the hearts of those who collected and sifted the Holy Writings
containing law, history, prophecies, and poetry, and gave them the
form in which we possess them now.
We are not quite certain as to the form of the letters in the original
copies of the Holy Writings; but from the way in which the
Pentateuch is written now in the Synagogue scrolls, we may infer
with certainty that the ancient copies of the Torah contained no
vowels or accents, and that these have come down to us by oral
tradition.
The other books of the Bible are of less importance, but the
exclusion of error on the part of the copyist, though it has not the
same, has yet a high degree of certainty, inasmuch as they too
formed part of the holy, national literature. If a mistake should be
clearly proved, it would not be contrary to our religious principles to
admit it. But we shall find, after thorough study and examination of
the impugned passages, that there is in each case far greater doubt
as to the correctness of any of the numerous emendations
suggested [55]than of the traditional and Massoretic text before us. It
may frequently occur that some emendations appear strikingly
correct, and yet after due reflection they are found more doubtful
than the original. It is therefore our duty thoroughly to examine
each proposed emendation, and to hesitate long before admitting
the incorrectness of the received text and the correctness of the
emendation.
As to the name of the author of each book or section, and the time
and place of its composition, we are guided by the headings where
such are extant; in the absence of these we are left to the resources
of our own judgment or fancy. There is no reason whatever [56]to
doubt the correctness of these headings, as the religious and
learned authorities of the time were trustworthy men, who would
not add a heading where none was handed down to them by
tradition. Several books and many psalms are therefore left without
a heading; there was no sure tradition about them. How far the
heading of a book or section extends, whether it was meant only for
the beginning or for the whole of it, is in some cases doubtful, and
must be decided by the nature and contents of the book. For
instance, the second part of Isaiah, from chap. xl. to the end, has no
heading of its own; it is therefore open to discussion whether the
heading in the first verse of the first chapter describes only the first
thirty-nine or all the sixty-six chapters of the book. It is possible that
Psalms, ascribed, according to their heading, to David, consist of two
or more parts, of which one only was composed by David. The
names of the books do not necessarily imply a reference to the
author. The Book of Joshua, e.g., may have received its name from
its contents, the history of the Israelites under Joshua being
contained in it. The two books of Samuel could not have been
written by Samuel, not even the whole of the first book, since the
death of Samuel is therein recorded; but they owe their name to the
fact that the first book commences with the history of Samuel.
[Contents]
The name Bible is derived from the Greek βιβλιον, “book.” תנ״ך
(pronounced tenach) has no meaning in itself, and is a word formed
of the initials of תורה נביאים כתובים. Sometimes אנ״ך(the initials of
the Chaldee אוריתא נביאין כתיבין) is used instead of תנ״ך. Another
name is מקרא“text for reading,” as opposed to vivâ voce tradition.
A passage quoted from the Bible is called קראor מקראor כתוב.
Christians call the books of the Hebrew Bible the Old Testament as
distinguished from the New Testament.
1. תורהLaw.
The Torah or Law is divided into five books, and is therefore called
חומשor Pentateuch (Fivefold or Five-book). The names of the five
books are: (1) בראשיתGenesis (Creation); (2) שמותExodus
(departure, scil., of the Israelites from Egypt); (3) ויקראLeviticus
(on the laws concerning the Levites or priests), also called תורת
כהנים“law of the priests;” (4) במדברNumbers; (5) דברים
Deuteronomy, a Greek term denoting “second-law” or “repetition of
the law,” a translation of the Hebrew משנה תורה.
These names are derived from the beginnings of the books. The
Hebrew names are either the first word [58]of the book, as is the
case in the first and the third books (בראשיתand ויקרא), or the first
characteristic word, as is the case in the other three books (שמות
the second word, במדברthe fifth, דבריםthe second). The English
or Greek names describe the subject-matter of the first section of
the book. This applies also to the rest of the Biblical writings.
The first book (בראשית).—It begins with the important lesson, the
basis of all that is taught in the whole Bible: that God is the Creator
of the whole universe. Then follows an account of the Creation, the
history of the first man and the first woman, their transition from the
state of innocence and happiness to the state of sin and toil, their
descendants, the beginnings of industry and civilisation, the
deterioration of mankind, the flood, Noah, and the succeeding
generations to Abraham; the history of the patriarchs Abraham,
Isaac, and Jacob, or Israel; the immigration of Jacob with his family
into Egypt; and with the death of Joseph, the son of Jacob, the book
concludes.
The Divine precepts take a more prominent place in this book. Chief
among these are the institution of the Jewish Calendar, appointing
the month of Abib—Nisan—to be the first month (xii. 2); the
Sacrifice of the Passover and the Feast of Unleavened Bread (chap.
xii.); the Sabbath (xvi. 22–30); the Decalogue (chap. xx. 1–12); civil
legislation (xxi. to xxiii.); the year of release (xxiii. 10, 11); and the
שלש רגליםor festivals of pilgrimage to the sanctuary of the Lord;
viz., Passover, Pentecost, and Tabernacles (פסח, שבועותand סכות
xxiii. 14–17).
The third book (ויקרא) contains the laws revealed during the stay of
the Israelites near Mount Sinai. A few historical incidents are
mentioned in illustration of the Law. Leviticus contains the laws
concerning the sacrifices (i. to vii.); the initiation of Aaron and his
sons as priests (viii. to x.); dietary laws (xi.); laws about cleanness
and uncleanness (טהרה וטומאה) in man and woman (xii. to xv.);
the Day of Atonement (xvi.); prohibition of blood (xvii. 10–14);
marriage laws (xviii. and xx. 10–22); laws concerning the holiness of
man (xix.); laws concerning the priests (xxi., xxii. 16) and sacrifices
(xxii. 17–33); the Festivals of the Lord (xxiii.); the year of release
and the year of jubilee, and land-laws connected with these (xxv.);
laws concerning the transfer of property to the sanctuary and the
priests.
The fourth book records the departure of the Israelites [60]from
Mount Sinai, their journeyings until they came to the east of the
Jordan in the plains of Moab; the chief incidents during these travels,
viz., the consecration of the altar, and the instalment of the Levites
as assistants to the priests in the performance of the Divine Service;
the first appointment of a council of seventy elders; the punishment
of Miriam for slander; the spies; the rebellion of Korah; death of
Miriam; Moses and Aaron’s sin at Meribah, and their punishment;
death of Aaron; wars with Sihon and Og; the blessings of Bileam
instead of his intended cursings; the zeal and distinction of Phineas;
war against Midian; the appointment of Joshua as future leader of
Israel.
There is also in the book a list of all the stations where the Israelites
had encamped during their travels through the Arabian desert (chap.
xxxiii.), and a minute description of the boundaries of the land of
Canaan (chap. xxxiv.).
The following are the principal laws mentioned in Numbers: the laws
concerning Nazirites; concerning a woman suspected of faithlessness
against her husband; the second Passover (פסח שני) for those who
could not fulfil their duty on the 14th of Nisan; the law of fringes
(ציצת); the law of purification of persons who have become unclean
through contact with the dead body of any person (פרה אדומה
chap. xix.); the law of inheritance (xxvii.); the sacrifices for the
festivals (xxviii., xxix.); the laws of vows (xxx.); laws concerning
murder and cities of refuge (xxxv.).
2. The Prophets
are divided into two groups: Earlier and Latter Prophets (נביאים
ראשונים ונביאים אחרונים).
Among the various incidents related in the book [63]the following are
noteworthy:—The circumcision of those who had been born during
the wandering of Israel in the wilderness; the celebration of the first
Passover in the Holy Land; the appearance of “the prince of the host
of the Lord” (v. 14), just before the war commenced, in order to
remind Joshua that “the place upon which he stood was holy;” 3 the
crossing of the Jordan; the taking of Jericho; the disastrous
consequences of Achan’s sin, as an illustration of the principle that
the whole community is made responsible for the crime of the
individual till the crime is discovered and punished; the battle at
Gibeon, famous through Joshua’s exclamation, “Sun, stand thou still
upon Gibeon; and thou moon, in the valley of Ajalon!” (x. 12); and
the appointment of the cities of refuge.
During the period of the judges the tribes of Israel were not united
(song of Deborah, Judges v. 15–17). There was no common
government, or if there was one, it must have possessed little power
and influence. The people became degraded; many worshipped idols
and altogether ignored the Divine commandments. But the
conscience of the nation was roused when a shocking crime was
committed at Gibeah in the tribe of Benjamin, and all Israel united in
demanding the punishment of the evil-doers (chaps. xix. to xxi.).
The book contains two beautiful poetical passages, the song of
Deborah (v.) and the parable of Jotham (ix.).
3. The two books of Samuel (שמואל א׳ וב׳)—also called the first and
second books of Kings—contain the history of Israel during the time
of the high-priest Eli, the prophet Samuel, and Saul, the first king of
Israel (Book I.); and the reign of David (Book II.).
ii. 6–7: “The Lord killeth and maketh alive; He bringeth down to the
grave and bringeth up. The Lord maketh poor and maketh rich; He
bringeth low and lifteth up.”
xii. 22: “The Lord will not forsake His people, for His great name’s
sake; because it hath pleased the Lord to make you His people.”
xv. 22–23: “Hath the Lord as great delight in burnt offerings and
sacrifices as in obeying the voice of the Lord? Behold, to obey is
better than sacrifice, and to hearken than the fat of rams. For
rebellion is [65]as the sin of witchcraft, and stubbornness is as
iniquity and idolatry; because thou hast rejected the word of the
Lord, He hath also rejected thee from being king.”
xvi. 7: “The Lord seeth not as man seeth; for man looketh on the
outward appearance, but the Lord looketh on the heart.”
II., xxiv. 14: “I am in a great strait; let us fall now into the hand of
the Lord; for His mercies are great: and let me not fall into the hand
of man.”
The prayer of Hannah (ii. 1–10); David’s lament over Saul’s death
(II., i. 18–27); Parable of the prophet Nathan (xii. 1–6); Song of
thanksgiving by David (xxii.); David’s faith in God’s justice (xxiii. 1–
7).
4. The first and the second books of Kings (מלכים א׳ וב׳), also called
the third and fourth books of Kings, contain the history of Israel
from the death of David to the Babylonian exile. The first book
describes the last days of King David, the reign of Solomon, the
division of the country into two kingdoms, Judah and Israel, the
history of the kingdom of Judah from Rehoboam to Jehoshaphat,
and the history of the kingdom of Israel from Jeroboam to Ahab.
The second book continues the history of the kingdom of Israel from
Ahab to the conquest of Samaria by Shalmanessar, king of Assyria,
and that of the kingdom of Judah from Abijam, son of Jehoshaphat,
to the conquest of Jerusalem by Nebuchadnezzar, king of Babylon.
I., ii. 2: “I go the way of all the earth; be thou strong therefore, and
show thyself a man.” [66]
xviii. 21: “How long halt ye between two opinions? If the Lord be
God. follow Him; but if Baal, then follow him.”
II., xiv. 9: “The thistle that was in Lebanon sent to the cedar that
was in Lebanon, saying, Give thy daughter to my son to wife: and
there passed by a wild beast that was in Lebanon and trod down the
thistle.” 4
(3.) Chap. vi.—On the occasion of the death of King Uzziah, who had
presumed to approach God and to offer incense in the Holy of
Holies, contrary to the Law, and was punished with leprosy, Isaiah
had a vision in which he despairingly contrasted the infinite holiness
of the Almighty with his own sinfulness, living as he did among
people of unclean lips. He is reassured, and shown that his sin is
removed when his words are inflamed by the holy fire taken from
the altar of God. He must, nevertheless, not expect a speedy effect
from his words to the people; they will continue in disobedience and
bring upon themselves continued punishments, but ultimately, when
the leaves have fallen off, the stem will remain—a seed of holiness.
[68]
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.
ebookfinal.com