Java on the Raspberry Pi
eBook - ePub

Java on the Raspberry Pi

Develop Java Programs to Control Devices for Robotics, IoT, and Beyond

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Java on the Raspberry Pi

Develop Java Programs to Control Devices for Robotics, IoT, and Beyond

About this book

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.
WhatYou'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.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Java on the Raspberry Pi by Greg Flurry in PDF and/or ePUB format, as well as other popular books in Computer Science & Hardware. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Apress
Year
2021
Print ISBN
9781484272633
eBook ISBN
9781484272640

Table of contents

  1. Cover
  2. Front Matter
  3. 1.Ā Motivations
  4. 2.Ā Raspberry Pi 3 Model B+ Setup
  5. 3.Ā Raspberry Pi Zero W Setup
  6. 4.Ā Set Up the Workstation
  7. 5.Ā Remote Java Development with NetBeans
  8. 6.Ā Device Support in Java
  9. 7.Ā The diozero Base I/O API
  10. 8.Ā A DC Motor Controller
  11. 9.Ā An Inertial Measurement Unit
  12. 10.Ā A Lidar Unit
  13. 11.Ā An Environmental Sensor
  14. 12.Ā An Analog-to-Digital Converter
  15. 13.Ā A Stepper Motor Driver
  16. 14.Ā A Project
  17. Back Matter