The Pi4J Project now includes support for BananaPi and BananaPro!

113 views
Skip to first unread message

Robert Savage

unread,
Dec 1, 2015, 9:08:08 AM12/1/15
to pi...@googlegroups.com
The Pi4J Project (as of version 1.1) now includes support for BananaPi and BananaPro!   

This support has just recently been added and only cursory tests performed, so lets call it experimental for now, but I welcome you guys to try it out and let me know if you run into any trouble.  You must use the Pi4J v1.1 or later.  You can manually download the JARs in ZIP or the installable .DEB package from this page:
http://pi4j.com/download.html

Support includes Java programatic access and control of GPIO inputs/outputs, PWM, I2C, SPI, and UART (serial).

BananaPi:

BananaPro:

Other notes:  You don't have to install and compile WiringPi/WiringBP separately!  The Pi4J core JAR includes all the native libraries it needs to communicate with the hardware embedded in the JAR.

Thanks,
-Robert Savage

Igor Alves

unread,
Dec 7, 2015, 9:01:30 PM12/7/15
to Pi4J
These are superb news!

Time for explore other gadget families.

Congrats Robert, you are awesome.

Igor

Em terça-feira, 1 de dezembro de 2015 12:08:08 UTC-2, Robert Savage escreveu:
The Pi4J Project now includes support for BananaPi and BananaPro!   

This support has just been added and only cursory tests performed, so lets call it experimental for now, but I welcome you guys to try it out and let me know if you run into any trouble.  You must use the Pi4J v1.1-SNAPSHOT builds until v1.1 gets released.  You can manually download the JARs in ZIP or the installable .DEB package from this page:

http://pi4j.com/download.html

Support includes Java programatic access and control of GPIO inputs/outputs, PWM, I2C, SPI, and UART (serial).

There is no documentation yet specifically for the Banana platforms, but apart from a few subtle differences in configuring a platform and pin/bus addressing, its basically the same.  Perhaps better than documentation ... there are a number of examples (sample code) included in the build and available in the GitHub repo specific to each Banana platform:

BananaPi Examples:
https://github.com/Pi4J/pi4j/tree/develop/pi4j-example/src/main/java/bananapi

BananaPro Examples:
https://github.com/Pi4J/pi4j/tree/develop/pi4j-example/src/main/java/bananapro

Robert Savage

unread,
Jul 27, 2016, 2:48:01 PM7/27/16
to Pi4J
This feature is now available in the latest v1.1 release of Pi4J.

Reply all
Reply to author
Forward
0 new messages