Using the Raspberry Pi Sense HAT with Pi4J Drivers
Table of Contents What is the Sense HAT?Why is the Sense HAT So Popular?Java, Education, and the Journey to SpaceWhy Use Pi4J Drivers?Initializing the Sense HATReading Environmental DataUsing the LED MatrixMotion and Orientation DataLearn More with Pi4J ExamplesAn Open Community ...
-
Pi4J Drivers: Simplifying Sensor and Hardware Integration in Java
Table of Contents What is Pi4J Drivers?Pi4J Drivers Reaches Version 1.0.0Why is Pi4J Drivers Important?A Community-Driven Driver EcosystemLearning Through Pi4J ExamplesA Simple ExampleA Hat ExampleConclusionWhen developing Java applications for Raspberry Pi, Pi4J is one of the most popular libraries for …
-
Bringing Raspberry Pi Development to Quarkus with the Quarkus Pi4J Extension
Table of Contents Why Combine Quarkus and Pi4J?What Does the Extension Provide?A Simple ExampleConfiguration Without RecompilationGPIO Injection by Number or NameHealth Checks for Raspberry Pi ApplicationsBuilding Modern IoT ApplicationsPart of the Quarkiverse EcosystemLooking AheadConclusion Java developers building applications for Raspberry …
-
Research: Measuring Energy Consumption in Programming Languages for AI Applications
Decades ago, I contributed to a very interesting project called SunSPOT at SUN Microsystems. It was a small device with wireless connectivity, built-in sensors, running on Java (compatible with runtime 1.6), and powered by battery. It enabled the design of …
-
Pi4J Welcomes Java 21 on the Raspberry Pi
Pi4J provides a friendly object-oriented I/O API and implementation libraries for Java Programmers to access the full I/O capabilities of the Raspberry Pi platform. The project “hides” the complexity to interact with electronic components through different ways of communication (SPI, …
-
Deep dive into bits, bytes, shorts, ints, longs, signed, and unsigned with Java
Table of Contents The Basics: BitsBits to ByteValue Ranges in JavaDifference between Byte, Short, Integer and LongMinimum and maximum values in JavaSigned versus UnsignedUsing MasksUsing Helper MethodsSame Approach for ShortExample use of BitsConclusionRemarkOn the Pi4J discussion list, someone recently asked …
-
Foojay Podcast #55: Embedded Java, Part 2
In this episode #55, we look into the history of the Java Micro Edition and how things evolved.
-
Evolutions in the Pi4J library by Tom Aarts and Robert von Burg
Table of Contents Ongoing I2C ImprovementsPWM Hardware Support on Raspberry Pi 5New Class to Get Board InfoInterview with Robert von BurgInterview Tom AartsConclusionMultiple improvements have been implemented in the new release, V2.6.0 (2024-04-29) of Pi4J, a friendly object-oriented I/O API …
-
Java on Raspberry Pi 5 with Pi4J
Alexander Liggesmeyer contributed a new plugin to Pi4J: GpioDPlugin. As a Pi4J-user, he wanted to run his applications on the Raspberry Pi 5.
-
Controlling LED Strips with Java and JBang
One of the most “fancy” electronic components is definitely… a LED strip. It’s really cool to control a long strip of lights with only a few lines of code.