100% found this document useful (2 votes)
10 views

Java on the Raspberry Pi: Develop Java Programs to Control Devices for Robotics, IoT, and Beyond Flurryinstant download

The document is about the book 'Java on the Raspberry Pi' by Greg Flurry, which focuses on developing Java programs to control devices for robotics and IoT applications. It includes setup instructions for various Raspberry Pi models, remote development using NetBeans, and device support in Java. The book provides practical guidance for programmers looking to leverage Java in the context of Raspberry Pi projects.

Uploaded by

rdglocati
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
10 views

Java on the Raspberry Pi: Develop Java Programs to Control Devices for Robotics, IoT, and Beyond Flurryinstant download

The document is about the book 'Java on the Raspberry Pi' by Greg Flurry, which focuses on developing Java programs to control devices for robotics and IoT applications. It includes setup instructions for various Raspberry Pi models, remote development using NetBeans, and device support in Java. The book provides practical guidance for programmers looking to leverage Java in the context of Raspberry Pi projects.

Uploaded by

rdglocati
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 47

Java on the Raspberry Pi: Develop Java Programs

to Control Devices for Robotics, IoT, and Beyond


Flurry download

https://ebookmeta.com/product/java-on-the-raspberry-pi-develop-
java-programs-to-control-devices-for-robotics-iot-and-beyond-
flurry/

Download more ebook from https://ebookmeta.com


We believe these products will be a great fit for you. Click
the link to download now, or visit ebookmeta.com
to discover even more!

Real-Time IoT Imaging with Deep Neural Networks: Using


Java on the Raspberry Pi 4 1st Edition Nicolas Modrzyk

https://ebookmeta.com/product/real-time-iot-imaging-with-deep-
neural-networks-using-java-on-the-raspberry-pi-4-1st-edition-
nicolas-modrzyk/

Java: A Beginner's Guide: Create, Compile, and Run Java


Programs Today Herbert Schildt

https://ebookmeta.com/product/java-a-beginners-guide-create-
compile-and-run-java-programs-today-herbert-schildt/

Raspberry Pi IoT In C 2nd Edition Harry Fairhead

https://ebookmeta.com/product/raspberry-pi-iot-in-c-2nd-edition-
harry-fairhead/

Pediatric Hypertension 5th Joseph T Flynn Julie R


Ingelfinger Tammy M Brady Eds

https://ebookmeta.com/product/pediatric-hypertension-5th-joseph-
t-flynn-julie-r-ingelfinger-tammy-m-brady-eds/
House of Music: Raising the Kanneh-Masons 1st Edition
Kadiatu Kanneh-Mason

https://ebookmeta.com/product/house-of-music-raising-the-kanneh-
masons-1st-edition-kadiatu-kanneh-mason/

Wraparound Guide How to Gather Student Voice Build


Community a Wraparound Service Delivery Handbook for
Helping Students Overcome Barriers to Wellness and
Learning Partnerships and Cultivate Hope 1st Edition
Leigh Colburn
https://ebookmeta.com/product/wraparound-guide-how-to-gather-
student-voice-build-community-a-wraparound-service-delivery-
handbook-for-helping-students-overcome-barriers-to-wellness-and-
learning-partnerships-and-cultivate-hope-1st/

Beautiful Monsters: Imagining the Classic in Musical


Media Michael Long

https://ebookmeta.com/product/beautiful-monsters-imagining-the-
classic-in-musical-media-michael-long/

Thinking Through Images Narrative rhythm embodiment and


landscape in the Nordic Bronze Age Tilley Christopher

https://ebookmeta.com/product/thinking-through-images-narrative-
rhythm-embodiment-and-landscape-in-the-nordic-bronze-age-tilley-
christopher/

Rigorous PBL by Design Three Shifts for Developing


Confident and Competent Learners 1st Edition Michael
Mcdowell

https://ebookmeta.com/product/rigorous-pbl-by-design-three-
shifts-for-developing-confident-and-competent-learners-1st-
edition-michael-mcdowell/
Meredith The Guardians Trust 4 1st Edition Beth Linton

https://ebookmeta.com/product/meredith-the-guardians-trust-4-1st-
edition-beth-linton/
TECHNOLOGY IN AC TION™

Java on the
Raspberry Pi
Develop Java Programs to
Control Devices for Robotics,
IoT, and Beyond

Greg Flurry
Java on the
Raspberry Pi
Develop Java Programs
to Control Devices for
Robotics, IoT, and Beyond

Greg Flurry
Java on the Raspberry Pi: Develop Java Programs to Control Devices for
Robotics, IoT, and Beyond

Greg Flurry
Austin, TX, USA

ISBN-13 (pbk): 978-1-4842-7263-3 ISBN-13 (electronic): 978-1-4842-7264-0


https://doi.org/10.1007/978-1-4842-7264-0

Copyright © 2021 by Greg Flurry


This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or
part of the material is concerned, specifically the rights of translation, reprinting, reuse of
illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way,
and transmission or information storage and retrieval, electronic adaptation, computer software,
or by similar or dissimilar methodology now known or hereafter developed.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark
symbol with every occurrence of a trademarked name, logo, or image we use the names, logos,
and images only in an editorial fashion and to the benefit of the trademark owner, with no
intention of infringement of the trademark.
The use in this publication of trade names, trademarks, service marks, and similar terms, even if
they are not identified as such, is not to be taken as an expression of opinion as to whether or not
they are subject to proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of
publication, neither the authors nor the editors nor the publisher can accept any legal
responsibility for any errors or omissions that may be made. The publisher makes no warranty,
express or implied, with respect to the material contained herein.
Managing Director, Apress Media LLC: Welmoed Spahr
Acquisitions Editor: Aaron Black
Development Editor: James Markham
Coordinating Editor: Jessica Vakili
Distributed to the book trade worldwide by Springer Science+Business Media New York, 1 NY
Plaza, New York, NY 10014. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@
springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and
the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc).
SSBM Finance Inc is a Delaware corporation.
For information on translations, please e-mail booktranslations@springernature.com; for
reprint, paperback, or audio rights, please e-mail bookpermissions@springernature.com.
Apress titles may be purchased in bulk for academic, corporate, or promotional use. eBook
versions and licenses are also available for most titles. For more information, reference our Print
and eBook Bulk Sales web page at http://www.apress.com/bulk-sales.
Any source code or other supplementary material referenced by the author in this book is available
to readers on GitHub via the book’s product page, located at www.apress.com/978-­1-­4842-­7263-­3.
For more detailed information, please visit http://www.apress.com/source-­code.
Printed on acid-free paper
To my wonderful wife Sylvia, who endured many months of
a distracted husband who talked about “the book”
whenever he considered it acceptable.
Table of Contents
About the Author������������������������������������������������������������������������������xvii

About the Technical Reviewer�����������������������������������������������������������xix


Acknowledgments�����������������������������������������������������������������������������xxi

Chapter 1: Motivations�������������������������������������������������������������������������1
Why the Raspberry Pi?������������������������������������������������������������������������������������������2
The “Best” Raspberry Pi for Robotics��������������������������������������������������������������4
The “Best” Raspberry Pi for IoT�����������������������������������������������������������������������6
Why Java?�������������������������������������������������������������������������������������������������������������6
Programmer Productivity���������������������������������������������������������������������������������7
Performance��������������������������������������������������������������������������������������������������13
Industry Acceptance��������������������������������������������������������������������������������������13
The Verdict�����������������������������������������������������������������������������������������������������14
Why Remote Development Using NetBeans?������������������������������������������������������15
Why NetBeans?���������������������������������������������������������������������������������������������18
Summary������������������������������������������������������������������������������������������������������������19

