Posts 274

Sep 7, 2020 · 4 min

Why you should learn to program on the Raspberry Pi

In this article “Java vs Python - Which Programming Language Should Programmer Learn First?” by Javin Paul , you can find a comparison between the two most popular …

#java#python#raspberry-pi
Aug 27, 2020 · 7 min

How to install and use Java 11 and JavaFX 11 on Raspberry Pi boards with ARMv6 processor

In a previous post “Installing Java and JavaFX on the Raspberry Pi” , you can read how to install BellSoft LibericaJDK to be able to run JavaFX applications with a …

#javafx#azul#gluon#raspberry-pi
Jul 26, 2020 · 11 min

Comparing a REST H2 Spring versus Quarkus application on Raspberry Pi

Goal of this comparison In my previous post “A Spring REST and H2 database application on the Raspberry Pi” an example was described to store sensors and measurements …

#java#spring#quarkus#raspberry-pi
Jul 13, 2020 · 9 min

A Spring REST and H2 database application on the Raspberry Pi

Java on Raspberry Pi The “Pi” in the name of the Raspberry Pi refers to Python, but as a Java developer I love to know and experiment with the various Java frameworks I …

#java#spring#rest#raspberry-pi
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
May 7, 2020 · 7 min

Getting started with FXGL game development

FXGL is a Java, JavaFX and Kotlin Game Library (Engine) made by Almas Baimagambetov . As my son (almost 10y) challenged me to make a game during my …

#javafx#fxgl
Apr 8, 2020 · 2 min

Installing Java and JavaFX on the Raspberry Pi

One of the most read articles on this blog is about the installation of a recent Java on Raspberry Pi (March 13, 2019) , so it’s time for an update!

#javafx#raspberry-pi
Mar 30, 2020 · 4 min

Drumbooth controller with Raspberry Pi, JavaFX, and Arduino

Based on multiple examples from my book “Getting started with Java on Raspberry Pi” , I created a touchscreen controller for the drum booth of my son. Combined with …

#javafx#raspberry-pi#arduino#serial
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
Dec 18, 2019 · 2 min

Controlling a LED number display with JavaFX and Python on Raspberry Pi

In my book I explain the use of bits and bytes by using a shift register SN74HC595 IC and 5101AS LED number display .

#javafx#raspberry-pi#python#electronics
Dec 5, 2019 · 2 min

Creating a timeline image with JavaFX

To create some timeline images for my book, I created this little JavaFX application to be able to easily update the content and recreate the image. Of course you can do the same …

#javafx
Nov 27, 2019 · 2 min

Calculating resistor value with a JavaFX application

Using the Java library I created (see previous post ), it was a piece of cake to create a JavaFX UI on top of it!

#javafx#maven#electronics
Nov 25, 2019 · 2 min

Resistor color codes and calculations as a Java Maven library

Next step in my book progress, is getting more into the details of hardware components. And as always starting with the smallest most-used ones: resistors! To be able to fully …

#javafx#maven#electronics
Nov 13, 2019 · 2 min

Raspberry Pi history, versions, pins and headers as a Java Maven library

The best way to understand and learn something new, is to document it yourself. That’s what I’m doing in every step for my book-in-progress. And to fully get the …

#java#raspberry-pi#maven#electronics
Nov 7, 2019 · 3 min

Just a thought - Beware of the Partner Acceptance Factor

I first learned about the “WAF” at work during a lunch discussion between engineers, on self-made domotica projects. Apparently the major reason such a project fails or …

Oct 27, 2019 · 2 min

Controlling Arduino with Mosquitto and JavaFX on Raspberry Pi

One of the example applications in my book “Getting started with Java on the Raspberry Pi” combines a JavaFX application with Mosquitto on the Raspberry Pi to control a …

#javafx#arduino#raspberry-pi#mosquitto
Oct 25, 2019 · 3 min

The mystery of the negative byte value in Java

A story of bits, bytes, signed and unsigned Some time ago there was a question on the Pi4J-forum caused by some confusion about a numeric value handled as a byte which was logged …

#java