Pi4J is an ideal way to introduce the Java language into experiments with electronic components.
-
Reading the temperature, humidity, and pressure from a BME280 Sensor with Java, Pi4J, I2C, SPI, and JBang
In this tutorial, I want to show you how you can read the temperature, humidity, and pressure from a BME280 Sensor.
-
Coroutines on the RaspberryPi (Pi4J-Kotlin)
Find out all the details on Pi4J-Kotlin v2.4.0: Coroutines, I2C, and Serial DSL on Foojay.io Today, the place for OpenJDK friends.
-
Controlling a LED strip with Pi4J and JBang
The Raspberry Pi, Pi4J and JBang are a perfect combination to experiment with electronics. Find out more here!
-
Kotlin on the RaspberryPi (Pi4J-Kotlin)
Learn about Pi4J-Kotlin, providing a Kotlin DSL for the already-mature Pi4J V2 API and take full advantage of Kotlin on the RaspberryPi!
-
Pi4J V2.2.0 Released
Pi4J provides friendly object-oriented I/O API and implementation libraries for Java Programmers to access the full I/O capabilities of the Raspberry Pi platform.
-
Blink a LED on Raspberry Pi with Vaadin
Thanks to Vaadin, you can get a fully running application with a few clicks. And Adding GPIO-interaction is easy with the Pi4J library.
-
Controlling Electronics with JBang on the Raspberry Pi
JBang is a great way to create your first program to control electronic components connected to the Raspberry Pi’s GPIO pins.
-
Template to Get Started with Pi4J and JavaFX on Raspberry Pi
How to use the same architecture to implement a JavaFX-based GUI, a PUI attached to a Raspberry Pi, and integrate both in a clean, modular way.
-
Java Modules in the Pi4J Project?
Java modules have been a big discussion point before in many places. And this is now also causing some headaches in the Pi4J project…
-
MQTT on Raspberry Pi (Part 2): Using MQTT and Raspberry Pi to Visualize Sensor Data on a TilesFX Dashboard
In the 2nd part of the series, learn how to use MQTT and the Raspberry Pi to visualize sensor data on a TilesFX dashboard!