Skip to content
@Pi4J

Pi4J

The Pi4J Project

The Pi4J Project

This project is intended to provide a friendly object-oriented I/O API and implementation libraries for Java Programmers to access the full I/O capabilities of the Raspberry Pi platform. This project abstracts the low-level native integration and interrupt monitoring to enable Java programmers to focus on implementing their application business logic.

The original library started in 2012 and was last released in 2021 with versions V1.3 (Java 8) and V1.4 (Java 11). V.2 had its first release in August 2021 and brings a new plugin model that helps to enable third-party development and supports third-party add-ons which may be developed and maintained independently of the core Pi4J project. More info is provided on What’s New in 2.0. As of V2, Pi4J no longer includes support for peripheral devices and add-on chipsets/boards as part of the core project, to be able to provide a stable platform that can easily be tested.

Within this GitHub project, you can find many other repositories, including examples and other Raspberry Pi dedicated Java projects.

Pinned Loading

  1. pi4j-v2 pi4j-v2 Public

    Pi4J Version 2.0

    Java 283 62

  2. pi4j-example-minimal pi4j-example-minimal Public

    Minimal example project showing how to use Pi4J V2 with a digital input and output

    Java 21 21

  3. pi4j-example-crowpi pi4j-example-crowpi Public template

    Pi4J V2 example which introduces you to electronics programming with Java on the Raspberry Pi and CrowPi

    Java 9 10

  4. pi4j-example-devices pi4j-example-devices Public

    Device support project for the TCA9548 (1x8 I2C switch)

    Java 10 8

Repositories

Showing 10 of 31 repositories
  • download Public

    Pi4J APT/PPA Package Repository

    Pi4J/download’s past year of commit activity
    Shell 7 1 0 0 Updated Dec 9, 2024
  • pi4j.github.io Public

    The Pi4J Website

    Pi4J/pi4j.github.io’s past year of commit activity
    HTML 5 21 9 (2 issues need help) 1 Updated Dec 9, 2024
  • pi4j-v2 Public

    Pi4J Version 2.0

    Pi4J/pi4j-v2’s past year of commit activity
    Java 283 Apache-2.0 62 51 (1 issue needs help) 4 Updated Dec 9, 2024
  • pi4j-board-info-service Public

    API service providing Raspberry Pi info

    Pi4J/pi4j-board-info-service’s past year of commit activity
    Java 2 Apache-2.0 1 1 0 Updated Dec 2, 2024
  • pi4j-example-devices Public

    Device support project for the TCA9548 (1x8 I2C switch)

    Pi4J/pi4j-example-devices’s past year of commit activity
    Java 10 8 1 0 Updated Nov 28, 2024
  • pi4j-docker Public

    Pi4J Build Environment Docker Images (java, maven, gcc ARM cross-compilers, etc.)

    Pi4J/pi4j-docker’s past year of commit activity
    Shell 0 1 0 0 Updated Nov 21, 2024
  • pi4j-os Public

    Raspberry Pi OS based with additional tooling for Java development

    Pi4J/pi4j-os’s past year of commit activity
    Java 13 Apache-2.0 0 1 0 Updated Nov 18, 2024
  • pi4j-jbang Public

    JBang examples to get started with Pi4J V2

    Pi4J/pi4j-jbang’s past year of commit activity
    Java 8 Apache-2.0 2 0 0 Updated Nov 13, 2024
  • pi4j-springboot Public

    Pi4J Spring Boot Starter

    Pi4J/pi4j-springboot’s past year of commit activity
    Java 14 Apache-2.0 7 2 0 Updated Oct 29, 2024
  • pi4j-example-minimal Public

    Minimal example project showing how to use Pi4J V2 with a digital input and output

    Pi4J/pi4j-example-minimal’s past year of commit activity
    Java 21 Apache-2.0 21 3 0 Updated Oct 24, 2024