Experimenting with Java and Electronics on the Raspberry Pi
Java has proven to be a perfect match for the Raspberry Pi, especially with the recent evolutions in the JDK and OpenJFX. The latest Raspberry Pi boards, including the 15 Raspberry Pi Zero 2 W, are great Linux machines to run Java applications on. With its low price but high specifications, Raspberry Pi is opening worlds of new opportunities. In this talk, we ll look at the current state of Pi4J along with some examples, like blinking an LED, sending sensor data to a message broker, running a Spring application, and playing an FXGL (JavaFX gaming engine) game. We ll experiment with Java on a CrowPi to read values from sensors and control other electronic components. We will be using IntelliJ IDEA to write the code, push it to the Raspberry Pi to run the application, and interact with hardware components like an LCD display, LED matrix, buzzer, and so on.
|