Chapter 2: Raspberry Pi 3 Model B+ Setup����������������������������������������21


Setup Considerations������������������������������������������������������������������������������������������21
Choose the Operating System�����������������������������������������������������������������������������22
Load Raspberry Pi OS on the microSD Card�������������������������������������������������������23
Get Raspberry Pi OS��������������������������������������������������������������������������������������23
Image Raspberry Pi OS����������������������������������������������������������������������������������24

v
Table of Contents

Boot and Configure Raspberry Pi OS������������������������������������������������������������������31


Initial Configuration���������������������������������������������������������������������������������������31
Configure Remote Computing�����������������������������������������������������������������������39
Configure the Interface Capabilities��������������������������������������������������������������40
Install Java on Raspberry Pi OS��������������������������������������������������������������������������43
What Java to Install?�������������������������������������������������������������������������������������44
Check for Prior Java Installations������������������������������������������������������������������44
Install the JDK 11������������������������������������������������������������������������������������������46
Finish Java Installation����������������������������������������������������������������������������������46
Finish Pi3 Setup��������������������������������������������������������������������������������������������������47
Summary������������������������������������������������������������������������������������������������������������48

Chapter 3: Raspberry Pi Zero W Setup�����������������������������������������������49


Setup Considerations������������������������������������������������������������������������������������������49
Choose the Operating System�����������������������������������������������������������������������������50
Load Raspberry Pi OS on the microSD Card�������������������������������������������������������50
Write Raspberry Pi OS�����������������������������������������������������������������������������������50
Finish the Bootable microSD Card����������������������������������������������������������������������54
Boot and Configure Raspberry Pi OS������������������������������������������������������������������56
Find the IP Address����������������������������������������������������������������������������������������56
Connect to the Zero���������������������������������������������������������������������������������������57
Update and Upgrade Raspberry Pi OS�����������������������������������������������������������58
Additional Configuration��������������������������������������������������������������������������������58
Configure the Interface Capabilities��������������������������������������������������������������64
Install Java on Raspberry Pi OS��������������������������������������������������������������������������66
What Java to Install?�������������������������������������������������������������������������������������66
Check for Prior Java Installations������������������������������������������������������������������67
Install the JDK 11������������������������������������������������������������������������������������������67
Summary������������������������������������������������������������������������������������������������������������70

vi
Table of Contents

Chapter 4: Set Up the Workstation�����������������������������������������������������71


Remote Computing with SSH������������������������������������������������������������������������������71
Remote Computing with VNC������������������������������������������������������������������������������73
Start the VNC Server��������������������������������������������������������������������������������������73
Get and Start the VNC Viewer������������������������������������������������������������������������74
Tune the VNC Server��������������������������������������������������������������������������������������77
Summary������������������������������������������������������������������������������������������������������������81

Chapter 5: Remote Java Development with NetBeans�����������������������83


Choose NetBeans and Java Versions������������������������������������������������������������������83
Install Java 11�����������������������������������������������������������������������������������������������������84
Install NetBeans 12.0������������������������������������������������������������������������������������������87
Test the NetBeans Installation����������������������������������������������������������������������������90
Configure the Raspberry Pi As a Remote Platform���������������������������������������������95
Test Remote Development��������������������������������������������������������������������������������100
Debug Remotely������������������������������������������������������������������������������������������������102
Fix Remote Debug���������������������������������������������������������������������������������������102
Successful Debug����������������������������������������������������������������������������������������103
Examine Variables While Debugging�����������������������������������������������������������104
The Debugger Menu������������������������������������������������������������������������������������105
Run on the Raspberry Pi Without NetBeans������������������������������������������������������106
Leverage NetBeans in Complex Projects����������������������������������������������������������108
Create and Test Libraries�����������������������������������������������������������������������������109
Use Libraries������������������������������������������������������������������������������������������������113
Choose Which Program to Run from NetBeans�������������������������������������������������117
Run the Chosen Program on the Raspberry Pi Without NetBeans��������������������118
Just Download with NetBeans��������������������������������������������������������������������������119
Summary����������������������������������������������������������������������������������������������������������121

vii
Table of Contents

Chapter 6: Device Support in Java���������������������������������������������������123


Find Base I/O Libraries for Java������������������������������������������������������������������������124
Select the Best Base I/O Library�����������������������������������������������������������������������125
Functional Coverage������������������������������������������������������������������������������������125
Performance������������������������������������������������������������������������������������������������125
Support��������������������������������������������������������������������������������������������������������126
Ease of Use��������������������������������������������������������������������������������������������������127
The Base I/O Choice for This Book��������������������������������������������������������������������128
A Look at pigpioj������������������������������������������������������������������������������������������129
A Look at diozero�����������������������������������������������������������������������������������������130
Evaluating the Choices��������������������������������������������������������������������������������132
The Final Choice – diozero��������������������������������������������������������������������������134
Configure diozero in NetBeans�������������������������������������������������������������������������135
Find (and Port) Device Libraries������������������������������������������������������������������������141
Java Device Library and diozero Base I/O���������������������������������������������������143
Java Device Library and Non-diozero Base I/O�������������������������������������������143
C/C++ Device Library����������������������������������������������������������������������������������144
Python Device Library����������������������������������������������������������������������������������145
No Device Library����������������������������������������������������������������������������������������146
Summary����������������������������������������������������������������������������������������������������������146

Chapter 7: The diozero Base I/O API�������������������������������������������������149


diozero Utilities�������������������������������������������������������������������������������������������������149
Connect Devices to a Raspberry Pi�������������������������������������������������������������������150
diozero SerialDevice�����������������������������������������������������������������������������������������153
Background on Raspberry Pi Serial I/O�������������������������������������������������������153
Constructors������������������������������������������������������������������������������������������������155
Read and Write Methods�����������������������������������������������������������������������������156
Support for Device Identity��������������������������������������������������������������������������157

viii
Table of Contents

diozero I2CDevice���������������������������������������������������������������������������������������������164
Background on Raspberry Pi I2C�����������������������������������������������������������������164
Constructors������������������������������������������������������������������������������������������������167
Read and Write Methods�����������������������������������������������������������������������������168
diozero SpiDevice���������������������������������������������������������������������������������������������170
Background on Raspberry Pi SPI�����������������������������������������������������������������170
Constructors������������������������������������������������������������������������������������������������171
Read and Write Methods�����������������������������������������������������������������������������172
GPIO������������������������������������������������������������������������������������������������������������������173
Background on Raspberry Pi GPIO��������������������������������������������������������������174
diozero GPIO Classes�����������������������������������������������������������������������������������177
Device Library and Application Structure����������������������������������������������������������182
RuntimeIOException������������������������������������������������������������������������������������183
Safety Nets��������������������������������������������������������������������������������������������������184
Safety Net Guidelines����������������������������������������������������������������������������������188
Summary����������������������������������������������������������������������������������������������������������190

Chapter 8: A DC Motor Controller�����������������������������������������������������191


