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

Flurry, Greg

商品描述

Use Java to do whatever you want to do with the Raspberry Pi and the devices you need for your project. In theory, it should be possible, and even easy, to work with on the Pi. Unfortunately, reality is a bit different. This book features an extensive set of techniques that allow you to get close to bringing this theory to fruition.
You'll review some limitations on using Java imposed by the Raspberry Pi and Raspberry Pi OS, and even Java itself, and examine which ones might apply to your projects and your devices. You'll also explore solutions to address the limitations and l look at efficient development of Java for the Raspberry Pi.
Java on the Raspberry Pi shows how to interact with a range of devices useful in robotics and IOT, overcoming the hurdles in doing so. It also covers off-loading work from the Raspberry Pi to an Arduino, leveraging its close-to-real time capabilities.
What You'll Learn
  • Develop with Java remotely using NetBeans
  • Leverage available libraries to enable device interaction, and what to do if they don't work
  • Implement multi-processing, using an Arduino as a co-processor
  • Build sophisticated projects with multiple threads of execution, multiple processes, and even multiple systems
Who This Book Is For

Experienced programmers who appreciate the benefits of Java and world class tools for application development and want to build robotics or IOT projects using the low cost, low power, and portability of the Raspberry Pi.

作者簡介

Greg Flurry has worked as a programmer and electronics engineer for IBM. In the span of a 40-year career, his roles have included product development, product architecture, research, and client services. He achieved the title of IBM Distinguished Engineer. Greg has authored over 50 articles in IBM and non-IBM publications on topics ranging from simple programming examples to large scale system architectures. He is an inventor, with over 30 patents. He started programming in Java from the time it became public in 1996, and over time, wrote thousands of lines of Java code. After retirement in 2013, he started working with the Raspberry Pi, with the goal of using it as the brain in autonomous robots. As the robots became more complex, he longed for Java and professional development tools. In 2017, he began using Java on the Raspberry Pi and has done so since, educating himself on the techniques of connecting sundry devices to the Raspberry Pi via Java, as well as identifying techniques useful in building moderately complex robotics systems.