Java tutorials, experiments, and real-world projects by Frank Delporte, Java Champion, Technical Writer at Azul, and lead maintainer of Pi4J.

Whether you're running Java on a Raspberry Pi, building desktop UIs with JavaFX, exploring RISC-V single-board computers, or diving into JVM internals — you're in the right place.

Topics: Java, JavaFX, Lottie4J, Pi4J, Java on Single-Board Computers, and much more...

📘 Book: Getting Started with Java on the Raspberry Pi
🎙️ Foojay and other Podcasts
📺 Videos
🗣️ Presentations


HiveMQ Cloud, part 2 - Using MQTT and Raspberry Pi to Visualize Sensor Data on a TilesFX Dashboard

In the previous post we started our discovery of HiveMQ Cloud with Java on the Raspberry Pi. We created an application to send measurements of various sensors to the HiveMQ Cloud MQTT broker. Using an online websocket client we verified the transition of the messages, and could see the data being published to this online message queue.

JavaFX running in kiosk mode on the Raspberry Pi

The Raspberry Pi in combination with an inexpensive touch screen, makes a perfect controller for a machine or game console. Let’s see how we can use Java and JavaFX to build a test application which also communicates with the pins of the Raspberry Pi to control a LED. We have done something before already in the post “Light Up your Christmas Tree with Java and Raspberry Pi”, so what’s new?

Page 17 of 26