Choose the Device��������������������������������������������������������������������������������������������192
Understand the Device��������������������������������������������������������������������������������������193
Find a Device Library����������������������������������������������������������������������������������������195
Search for Java Libraries�����������������������������������������������������������������������������195
Search for Non-Java Libraries���������������������������������������������������������������������196
And the Answer Is …����������������������������������������������������������������������������������201
Porting Issues���������������������������������������������������������������������������������������������������202
Device Library Interface������������������������������������������������������������������������������202
Device Instances�����������������������������������������������������������������������������������������205
Verbatim vs. Cleansing Port������������������������������������������������������������������������206
Porting Approach�����������������������������������������������������������������������������������������207

ix
Table of Contents

Play with the Device�����������������������������������������������������������������������������������������208


Device Library Development�����������������������������������������������������������������������������209
RoboClaw Class�������������������������������������������������������������������������������������������212
Constructor Analysis and Implementation���������������������������������������������������214
Mid-level Methods Analysis�������������������������������������������������������������������������218
CRC-Related Methods���������������������������������������������������������������������������������218
Low-Level Methods Analysis�����������������������������������������������������������������������220
Mid-level Methods Implementation�������������������������������������������������������������220
Finish the Core��������������������������������������������������������������������������������������������224
Test the Core������������������������������������������������������������������������������������������������226
Complete the Implementation���������������������������������������������������������������������235
Summary����������������������������������������������������������������������������������������������������������246

Chapter 9: An Inertial Measurement Unit�����������������������������������������249


Understand the Device��������������������������������������������������������������������������������������250
Find a Device Library����������������������������������������������������������������������������������������252
A Search for Java Libraries�������������������������������������������������������������������������252
A Search for Non-Java Libraries�����������������������������������������������������������������������254
A Look at the C++ Libraries������������������������������������������������������������������������254
A Look at the C Libraries�����������������������������������������������������������������������������255
And the Answer Is …����������������������������������������������������������������������������������255
Device Library Port��������������������������������������������������������������������������������������������256
Play with the Device (FXAS21002C)������������������������������������������������������������������257
Device Library Development (FXAS21002C)�����������������������������������������������������259
Constructor Analysis and Implementation���������������������������������������������������260
Configuration�����������������������������������������������������������������������������������������������265
Read a Sample��������������������������������������������������������������������������������������������268
Test the Core������������������������������������������������������������������������������������������������271

x
Table of Contents

Additional Thoughts�������������������������������������������������������������������������������������276
Address Zero Offset and Noise��������������������������������������������������������������������291
Get Real�������������������������������������������������������������������������������������������������������302
What Next?��������������������������������������������������������������������������������������������������306
Device Library Development (FXOS8700CQ)�����������������������������������������������������306
Constructor Analysis and Implementation���������������������������������������������������311
Configuration�����������������������������������������������������������������������������������������������313
Read Sample and Status�����������������������������������������������������������������������������316
Test the Core������������������������������������������������������������������������������������������������318
Events Again������������������������������������������������������������������������������������������������323
What Next?��������������������������������������������������������������������������������������������������329
Summary����������������������������������������������������������������������������������������������������������331

Chapter 10: A Lidar Unit�������������������������������������������������������������������333


Understand the Device��������������������������������������������������������������������������������������334
Find a Device Library����������������������������������������������������������������������������������������334
Device Library Design���������������������������������������������������������������������������������������335
Interface������������������������������������������������������������������������������������������������������335
Common Methods���������������������������������������������������������������������������������������337
Other Considerations�����������������������������������������������������������������������������������338
Play with the Device�����������������������������������������������������������������������������������������339
Device Library Development�����������������������������������������������������������������������������342
Development Approach�������������������������������������������������������������������������������342
Lidar Core����������������������������������������������������������������������������������������������������343
Implementation�������������������������������������������������������������������������������������������344
Test the Core������������������������������������������������������������������������������������������������348
Additional Methods��������������������������������������������������������������������������������������352

xi
Table of Contents

Test the Additional Methods������������������������������������������������������������������������356


Additional Thoughts�������������������������������������������������������������������������������������360
What Next?��������������������������������������������������������������������������������������������������������369
Summary����������������������������������������������������������������������������������������������������������369

Chapter 11: An Environmental Sensor����������������������������������������������371


Understand the Device��������������������������������������������������������������������������������������371
Find a Device Library����������������������������������������������������������������������������������������373
Use the diozero BME280�����������������������������������������������������������������������������������376
Play with I2C and SPI����������������������������������������������������������������������������������������381
To the Datasheet������������������������������������������������������������������������������������������382
I2CDevice�����������������������������������������������������������������������������������������������������383
SpiDevice�����������������������������������������������������������������������������������������������������387
A Step Beyond Play�������������������������������������������������������������������������������������392
Summary����������������������������������������������������������������������������������������������������������395

Chapter 12: An Analog-to-Digital Converter�������������������������������������397


Understand the Device��������������������������������������������������������������������������������������398
Finding a Device Library�����������������������������������������������������������������������������������398
Use the diozero McpAdc�����������������������������������������������������������������������������������400
Play with SPI�����������������������������������������������������������������������������������������������������403
Turn Play into Reality����������������������������������������������������������������������������������������408
Summary����������������������������������������������������������������������������������������������������������412

Chapter 13: A Stepper Motor Driver�������������������������������������������������413


Understand the Device��������������������������������������������������������������������������������������413
Find a Device Library����������������������������������������������������������������������������������������416
Search for Non-Java Libraries���������������������������������������������������������������������416
And the Answer Is …����������������������������������������������������������������������������������417

xii
Table of Contents

Device Library Design���������������������������������������������������������������������������������������417


Interface Design������������������������������������������������������������������������������������������418
Device Library Development�����������������������������������������������������������������������������419
Play with the Device������������������������������������������������������������������������������������419
SilentStepStick Implementation������������������������������������������������������������������422
Constructor Implementation������������������������������������������������������������������������423
Test SilentStepStick�������������������������������������������������������������������������������������428
What Next?��������������������������������������������������������������������������������������������������������432
Speed Profiles���������������������������������������������������������������������������������������������437
Summary����������������������������������������������������������������������������������������������������������439

Chapter 14: A Project�����������������������������������������������������������������������441


The Metronome�������������������������������������������������������������������������������������������������441
Mechanical Design��������������������������������������������������������������������������������������������442
Electronic Design����������������������������������������������������������������������������������������������446
Software Design������������������������������������������������������������������������������������������������447
Project Component Testing�������������������������������������������������������������������������������448
Test waitForActive���������������������������������������������������������������������������������������448
Test whenActivated�������������������������������������������������������������������������������������452
Test addListener������������������������������������������������������������������������������������������455
Metronome Development����������������������������������������������������������������������������������458
Go Beyond Initial Requirements������������������������������������������������������������������������463
Get Closer to the Real World�����������������������������������������������������������������������������467
Summary����������������������������������������������������������������������������������������������������������472

xiii
Table of Contents

Appendix A1: Arduino Command Server������������������������������������������473


S
 ome Arduino Background�������������������������������������������������������������������������������474
Choose an Arduino��������������������������������������������������������������������������������������������475
The Command Server Pattern���������������������������������������������������������������������������476
The command_server Sketch���������������������������������������������������������������������������477
command_server File����������������������������������������������������������������������������������480
cmd_executor.h File������������������������������������������������������������������������������������484
cmd_executor file����������������������������������������������������������������������������������������485
Test the Command Server���������������������������������������������������������������������������������487
The Command Server As a “Device”�����������������������������������������������������������������489
Test the “Device” from Raspberry Pi�����������������������������������������������������������������489
Summary����������������������������������������������������������������������������������������������������������492

