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 RELEASE CANDIDATE for Version 1.0 is now available. Please report any defects/bugs that you find in the release candidate builds via GitHub. No new features or enhancements will be added to the release candidate version, only bug fixes. Further enhancements and features will now be contributed in the 1.1-SNAPSHOT builds. (The release candidate codebase is now maintained in the 'master' branch.)
The 1.1-SNAPSHOT build includes a completely overhauled Serial communication implementation and API. Thus please note that to add these enhancements some APIs required breaking changes where they may no longer be backwards compatible with prior versions. (The latest development codebase is now maintained in the 'develop' branch.)
Please note that this project is continually under development but has been very stable for well over a year. The functionality is very stable but improvements and bug fixes are continually committed into the 'develop' branch in the Pi4J GitHub repository.
You are welcome to start using and integrating this library in your project. Please provide any feedback good, bad or ugly. (Well maybe keep the ugly feedback to a minimum.)
Visit the Downloads page to download the latest Pi4J library builds.
The simplest method to install Pi4J on your RaspberryPi is to execute the following command directly on your RaspberryPi.
curl -s get.pi4j.com | sudo bash
To get started using the Pi4J library, please see the following pages: