Java on the Raspberry Pi

  • 5h 11m
  • Greg Flurry
  • Apress
  • 2021

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

In this Book

  • Motivations
  • Raspberry Pi 3 Model B+ Setup
  • Raspberry Pi Zero W Setup
  • Set up the Workstation
  • Remote Java Development with NetBeans
  • Device Support in Java
  • The diozero Base I/O API
  • A DC Motor Controller
  • An Inertial Measurement Unit
  • A Lidar Unit
  • An Environmental Sensor
  • An Analog-to-Digital Converter
  • A Stepper Motor Driver
  • A Project
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.7 of 13 users Rating 4.7 of 13 users (13)
Rating 4.8 of 5 users Rating 4.8 of 5 users (5)