Appendix A2: Custom Lidar Unit�������������������������������������������������������493


The Hardware Design����������������������������������������������������������������������������������������493
Some Harsh Reality�������������������������������������������������������������������������������������������496
The Lidar Unit Sketch����������������������������������������������������������������������������������������497
cmd_executor.h�������������������������������������������������������������������������������������������499
cmd_executor����������������������������������������������������������������������������������������������499
lidar.h�����������������������������������������������������������������������������������������������������������504
lidar�������������������������������������������������������������������������������������������������������������505
servo.h���������������������������������������������������������������������������������������������������������507
servo������������������������������������������������������������������������������������������������������������509
Test�������������������������������������������������������������������������������������������������������������������512
Lidar Unit “Datasheet”��������������������������������������������������������������������������������������514
Power����������������������������������������������������������������������������������������������������������������514
Interface������������������������������������������������������������������������������������������������������������515
Summary����������������������������������������������������������������������������������������������������������519

xiv
Table of Contents

Appendix A3: NetBeans and Maven��������������������������������������������������521


Create a NetBeans Project Using Maven and diozero���������������������������������������523
Develop a Device Library����������������������������������������������������������������������������������526
Test the Device Library�������������������������������������������������������������������������������������529
Run TestLED with a diozero Remote Provider����������������������������������������������532
Run TestLED on a Raspberry Pi�������������������������������������������������������������������������535
Automate Build, Download, Run������������������������������������������������������������������������542
Summary����������������������������������������������������������������������������������������������������������546

Index�������������������������������������������������������������������������������������������������549

xv
Other documents randomly have
different content
levied upon to provide this modern palace equipped with an
auditorium, a gymnasium, two clubs and a restaurant.
It will doubtless gratify the stockholders in National Banks, whose
money is commandeered to capitalize this leviathan, to know that
their money, or its proceeds, or its earnings, is being used to erect
and equip a veritable Temple of Mammon with all these attendant
luxuries—which they themselves cannot afford in their places of
business!
If you, who read these lines, could commandeer over a hundred
millions of dollars for capital at 6 per cent and could conscript over
$1,800,000,000 of deposits at no per cent you could transact your
business in a palace in the heart of New York with an auditorium and
club rooms and a gymnasium and a restaurant, couldn't you? But as
you can't commandeer your neighbor's capital nor conscript for
nothing the deposits of the public, you find yourselves compelled to
work and to provide the wherewithal for those who can!
You can measure these lavish expenditures for buildings and
equipments and luxuries by any known measure, by volume of
business, or by like buildings for like purposes and it is as clear as
day that these Federal Reserve Palaces are a monument of needless
extravagance and of wanton wastage—pulled off by the ukase of
enthroned bureaucracy spending "other people's money!" That's all
you can make of the Monster's Palaces.

CHAPTER XI
THE MONSTER'S EXPENSES
OU are going now to look over—and not overlook—the most
stupendous, wasteful and exorbitant bank expense account
ever entered on bank ledgers on this earth. You are going to
look at the details of an expense account where the items run by
millions, where expenses have no legal limit and where they are
incurred, paid and audited without any supervisory authority. You
are going to gaze at an expense account where the "sky is the limit."
Take first a look at the New York Federal Reserve Bank's expense
account. That one is the most arrogant, wasteful and prodigal of all
the twelve regional satrapies.
In 1917 the entire salary and wages account of the New York
Federal Reserve Bank was $970,580 and their total loans and
discounts were $399,078,000. Mark that down—salaries and wages
of $970,580 and loans and discounts (which really measure the
business of a bank) of $399,078,000, or $1 of expense to every
$413 of loans and discounts.
On January 25, 1922, the salary and wages account of the New York
Federal Reserve Bank was $4,988,703, with loans and discounts of
$146,526,938, or $1 of expense to every $29 of loans and discounts!
Ask any practical banker, any administrative business man, any
expert accountant or any efficient expert if it is possible to justify
any such expense ratio. One to four hundred and thirteen in 1917
and one to twenty-nine in 1921—fourteen to one raise!
In 1917 there were 12 officers of that bank to administer loans of
$399,078,000. In 1921 there were 40 officers of that bank to
administer loans of $146,526,938. In other words, you get 28 more
officers to administer a business shrunken down over sixty per cent!
In other words, you get over a two hundred per cent increase in
officers to administer a sixty per cent business shrinkage!
And now incidentally the pay of those 40 officers—administering a
sixty per cent shrunken business—amounted to more money than
the salaries of the President of the United States, the Vice President
of the United States, half the United States Senate and the
Governors of twelve American States besides! If that isn't bottomless
bureaucratic greed expressed mathematically, you express it
yourself!
Look further into the depths of this golden pool of New York Federal
Reserve expense plunderbund. You are helping pay it and you are
entitled to scrutinize the salary items. Take 'em as they come.
J. Crane entered the bank at a yearly salary of $1,080 as manager
foreign department and now receives a yearly salary of $7,500, or an
increase of 594 per cent.
A.J. Lins, manager at large, entered the bank at a yearly salary of
$1,500 and now receives a yearly salary of $10,000 or an increase of
566 per cent.
John Raasch, manager supply department, entered the bank at a
yearly salary of $1,000 and now receives a yearly salary of $6,000,
or an increase of 500 per cent.
E.R. Kenzel, deputy governor, entered the bank at a yearly salary of
$4,200 and now receives a yearly salary of $22,000, or an increase
of 423 per cent.
A.W. Gilbart, controller of administrations, entered the bank at a
yearly salary of $2,400 and now receives a yearly salary of $12,500,
or an increase of 420 per cent.
L.R. Rounds, controller of accounts, entered the bank at a yearly
salary of $2,400 and now receives a salary of $12,500, an increase
of 420 per cent.
Chas. H. Coe, manager of the check department, entered the bank
at a yearly salary of $1,500 and now receives a yearly salary of
$7,200, an increase of 380 per cent.
W.B. Matteson entered the bank at a yearly salary of $2,400 and
now receives $10,000, an increase of 316 per cent.
J.D. Higgins, controller of cash, entered the bank at a yearly salary
of $3,000 and now receives a yearly salary of $12,000, an increase
of 300 per cent.
S.S. Vansant, manager discount department, entered the bank at a
yearly salary of $1,500 and now receives a yearly salary of $5,000,
an increase of 233 per cent.
R.M. Gidney, controller at large, entered the bank at a yearly salary
of $4,000 and now receives a yearly salary of $15,000, or an
increase of 275 per cent.
I.W. Waters, manager personal service department, entered the
bank at a yearly salary of $2,250 and now receives a yearly salary of
$7,200, or an increase of 220 per cent.
James Rice, manager government bond department, entered the
bank at a yearly salary of $1,800 and now receives a yearly salary of
$5,500, or an increase of 205 per cent.
L.H. Hendricks entered the bank on a yearly salary of $6,000 and
now receives a yearly salary of $18,000, or an increase of 200 per
cent.
Incidentally Benjamin Strong, the governor of the New York Federal
Reserve Bank, has had his salary increased from $30,000 per year to
$50,000 per year—more than six times the pay of a United States
Senator!
Ask any corporate manager, any practical banker, or any efficiency
expert if they permit, or if they know of any such stupendous salary
increases—increased and maintained in a time of general disaster
and enforced economies. If this isn't strutting bureaucracy running
amuck with public money, what is it?
Take now a look at the total expense account—which you are
helping to pay—of the Federal Reserve System for the year 1921. It
amounted to the stupendous sum of $36,066,065, or an average of
$3,005,500 for each one of the twelve regional satrapies! You can't
measure it—because there is nowhere on earth any other banking
expense account by which to measure it! Like an Andean peak it
towers aloft in solitary splendor. But you can look at some of the
items. Here they are. The New York Federal Reserve Bank heads the
list of extravagance with an expense account of $8,167,780, and the
Minneapolis Federal Reserve Bank was the most modest—and not
any too modest at that—with an expense account of $1,325,867. It
cost you for bank officers' salaries $2,383,994, for clerk hire
$15,201,393, for special officers and watchmen $789,879 and for
"all other" $1,102,984. What that "all other" item of $1,102,984
really is, is deep buried in Federal Reserve archives. When you get
through with bank officers, bank clerks, special officers and
watchmen, you would think that included about all possible bank
employees, but Federal Reserve ingenuity slips over $1,102,984
under the cloak of "all other!"
It cost you $7,750 for Federal Reserve Governors to "confer," $4,443
for Federal Reserve Agents to "confer" and $10,522 for the Federal
Advisory Council—whatever that is—to "confer." "Conferences"—in
bureaucracy—come high, don't they? And it cost you $168,556 to
hold directors' meetings with 173 out of 254 of them living in the
same town where the bank or its branch is located. Traveling
expenses cost you $357,962—some travelers these Federal Reserve
tourists are!
These bureaucratic "expenses" of a parasitical system hooked on to
your banking system are stupendous, titanic, gigantic! They are
indefensible—and undefended too—from any possible standpoint of
efficiency, economy or necessity. Look them over in cold blood. Look
over the stupendous salary raises—both in amounts and in
percentages—in the New York Federal Reserve satrapy and compare
them with any private business on earth. Private stockholders—not
commandeered by law and not chained by act of Congress—would
drive out any such maladministration of extravagance. You know it.
Who is responsible—directly, morally and legally responsible—for this
orgy of Federal Reserve extravagance absolutely unequaled in the
history of the world or in the history of banking? Why, the Federal
Reserve Board at Washington is responsible. What makes them
responsible? Here is the exact language. Read it. "Any compensation
that may be provided by Boards of Directors of Federal Reserve
Banks for directors, officers or employees shall be subject to the
approval of the Federal Reserve Board." That's plain, isn't it? If the
Federal Reserve Board at Washington doesn't "approve" these huge
compensations, they can not be paid. It is the Federal Reserve Board
at Washington—and no other authority on earth—which is
responsible for the greatest orgy of expense ever strapped on the
backs of staggering business. It's their ukase, it's their decree, it's
their order which registers these titanic expenses—every penny of
which is wrung from American producers of wealth! And they are
political appointees—not elected, but appointed. The Federal
Reserve Board at Washington really wields a power greater than any
sceptered monarch ever swayed. At their nod or at their beck every
Federal Reserve employee holds his job, for if they don't "approve"
his "compensation" he can't attach his lips to the public teat with its
golden flow of "compensation!" It's the Federal Reserve Board at
Washington—unsupervised and with legally limitless power—which is
responsible for this Federal Reserve expense orgy.

