Posts 267

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
Oct 2, 2019 · 2 min

LED number display JavaFX library published on Maven

My very first open source JavaFX library is now available in the Maven repository! A small step for mankind, one giant leap for myself ;-)

#javafx#maven#electronics
Aug 30, 2019 · 2 min

DIY Arduino MIDI instrument

And another summer project got finished… ;-) My sons drum corps teacher triggered me to build an Arduino Midi controller so he could practice his rhythm skills.

#arduino#midi#drum#electronics
Aug 28, 2019 · 2 min

Mission accomplished! The finished drum booth.

As a summer project requires, this project required a summer to get completed ;-) I still need to think about a big (double) door and how to make that one with or without glass. …

#drum#music
Jul 30, 2019 · 2 min

Selecting sound isolation

To work out my box-in-a-box I needed two types of materials: something “fluffy” for the walls, and something “strong” to carry the floor.

#drum#music
Jul 29, 2019 · 1 min

Making a DIY drum booth

What do you get if you combine a drum-playing son and a father who doesn’t like to spend thousands of euros? A DIY drum booth! ;-)

#drum#music
Jun 20, 2019 · 1 min

Quick start Java development with Visual Studio Code

Great move of Microsoft! They provide an all-in-one installer for Java dependencies and Visual Studio Code. Take a look at …

#java
May 24, 2019 · 1 min

Clean Raspberry Pi GPIO testing with the Breadboard Pi Bridge

Some time ago I ordered a “Breadboard Pi Bridge - Pi Ports to Breadboard in Numerical Order” and reworked my Pi test setup from the previous blogs. And it looks really …

#raspberry-pi#electronics