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.
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
Reader Comments (7)
We doesn't know what is the real deficiency from this upgrade.
@Judi,
I'm sorry, but I don't understand your comment.
Robert
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
@Juan
sent PM.
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.
@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.
Any news on the topic of a PI4J version for the Beaglebone Black?