CHAPTER XII
WHAT THE MONSTER DOES WITH ITS LOOT
HIS chapter is going to be like a tack—short but pointed.
Federal Reserve apologists—on and off the floor of Congress
—when driven into their last retreat always take their final
stand and make their last play in the "franchise tax" stronghold.
Their assertion is in effect that no matter what may be the abuses
and sandbaggeries and extravagances of this system the "big
money" gets back to the Government in the shape of the mythical
"franchise tax." Here is where you get the facts precisely as they
are. What became of the lootage of the Federal Reserve System for
the year 1921 and what proportion of it did your Government get?
The gross takings of the Federal Reserve System—extracted from
American production and industry—amounted to $122,864,605.
That's what it euphoniously calls its "earnings." First there came out
the gigantic expense account, of which you have already read, of
$36,066,065, leaving $86,798,540, which the monster calls its
"current net earnings." There is then added to this $360,856, which
in previous years had been deducted for "depreciation on U.S.
Bonds," which didn't finally "depreciate." There is also added
$131,536 under an "all other" blanket—much favored in the Federal
Reserve System vocabulary. You now have $87,290,932 "current net
earnings." From this are deducted $1,251,675 for "depreciation
allowance on bank premises;" $2,861,500 for "reserve for possible
losses" which probably won't occur; $400,000 "reserve for self
insurance"—whatever that is; $49,295 "reserve for depreciation on
U.S. Bonds"—which probably won't depreciate now that they have
been sandbagged out of the hands of the original purchasers;
$641,237 sandbagged out under the favorite "all other" Federal
Reserve blanket. Here are $5,203,707 gone out in mere bookkeeping
entries with the real money which these entries represent still in
Federal Reserve custody. This leaves $82,087,225. From this is
deducted a petty $6,119,673 dividends paid on the capital
commandeered. From this is deducted $15,993,086 to be added to
the already swollen Federal Reserve Surplus Account. And there is
left just $59,974,466 for the much touted franchise tax.
If you have followed these figures you have seen that in order to get
a petty "franchise tax" of $59,974,466 into the hands of your
Government, it cost you just exactly $62,890,139 to collect it—the
precise difference between the Federal Reserve "earnings" and the
amount paid into the Government. Ask yourself, is a tax of
$59,974,466, which costs $62,896,139 to collect a "painless tax?" Is
there any more painful tax levied on American industry? That's what
this ballyhooed "franchise tax" amounted to in 1921 and all it
amounted to—a tax of $59,974,466, which cost $62,890,139 to
collect!

