Java on the Raspberry Pi: Develop Java Programs to Control Devices for Robotics, Iot, and Beyond
暫譯: 在樹莓派上使用 Java:開發 Java 程式以控制機器人、物聯網及其他設備

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.

商品描述(中文翻譯)

使用 Java 來實現您在 Raspberry Pi 上及其所需設備的任何項目。理論上,這應該是可行的,甚至在 Pi 上操作也應該很簡單。不幸的是,現實情況有些不同。本書提供了一套廣泛的技術,幫助您接近將這一理論變為現實。

您將回顧 Raspberry Pi 和 Raspberry Pi OS 以及 Java 本身對使用 Java 的一些限制,並檢視哪些限制可能適用於您的項目和設備。您還將探索解決這些限制的方案,並研究在 Raspberry Pi 上高效開發 Java 的方法。《Java on the Raspberry Pi》展示了如何與在機器人技術和物聯網中有用的各種設備互動,克服實現過程中的障礙。它還涵蓋了如何將工作從 Raspberry Pi 轉移到 Arduino,利用其接近實時的能力。

您將學到的內容:
- 使用 NetBeans 遠程開發 Java
- 利用可用的庫來實現設備互動,以及如果它們無法正常工作該怎麼辦
- 實現多處理,使用 Arduino 作為協處理器
- 構建具有多執行緒、多進程,甚至多系統的複雜項目

本書適合對象:
經驗豐富的程式設計師,他們欣賞 Java 的優勢以及世界級的應用開發工具,並希望利用 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.

作者簡介(中文翻譯)

Greg Flurry 曾在 IBM 擔任程式設計師和電子工程師。在長達 40 年的職業生涯中,他的角色包括產品開發、產品架構、研究和客戶服務。他獲得了 IBM 傑出工程師的稱號。Greg 在 IBM 及非 IBM 的出版物中撰寫了超過 50 篇文章,主題涵蓋從簡單的程式範例到大型系統架構。他是一位發明家,擁有超過 30 項專利。他自 1996 年 Java 公開以來便開始編寫 Java 程式,隨著時間的推移,撰寫了數千行 Java 代碼。2013 年退休後,他開始使用 Raspberry Pi,目標是將其用作自主機器人的大腦。隨著機器人變得越來越複雜,他渴望使用 Java 和專業的開發工具。2017 年,他開始在 Raspberry Pi 上使用 Java,並自此持續進行,學習如何通過 Java 將各種設備連接到 Raspberry Pi,以及識別在構建中等複雜度的機器人系統中有用的技術。