Java on the Raspberry Pi: Develop Java Programs to Control Devices for Robotics, IoT, and Beyond Flurry All Chapters Instant Download
Java on the Raspberry Pi: Develop Java Programs to Control Devices for Robotics, IoT, and Beyond Flurry All Chapters Instant Download
com
https://ebookmeta.com/product/java-on-the-raspberry-pi-
develop-java-programs-to-control-devices-for-robotics-iot-
and-beyond-flurry/
OR CLICK HERE
DOWLOAD NOW
https://ebookmeta.com/product/real-time-iot-imaging-with-deep-neural-
networks-using-java-on-the-raspberry-pi-4-1st-edition-nicolas-modrzyk/
ebookmeta.com
https://ebookmeta.com/product/java-a-beginners-guide-create-compile-
and-run-java-programs-today-herbert-schildt/
ebookmeta.com
https://ebookmeta.com/product/raspberry-pi-iot-in-c-2nd-edition-harry-
fairhead/
ebookmeta.com
https://ebookmeta.com/product/pediatric-hypertension-5th-joseph-t-
flynn-julie-r-ingelfinger-tammy-m-brady-eds/
ebookmeta.com
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/
ebookmeta.com
https://ebookmeta.com/product/beautiful-monsters-imagining-the-
classic-in-musical-media-michael-long/
ebookmeta.com
https://ebookmeta.com/product/thinking-through-images-narrative-
rhythm-embodiment-and-landscape-in-the-nordic-bronze-age-tilley-
christopher/
ebookmeta.com
https://ebookmeta.com/product/meredith-the-guardians-trust-4-1st-
edition-beth-linton/
ebookmeta.com
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
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
v
Table of Contents
vi
Table of Contents
vii
Table of Contents
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
ix
Table of Contents
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
xi
Table of Contents
xii
Table of Contents
xiii
Table of Contents
xiv
Table of Contents
Index�������������������������������������������������������������������������������������������������549
xv
Discovering Diverse Content Through
Random Scribd Documents