CHAPTER XIII
THE CAMOUFLAGE OF THE MONSTER
ON'T check your brains at the portals of the Federal Reserve
"Bunking" System. That is what its touters and ballyhooers
want you to do. Federal Reserve bureaucrats and its
beneficiaries and its hirelings and an artfully subsidized press have
really put the "prop" in propaganda.
They would have you believe—and literally hundreds of columns of
inspired writings have been used to make you believe—that the
Federal Reserve System is composed of twelve independent Federal
Reserve Banks, each one especially devoted to fostering industry in
its own regional territory.
Such is not the fact. The fact is that the Federal Reserve System is in
truth a huge Central Bank, managed, manipulated, directed and
operated from Washington by the Federal Reserve Board. There sits
the spider and there the web is woven—spreading all over the U.S.A.
—in which are enmeshed the victims.
You can read—if you want to waste your time—oodles of language
about how the Boards of Directors of these twelve Federal Reserve
Banks are seated in office and how part of them are elected by
member banks and how part of them are appointed by the Federal
Reserve Board. You can—if you want to waste more of your time—
absorb messes of artfully worded verbiage about the duties of the
Boards of Directors. But it's all "gammon and spinach," it's all artful
camouflage. The real government of the Federal Reserve Banking
System and of its twelve Federal Reserve Banks and branches is in
the absolute dictatorial control of the Federal Reserve Board at
Washington. It is all contained in one little joker of just thirty words.
Here it is. Read it. "Any compensation that may be provided by
Boards of Directors of Federal Reserve Banks for directors, officers or
employees shall be subject to the approval of the Federal Reserve
Board." In every one of the twelve Federal Banks every director,
every Governor, every one of the Deputy Governors, Federal Reserve
Agents, Cashiers, Assistant Cashiers, Controllers, Secretary, Counsel,
Assistant Counsel, Clerks, Stenographers, Messengers and
Watchmen—in short, the whole horde of Federal Reserve
bureaucratic parasites—are subject to the approval of the Federal
Reserve Board at Washington because their compensation is subject
to the approval of the Federal Reserve Board. You know that the
hands that hold the money rule the enterprise. You know that
approval or disapproval of compensation is in effect "hiring and
firing." You know that "approval of compensation" is simply a
euphonious bit of language or smoke screen behind which really sits
an enthroned autocracy. No matter how many "conferences" are
held between Governors of Federal Reserve Banks, between Federal
Reserve Agents and with the Federal Advisory Council
—"conferences" which during 1921 cost you $22,716—the Federal
Reserve Board at Washington is the supreme and final dictator of the
personnel and of the pay of its 10,313 employees and of its 231
officers. The Federal Reserve Board as to the compensation of this
horde—and hence as to its personnel—is an absolute autocracy from
whose order there is no appeal! It draws its expense account from a
practically bottomless treasury without let, hindrance, supervision or
veto! Kaiserdom and Czardom in their palmiest days drew from no
such lake of liquid gold as draws the Federal Reserve Board at
Washington. Set that down on your mental tablets and proceed to
the next camouflage station.
Here it is. Federal Reserve propaganda—with a practical limitless
expense account to further it—would have you believe that its
favored coterie of 231 officials are top notch bankers. Take a look at
this as it really is. The bankers whom you know and with whom you
do your business and to whom you entrust your money and from
whom you borrow your money have taken their own money and the
money of their associates and contributed the capital of their banks
and put it at risk. They wager their own money that they are good
bankers. They have initiative and confidence in their own ability and
they prove that they have by putting up their own money before
they ask you to entrust yours to their keeping. The officers of the
Federal Reserve Banks don't put up a copper cent, a plugged nickel,
or a thin dime of capital. The capital which they manipulate is
commandeered by law for their use at a petty six per cent rate. They
may charge—and they have charged—as high as eighty-seven per
cent in one of their Shylockeries, but six per cent is all that those
who furnish the capital can claim. In 1919 the Federal Reserve
System sandbagged out of other people's money a profit of 110 per
cent, in 1920 160 per cent and in 1921 79 per cent. In 1919 its
stockholders received 104 per cent less than their capital really
earned, in 1920 154 per cent less than their capital really earned,
and in 1921 73 per cent less than their capital really earned. For the
three years of 1919, 1920 and 1921 the average net profits of the
Federal Reserve System were 116 per cent and the real owners of
the capital were gypped legally—but none the less gypped—out of
an average of 110 per cent for each of those three years. Do you
suppose that officers of any bank not legally so buttressed could
"get away" with any such proposition? You know they couldn't—and
hold their jobs. No body of stockholders in the U.S.A., unless legally
chained, would endure a profit of 116 per cent and a dividend of but
6 per cent! And no bank officers in the U.S.A., unless legally
permitted, would attempt to "put over" any such proposition. You
know it. Peg that and proceed to the next proposition.
What is the absolute, final and unquestionable test of a good banker,
a real top notcher in his business? It is the volume of deposits which
he attracts. That is the ultimate test of his ability and integrity—the
confidence he inspires in his institution as measured by the volume
of money entrusted to it! That volume of deposits must be obtained,
retained and increased in the face of the hottest kind of hot
competition. It is the absolute ability and integrity meter of a
successful banker. There is no other. Are these strutting, preening,
vociferating and vociferous Federal Reserve bankers measured—or
measurable—by that standard? Do they battle for their deposits and
by those deposits and the volume of them win their spurs? They do
not. Their mass of deposits—the largest on earth—are dumped into
their banks by law, conscripted into their coffers. They are not won
in competition. Federal Reserve bankers don't prove their ability by
competition—they smugly admit it. At this writing over
$1,800,000,000 of deposits are in their coffers, conscripted there as
were soldiers in the World War by law!
And not only that, but that vast mass of deposits—the hugest on
earth—is handed to them free of interest charge. All other banks in
large American cities not only compete with each other for the
deposits of country banks, but pay interest on them at a minimum of
2 per cent per annum. Federal Reserve bankers pay no interest—not
even to the Government. If a National Bank wants Government
deposits it must put up the unquestioned security to get them and
then must pay interest on them, but Federal Reserve bankers do
neither! Not much competition for Federal Reserve bankers there, is
there? Peg that proposition and look at the next one.
Here it is. The loans of a bank are the life of a bank. From the
interest upon them comes practically the sole earnings of a bank and
upon their repayment depends the solvency of a bank. The credit
department of a bank is its solar plexus. Loans must be successfully
made to men engaged in every variety of industry, some secured,
some unsecured and in amounts varying from a few hundreds of
dollars to hundreds of thousands of dollars. In May, 1922, the loans
and discounts of the National City Bank of New York amounted to
$506,840,494—larger by over $200,000,000 than all the "earning
assets" of the Federal Reserve Bank of New York. But there is a
greater difference than even in these figures and here it is. The bulk
of the loans of the Federal Reserve System are made to its member
banks and require very slight, if any, credit ability. The bulk of the
people in the U.S.A. are loaning money to banks—when they make
their deposits—without interest and unsecured, while the Federal
Reserve System is engaged largely in making loans to banks at rates
up to 87 per cent and mostly secured at that! In other words, what
the bulk of the people of the U.S.A. do who are bank depositors is to
loan banks money for nothing or at a very low rate of interest and
unsecured, while the Federal Reserve System loans the banks money
often at altitudinous rates and often secured at that! Or to put it
another way, Federal Reserve bureaucracy draws fabulous profits for
doing practically for the banks what the people of the U.S.A. are
daily doing for nothing!
Sum up some of these differences between National and State Banks
and Federal Reserve parasitism.
National and State bankers put up their own capital and risk their
own money. Federal Reserve bankers commandeer their capital and
risk not a penny of their own.
National bankers make practically over a large term of years about
12 per cent net profits and Federal Reserve bankers make the most
fabulous profits ever registered on bank ledgers—during the three
years last past an average of 116 per cent.
National and State bankers earn their deposits in the hottest kind of
competition. Federal Reserve bankers conscript their deposits—
without a scintilla of effort.
National and State bankers pay interest to the Government for
Government deposits and give security besides. Federal Reserve
bankers pay no interest and give no security for Government
deposits.
National and State bankers pay interest upon deposits of other
banks. Federal Reserve bankers do not pay any interest.
The capital of National Banks is commandeered into the capital of
Federal Reserve Banks at a petty six per cent and their reserve
deposits are conscripted at no per cent and then they are graciously
permitted to borrow their own money at altitudinous rates!
Which are really the better and more necessary bankers—the
National and State bankers or the Federal Reserve System of
parasitical camouflage? Which is the more necessary, the National
and State bankers close to the people, bearing the risk at petty
profits or the Federal Reserve bankers distant from the people
bearing practically no risk but reaping profits which would make
Shylock frenzy with envy?
Isn't the Federal Reserve System as now constituted and as now
administered really a Federal Reserve "Bunking" System astutely
camouflaged, smoke screened by artful propaganda and by legalized
privilege and favoritism? Isn't it in truth and in fact a
commandeering and conscripting monster of finance, politically
manipulated, with the most extravagant salaries, buildings, expense
accounts and the most fabulous profits in all human history?

