Pi4J 46

Pi4J bridges Java and Raspberry Pi hardware. This tag groups posts about GPIO access, hardware demos, architecture changes, release updates, and practical ways to connect Java code to electronics.

Jul 26, 2023 · 6 min

Reading the temperature, humidity, and pressure from a BME280 Sensor with Java, Pi4J, I2C, SPI, and JBang

To make it as easy as possible to get started with Java on the Raspberry Pi to interact with electronic components, I started a new section on the Pi4J website with JBang examples …

#java#pi4j#javaonraspberrypi#jbang
Jun 11, 2023 · 6 min

One Year as a Technical Writer at Azul: A Journey of Growth and Learning.

Writing has always been my passion, and even in my previous jobs as a developer, I stood out as the one who enjoyed creating and maintaining documentation. But June 9th, 2023, …

#java#javafx#javaonraspberrypi#azul
Nov 17, 2022 · 2 min

Shopping list for JavaOnRaspberryPi

After my talk at J-Fall I got the question what is required to get started with #JavaOnRaspberryPi. In my book I list the components that are used, but indeed a short overview was …

#javafx#raspberry-pi#pi4j
Oct 10, 2022 · 1 min

Devoxx Belgium and J-Fall The Netherlands - Links

Links used in my talks at Devoxx 2022 (Antwerp, Belgium) and J-Fall (Ede, The Netherlands).

#java#javafx#raspberry-pi#hivemq
Mar 18, 2022 · 11 min

Blink a LED and read a button state with Vaadin, Spring and Pi4J on a Raspberry Pi

As I’m becoming a senior developer in terms of age, I’ve transitioned from one language to another. One of my main interests has always been clean, easy-to-understand …

#java#raspberry-pi#vaadin#spring
Jan 26, 2022 · 2 min

3D printed Raspberry Pi Arcade box

As part of the Pi4J project, we created an example game with JavaFX and FXGL that uses an Arcade kit with a Joystick and big push buttons. The test setup for this project was …

#3d#raspberry-pi#fxgl#javafx
Dec 10, 2021 · 14 min

HiveMQ Cloud, part 1 - MQTT on Raspberry Pi, Send Sensor Data to HiveMQ Cloud with Java and Pi4J

A few years ago I did my first experiments with an MQTT server (Mosquitto) running on a Raspberry Pi to connect an Arduino and Raspberry Pi for the drumbooth of my son . The full …

#java#raspberry-pi#pi4j#mosquitto
Dec 21, 2020 · 9 min

JVM Advent 2020 - Light up your Christmas lights with Java and Raspberry Pi

Are you a serious Java-developer looking for a fun project? Or want to learn something completely new and use your Java-knowledge to control electronic components? Here we go with …

#java#raspberry-pi#pi4j
Nov 25, 2020 · 2 min

JFXDays presentation - Having fun with Java and JavaFX on the Raspberry Pi

Today I could give my talk “Having fun with Java and JavaFX on the Raspberry Pi” at the JFXDays. Normally this event takes place in Zurich, but this year also went …

#javafx#raspberry-pi#pi4j#gluon
Nov 7, 2020 · 2 min

Devoxx Ukraine presentation - Having fun with Java and JavaFX on the Raspberry Pi

Today I had my first Devoxx talk, after my Java virtual talk a few weeks ago at the “Oracle Groundbreakers APAC Virtual Tour 2020” conference (21/10) ! The event in …

#javafx#raspberry-pi#pi4j#conference
Oct 21, 2020 · 2 min

APACOUC presentation - Java and JavaFX on the Raspberry Pi

Today I had the honor to speak at the “Oracle Groundbreakers APAC Virtual Tour 2020” conference . And of course the title of my talk was “Java and JavaFX on the …

#javafx#raspberry-pi#pi4j#conference
Oct 10, 2020 · 2 min

Using Pi4j (V1) on the Raspberry Pi 4

A topic which comes up from time to time in questions related to Java and the Raspberry Pi, is the support of the 4th version of this board in combination with Pi4J, “the …

#java#raspberry-pi#pi4j#electronics
Sep 5, 2020 · 1 min

Airhacks.fm #104 - Trains, Filmschool, Java on RaspberryPI, Quarkus and MicroProfile

How does a kid who soldered relay boards to drive Lego trains from a Commodore 64 end up running Quarkus on a Raspberry Pi? The thread connects film school in a Brussels castle, …

#podcast#java#raspberry-pi#pi4j
Jun 15, 2020 · 2 min

Joining the Pi4J team

In my book “Getting Started with Java on Raspberry Pi” I dedicated a chapter on Pi4J , the leading framework to combine the power of Java with the hardware capabilities …

#java#pi4j#raspberry-pi
May 28, 2020 · 1 min

The MagPi step-by-step video

In “The MagPi Magazine” #93 and #94 , published by the Raspberry Pi Foundation, you can find two articles which describe how you can get started with Java, Maven, …

#java#maven#pi4j#raspberry-pi
Feb 1, 2020 · 2 min

Raspberry Pi and SPI 8x8 LED matrix example with Java and Pi4j

While looking for a cheap and nice component to demonstrate the use of SPI (Serial Peripheral Interface) I found out this 8x8 matrix LED display on a board with a MAX7219 chip is …

#java#pi4j#raspberry-pi
Jan 26, 2020 · 3 min

OpenWeatherMap forecast on LCD with Raspberry Pi, Java and Pi4J

Pi4J contains helper methods to minimize the work needed to use certain hardware modules on the Pi with Java. As an example, we will be using “GpioLcdDisplay” to …

#java#pi4j#raspberry-pi
Jan 20, 2020 · 3 min

Reactive Spring Flux data from a Pi

Trisha Gee (Coder, blogger, speaker, Developer Advocate at JetBrains, @trisha_gee ), which I interviewed for “Chapter 4: Choosing an IDE”, and Josh Long (Spring …

#java#pi4j#spring#raspberry-pi
May 24, 2019 · 1 min

Pi4J to easily work with the hardware of a Raspberry Pi with Java

What is Pi4J See https://www.pi4j.com/1.2/index.html This project is intended to provide a friendly object-oriented I/O API and implementation libraries for Java Programmers to …

#java#pi4j#raspberry-pi#electronics
May 23, 2019 · 6 min

Pi4J - Adding a REST interface with Spring Boot

As I was learning Spring Boot myself, I thought the easiest way to learn was trying to build an example and write about it. So here we go… :-)

#java#spring#pi4j#rest