Contributions

Contributions are appreciated and used to host this site. Thank You for your support.

Feature Products
  • Raspberry Pi with Java: Programming the Internet of Things (IoT)
    Raspberry Pi with Java: Programming the Internet of Things (IoT)
  • Raspberry Pi 2 Model B Project Board - 1GB RAM - 900 MHz Quad-Core CPU
    Raspberry Pi 2 Model B Project Board - 1GB RAM - 900 MHz Quad-Core CPU
  • Premium Clear Case for Raspberry Pi 2 Model B Quad Core and Raspberry Pi Model B+ (B PLUS)
    Premium Clear Case for Raspberry Pi 2 Model B Quad Core and Raspberry Pi Model B+ (B PLUS)
  • Edimax EW-7811Un 150 Mbps Wireless 11n Nano Size USB Adapter with EZmax Setup Wizard
    Edimax EW-7811Un 150 Mbps Wireless 11n Nano Size USB Adapter with EZmax Setup Wizard
  • Getting Started with Raspberry Pi
    Getting Started with Raspberry Pi
  • Raspberry Pi User Guide
    Raspberry Pi User Guide
  • PiBrella LED Add On Board
    PiBrella LED Add On Board
  • Diversitech® WS-1 - Wet Switch Flood Detector
    Diversitech® WS-1 - Wet Switch Flood Detector
  • Onsite Pro FS1NPTW Whole Home Wireless FloodStop with 1 Inch Valve
    Onsite Pro FS1NPTW Whole Home Wireless FloodStop with 1 Inch Valve
  • Floodstop Washing Machine Valve Shutoff Kit
    Floodstop Washing Machine Valve Shutoff Kit
  • Onsite Pro FS3/4H Washing Machine FloodStop with Straight Valves
    Onsite Pro FS3/4H Washing Machine FloodStop with Straight Valves
  • Floodstop Individual Water Appliance Additional Water Sensor XS-01
    Floodstop Individual Water Appliance Additional Water Sensor XS-01
  • Aqua Managers - FS 1 1/4-NPT - Floodstop for Water Heaters Water Leak Detection System - White - 1.25 in. pipe
    Aqua Managers - FS 1 1/4-NPT - Floodstop for Water Heaters Water Leak Detection System - White - 1.25 in. pipe
  • Furman MP-20 Power Relay Accessory, 20 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
    Furman MP-20 Power Relay Accessory, 20 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
  • Furman MP-15 Power Relay Accessory, 15 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
    Furman MP-15 Power Relay Accessory, 15 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
  • Metra 70-2002 Radio Wiring Harness for Saturn 00-05
    Metra 70-2002 Radio Wiring Harness for Saturn 00-05
  • Metra Reverse Wiring Harness 71-2002 for Select 2000-2005 Saturn Vehicles OEM Radio
    Metra Reverse Wiring Harness 71-2002 for Select 2000-2005 Saturn Vehicles OEM Radio
Tuesday
Mar192013

Raspberry Pi - Pi4J Version 0.0.5 Released!

Pi4J Version 0.0.5 is now released!

Overview

Pi4J Version 0.0.5 is now released and it has been a stable build for quite some time.  Users of previous versions are encouraged to upgrade to this latest build.  This release includes a number of bug fixes (see below), new features, and added support for add-on accessory boards and GPIO expander chips.  This version also introduces a component abstraction layer where interfaces are defined for components such as Relays, Lights, Switches, and LCD displays.     

Documentation and examples can be found at the Pi4J Website:
http://pi4j.com/

Pi4J downloads are available here:
http://pi4j.com/download.html

This version is also available at Maven Central:  

Fixed/resolved issues are included via the link below:

Release notes are included in the readme:


Issue Summary

  • Added support for PCF8574 GpioProvider
  • Added sample code for using PCF8574 GpioProvider
  • Fixed issue where hard-float ABI was not detected properly when using Oracle JDK 8 early access edition.https://github.com/Pi4J/pi4j/issues/26
  • Added support for Motor and Stepper motor component interfaces.
  • Added GPIO based stepper motor implementation and sample program.
  • Added support for Motion sensor component interface.
  • Added GPIO based motion sensor implementation.
  • Added LCD component interface
  • Added GPIO based 4/8 bit LCD display component implementation and sample program.
  • Added GPIO based 4/8 bit LCD WiringPi example program
  • Added support for a GpioController.shutdown() method to cleanup terminate all Pi4J threads and executors.https://github.com/Pi4J/pi4j/issues/9
  • Added support for a user-definable ExecutorServiceFactory to allow user program to provide the implementation for executor service instances and managed thread pools.
    https://github.com/Pi4J/pi4j/issues/10
  • Fixed 'java.util.concurrent.RejectedExecutionException' issue where there were not enough default thread in the pool for concurrent tasks. https://github.com/Pi4J/pi4j/issues/31
  • Fixed issue where SerialDataMonitorThread was not shutting down on program exit. https://github.com/Pi4J/pi4j/issues/33
  • Fixed issue where hard-float ABI was not detected properly when using Oracle JDK 8 early access edition.https://github.com/Pi4J/pi4j/issues/26
  • Added support for exceptions on serial port access methods. https://github.com/Pi4J/pi4j/issues/8
  • Fixed issue where process streams were not being closed properly https://github.com/Pi4J/pi4j/issues/35
  • Fixed issue where serial.write(byte[]) was throwing java.lang.StringIndexOutOfBoundsExceptionhttps://github.com/Pi4J/pi4j/issues/37
  • Added additional system information API methods to access memory, frequency, CPU temperature, voltage, and board model data.https://github.com/Pi4J/pi4j/issues/30
  • Fixed MCP23008 and MCP23017 getState() return values
  • Added support for MCP23S17 GpioProvider
  • Added support for Pi-Face GpioProvider
  • Added support for Pi-Face Device Interface
  • Added MCP23S17GpioExample sample code
  • Added PiFaceExample sample code
  • Added WiringPiSPIExample sample code
  • Added LED component interface and GpioLEDCompoment impl
  • Added GpioSwitchCompoment impl

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (7)

We doesn't know what is the real deficiency from this upgrade.

March 25, 2013 | Unregistered Commenterjudi bola

@Judi,

I'm sorry, but I don't understand your comment.

Robert

March 25, 2013 | Registered CommenterRobert Savage

Hi,

I have just realized the existence of this wonderful software about managing GPIOs of a SBC like the RaspBerry PI. Unfortunately I have not found something so well done like this package for the beaglebone board, that have a lot more of GPIOs than RaspBerry have.

I wonder if the Pi4j can be used with the beaglebone, and if not, if your are planing to make it available for the beaglebone and if not, if you could give me a rough idea of the tasks needed for the adaptation to the beaglebone, and the time that could require.

Have you thought about the power that can be delivered with the pi4j, adapted to some other hardware, together with the jWebSocket related with the internet of things, connecting the real world with the cyberspace through jWebSocket over TCP/IP?. If not, please think about it for a while.

Thanks for your help and for the well done software made public. There is a lot to learn from it, and a lot of things that can be done with it.
Thanks

April 18, 2013 | Unregistered CommenterJuan Franco

@Juan

sent PM.

April 19, 2013 | Registered CommenterRobert Savage

I would like to second Juan's comment, and am curious what the reply was.

I have used Pi4j on the Raspberry Pi and was quite disappointed to find that nothing similar exists for the beaglebone yet.

May 7, 2013 | Unregistered CommenterWilliam

@William,

The response was basically that we would like to and are planning to expand support to other hardware platforms such as the Beaglebone. However, there are a few things that we need to do first to reorganize the project for this expanded goal. So its on the roadmap, but behind a few other higher priority items.

May 7, 2013 | Registered CommenterRobert Savage

Any news on the topic of a PI4J version for the Beaglebone Black?

November 16, 2013 | Unregistered CommenterPeder

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
« Raspberry Pi - Installing Oracle Java Development Kit (JDK 7u40) | Main | Raspberry Pi - Programming Pi-Face with Java & Pi4J »