CHAPTER XIV
FINAL VOLLEY AT THE MONSTER
ET right down to brass tacks and ask yourself these
questions:
No. 1. Do you want a Federal Reserve System managed and
manipulated from Washington by the Federal Reserve Board
composed of political appointees subject to no control, supervision
nor oversight and in effect a mammoth Central Bank?
No. 2. Do you want capital commandeered at 6 per cent by the use
of which are wrung out profits as high as 160 per cent?
No. 3. Do you want deposits—over $1,800,000,000—conscripted at
no per cent loaned out at interest charges as high as 87 per cent?
No. 4. Do you want to permit or allow the coercion or sandbaggery
of non-member State banks by the Federal Reserve System in its
piratical attempts to get its checks collected for nothing? The
Supreme Court of the United States frowns on such sandbaggery. Do
you favor it?
No. 5. Do you want such titanic expense accounts and such
altitudinous salaries paid to favored bank officers?
No. 6. Do you want such an orgy of squandermania in the erection
and equipment of sumptuous palaces of pillage with its auditoriums
and club rooms and gymnasium and restaurant attachments?
No. 7. Do you want to witness, or be victimized by, Debacles of
Drastic Deflation with all the destructions, miseries and disasters in
their wake?
No. 8. Do you want such a Partiality of Pillage whereby parasitical
speculation is coddled and the necessary production of real wealth is
throttled?
No. 9. Do you want such a Croesus-like hoarding of gold—now over
$3,000,000,000—which menaces the world and which deprives you
of even the sight of your own money? And do you like a gold basis
buried so deep that you can't even see, nor get, a stiver of it?
No. 10. Do you want a system where bank credits and bank currency
—the very life blood of production and of commerce—can be
arbitrarily contracted at the mere whim of a coterie of financial
despots?
No. 11. Do you want pawnbrokering interest rates charged and
Shylockery practiced under the aegis of your flag?
And if you do want any or all of these things, do you want the
financial destinies of your estate, of your children or of your
inheritors dependent on the whim—or mayhap on the interests—of
what is in reality earth's most autocratic Money-Bund?
Do you want the prosperity or adversity of the U.S.A.—the greatest
Nation under Jehovah's canopy—summoned at the beck and call of
the real Invisible Empire?
You know that when you hand over the financial government of a
Nation to a parasitical coterie of men you hand over to them the real
Government of a nation and, knowing that, do you want this
autocratic Federal Reserve System continued as it is? In other words,
do you want this parasitical Federal Reserve System—remote from
the producers of real wealth—purely a child of astutely lobbied law
in the interests of a few paltry "kings of finance" to really govern the
United States by governing its money?
Do you want the very height and apex of Special Privilege enthroned
and sceptered governing your Republic? Do you want to continue to
be a Republic in name only, while its real destinies—through a
money monopoly—are guided by coteries of Special Privilegists
strutting under your laws, housed in palaces of splendor paid for by
you and extracting fabulous salaries from your toil? Were
Washington, Jefferson, Jackson and Lincoln all wrong when they
warned you against special privileges and the encroachments of
massed wealth? Do you want unelected and politically appointed
satraps parceling out and administering your Nation in twelve
satrapies? Do you want your Government to continue its abdication
of finance and to continue to be but a mere puppet in the hands of
an organized Money-Bund?
Oughtn't this Federal Reserve "Bunking" System—which has the
U.S.A. buncoed and chloroformed out of its financial independence—
to be curbed, humanized, restrained, limited and governed instead
of devouring the substance of its creators, the people? When the
misbranded "emancipator of credit" becomes the destroyer of credit,
oughtn't the destroyed to emancipate themselves? When an
arrogant creature overrides and oppresses its creators, oughtn't it to
be sternly regulated or destroyed? When you were befooled into
creating the Federal Reserve System, did you create a Frankenstein
monster for your own industrial destruction?
Don't you want this parasite curbed ere it throttles to death the
sturdy tree of American production about which it has entwined its
throttling tentacles? Really, don't you?
End

ZINC! VINEGAR! VITRIOL!


JIM JAM JEMS
Please don't confound JIM JAM JEMS with other magazines that are
aping it in size and general appearance. It is not a joke book, nor a
dream book, nor a slab of fiction. It is just what it is advertised to be
—A Volley of Truth.
You will find more hard, frozen-in facts and facts that you want to
know about matters of public interest in each issue of JIM JAM JEMS
than you will find in any other publication in America.
You cannot afford to miss a single number. Fill in the coupon below
and send it to us with your check for three dollars and you will get
JIM JAM JEMS for a year delivered by mail to your office or home
address.
Don't wait! Join our army of regulars with the next number.

JIM JAM JEMS,


Bismarck, N. Dak.

Gentlemen:

Here's my check for $3.00. Send me JIM JAM


JEMS for a year at the following address:

Name

Street

City State
*** END OF THE PROJECT GUTENBERG EBOOK THE FEDERAL
RESERVE MONSTER ***

Updated editions will replace the previous one—the old editions


will be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States
copyright in these works, so the Foundation (and you!) can copy
and distribute it in the United States without permission and
without paying copyright royalties. Special rules, set forth in the
General Terms of Use part of this license, apply to copying and
distributing Project Gutenberg™ electronic works to protect the
PROJECT GUTENBERG™ concept and trademark. Project
Gutenberg is a registered trademark, and may not be used if
you charge for an eBook, except by following the terms of the
trademark license, including paying royalties for use of the
Project Gutenberg trademark. If you do not charge anything for
copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such
as creation of derivative works, reports, performances and
research. Project Gutenberg eBooks may be modified and
printed and given away—you may do practically ANYTHING in
the United States with eBooks not protected by U.S. copyright
law. Redistribution is subject to the trademark license, especially
commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the


free distribution of electronic works, by using or distributing this
work (or any other work associated in any way with the phrase
“Project Gutenberg”), you agree to comply with all the terms of
the Full Project Gutenberg™ License available with this file or
online at www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand,
agree to and accept all the terms of this license and intellectual
property (trademark/copyright) agreement. If you do not agree
to abide by all the terms of this agreement, you must cease
using and return or destroy all copies of Project Gutenberg™
electronic works in your possession. If you paid a fee for
obtaining a copy of or access to a Project Gutenberg™
electronic work and you do not agree to be bound by the terms
of this agreement, you may obtain a refund from the person or
entity to whom you paid the fee as set forth in paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only


be used on or associated in any way with an electronic work by
people who agree to be bound by the terms of this agreement.
There are a few things that you can do with most Project
Gutenberg™ electronic works even without complying with the
full terms of this agreement. See paragraph 1.C below. There
are a lot of things you can do with Project Gutenberg™
electronic works if you follow the terms of this agreement and
help preserve free future access to Project Gutenberg™
electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright
law in the United States and you are located in the United
States, we do not claim a right to prevent you from copying,
distributing, performing, displaying or creating derivative works
based on the work as long as all references to Project
Gutenberg are removed. Of course, we hope that you will
support the Project Gutenberg™ mission of promoting free
access to electronic works by freely sharing Project Gutenberg™
works in compliance with the terms of this agreement for
keeping the Project Gutenberg™ name associated with the
work. You can easily comply with the terms of this agreement
by keeping this work in the same format with its attached full
Project Gutenberg™ License when you share it without charge
with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside
the United States, check the laws of your country in addition to
the terms of this agreement before downloading, copying,
displaying, performing, distributing or creating derivative works
based on this work or any other Project Gutenberg™ work. The
Foundation makes no representations concerning the copyright
status of any work in any country other than the United States.

