2024-04-18, by Frank Delporte
Roberto Marquez shared a project with us that uses Java to interface with a MAX7219 SPI device to control an LED matrix. It’s inspired by the blog Raspberry Pi and SPI 8×8 LED matrix example with Java and Pi4j, but differs in that it is Web-enabled via Spring Boot. This project is the starting point to create a weather station in combination with the BMP280, see BME280 Sensor (temp, humidity, pressure) via Pi4J, I2C, and JBang.
While working on his project, Roberto contributed extra LED character definitions for the Pi4JLedMatrixSpi.java single-file application in the Pi4J V2 JBang project.
This demo project uses:
Connections:
Check the README in the project sources of Roberto for more info.