1.E. Unless you have removed all references to Project


Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project
Gutenberg™ work (any work on which the phrase “Project
Gutenberg” appears, or with which the phrase “Project
Gutenberg” is associated) is accessed, displayed, performed,
viewed, copied or distributed:

This eBook is for the use of anyone anywhere in the United


States and most other parts of the world at no cost and
with almost no restrictions whatsoever. You may copy it,
give it away or re-use it under the terms of the Project
Gutenberg License included with this eBook or online at
www.gutenberg.org. If you are not located in the United
States, you will have to check the laws of the country
where you are located before using this eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is


derived from texts not protected by U.S. copyright law (does not
contain a notice indicating that it is posted with permission of
the copyright holder), the work can be copied and distributed to
anyone in the United States without paying any fees or charges.
If you are redistributing or providing access to a work with the
phrase “Project Gutenberg” associated with or appearing on the
work, you must comply either with the requirements of
paragraphs 1.E.1 through 1.E.7 or obtain permission for the use
of the work and the Project Gutenberg™ trademark as set forth
in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is


posted with the permission of the copyright holder, your use and
distribution must comply with both paragraphs 1.E.1 through
1.E.7 and any additional terms imposed by the copyright holder.
Additional terms will be linked to the Project Gutenberg™
License for all works posted with the permission of the copyright
holder found at the beginning of this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files
containing a part of this work or any other work associated with
Project Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute


this electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1
with active links or immediate access to the full terms of the
Project Gutenberg™ License.

1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if
you provide access to or distribute copies of a Project
Gutenberg™ work in a format other than “Plain Vanilla ASCII” or
other format used in the official version posted on the official
Project Gutenberg™ website (www.gutenberg.org), you must,
at no additional cost, fee or expense to the user, provide a copy,
a means of exporting a copy, or a means of obtaining a copy
upon request, of the work in its original “Plain Vanilla ASCII” or
other form. Any alternate format must include the full Project
Gutenberg™ License as specified in paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™
works unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or


providing access to or distributing Project Gutenberg™
electronic works provided that:

• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt
that s/he does not agree to the terms of the full Project
Gutenberg™ License. You must require such a user to return or
destroy all copies of the works possessed in a physical medium
and discontinue all use of and all access to other copies of
Project Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project


Gutenberg™ electronic work or group of works on different
terms than are set forth in this agreement, you must obtain
permission in writing from the Project Gutenberg Literary
Archive Foundation, the manager of the Project Gutenberg™
trademark. Contact the Foundation as set forth in Section 3
below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on,
transcribe and proofread works not protected by U.S. copyright
law in creating the Project Gutenberg™ collection. Despite these
efforts, Project Gutenberg™ electronic works, and the medium
on which they may be stored, may contain “Defects,” such as,
but not limited to, incomplete, inaccurate or corrupt data,
transcription errors, a copyright or other intellectual property
infringement, a defective or damaged disk or other medium, a
computer virus, or computer codes that damage or cannot be
read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except


for the “Right of Replacement or Refund” described in
paragraph 1.F.3, the Project Gutenberg Literary Archive
Foundation, the owner of the Project Gutenberg™ trademark,
and any other party distributing a Project Gutenberg™ electronic
work under this agreement, disclaim all liability to you for
damages, costs and expenses, including legal fees. YOU AGREE
THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT
LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT
EXCEPT THOSE PROVIDED IN PARAGRAPH 1.F.3. YOU AGREE
THAT THE FOUNDATION, THE TRADEMARK OWNER, AND ANY
DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE LIABLE
TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL,
PUNITIVE OR INCIDENTAL DAMAGES EVEN IF YOU GIVE
NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of
receiving it, you can receive a refund of the money (if any) you
paid for it by sending a written explanation to the person you
received the work from. If you received the work on a physical
medium, you must return the medium with your written
explanation. The person or entity that provided you with the
defective work may elect to provide a replacement copy in lieu
of a refund. If you received the work electronically, the person
or entity providing it to you may choose to give you a second
opportunity to receive the work electronically in lieu of a refund.
If the second copy is also defective, you may demand a refund
in writing without further opportunities to fix the problem.

1.F.4. Except for the limited right of replacement or refund set


forth in paragraph 1.F.3, this work is provided to you ‘AS-IS’,
WITH NO OTHER WARRANTIES OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of
damages. If any disclaimer or limitation set forth in this
agreement violates the law of the state applicable to this
agreement, the agreement shall be interpreted to make the
maximum disclaimer or limitation permitted by the applicable
state law. The invalidity or unenforceability of any provision of
this agreement shall not void the remaining provisions.

1.F.6. INDEMNITY - You agree to indemnify and hold the


Foundation, the trademark owner, any agent or employee of the
Foundation, anyone providing copies of Project Gutenberg™
electronic works in accordance with this agreement, and any
volunteers associated with the production, promotion and
distribution of Project Gutenberg™ electronic works, harmless
from all liability, costs and expenses, including legal fees, that
arise directly or indirectly from any of the following which you
do or cause to occur: (a) distribution of this or any Project
Gutenberg™ work, (b) alteration, modification, or additions or
deletions to any Project Gutenberg™ work, and (c) any Defect
you cause.

Section 2. Information about the Mission


of Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new
computers. It exists because of the efforts of hundreds of
volunteers and donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project
Gutenberg™’s goals and ensuring that the Project Gutenberg™
collection will remain freely available for generations to come. In
2001, the Project Gutenberg Literary Archive Foundation was
created to provide a secure and permanent future for Project
Gutenberg™ and future generations. To learn more about the
Project Gutenberg Literary Archive Foundation and how your
efforts and donations can help, see Sections 3 and 4 and the
Foundation information page at www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-
profit 501(c)(3) educational corporation organized under the
laws of the state of Mississippi and granted tax exempt status
by the Internal Revenue Service. The Foundation’s EIN or
federal tax identification number is 64-6221541. Contributions
to the Project Gutenberg Literary Archive Foundation are tax
deductible to the full extent permitted by U.S. federal laws and
your state’s laws.

The Foundation’s business office is located at 809 North 1500


West, Salt Lake City, UT 84116, (801) 596-1887. Email contact
links and up to date contact information can be found at the
Foundation’s website and official page at
www.gutenberg.org/contact
Section 4. Information about Donations to
the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission
of increasing the number of public domain and licensed works
that can be freely distributed in machine-readable form
accessible by the widest array of equipment including outdated
equipment. Many small donations ($1 to $5,000) are particularly
important to maintaining tax exempt status with the IRS.

The Foundation is committed to complying with the laws


regulating charities and charitable donations in all 50 states of
the United States. Compliance requirements are not uniform
and it takes a considerable effort, much paperwork and many
fees to meet and keep up with these requirements. We do not
solicit donations in locations where we have not received written
confirmation of compliance. To SEND DONATIONS or determine
the status of compliance for any particular state visit
www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states


where we have not met the solicitation requirements, we know
of no prohibition against accepting unsolicited donations from
donors in such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot


make any statements concerning tax treatment of donations
received from outside the United States. U.S. laws alone swamp
our small staff.

Please check the Project Gutenberg web pages for current


donation methods and addresses. Donations are accepted in a
number of other ways including checks, online payments and

You might also like