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 BitsConclusionRemark On the Pi4J discussion list, someone recently …
-
Reading the temperature, humidity, and pressure from a BME280 Sensor with Java, Pi4J, I2C, SPI, and JBang
In this tutorial, I want to show you how you can read the temperature, humidity, and pressure from a BME280 Sensor.
-
Vert.x Example on the Raspberry Pi with a Virtual Potentiometer
The Raspberry Pi allows us to do a lot of electronic projects without having to wait for ordered components… or even buy them at all… by using virtual components.
Today, I want to show a way to play with a potentiometer. A potentiometer is a three-terminal resistor with a sliding or rotating contact that forms an adjustable voltage divider. If only two terminals are used, one end and the wiper, it acts as a variable resistor or rheostat.
-
Electronics & Micronaut Velocity with Raspberry Pi
In this article we present you with another great example of Java on Raspberry Pi. It shows how to create a Micronaut Velocity demo using an 8×8 LED matrix display.
Both on hardware as software level, you have different possible approaches, but the result is the same… a fun project to learn new software technologies and getting introduced into electronics.
-
Electronics & Quarkus Qute on Raspberry Pi
The “Hello World” version of electronics programming is a blinking LED. But, in this post, we will go a few steps further and control 8 LEDs inside a number display.
Igor De Souza, Dublin based Principal Big Data Consultant at Oracle, set up an interesting experiment in which he combines a LED number display with the Raspberry Pi and Quarkus.
-
Spectacular Java Projects on the Raspberry Pi
Thanks to Twitter and LinkedIn, I’ve been in touch with several developers who are doing cool Java stuff on the Raspberry Pi.
Here I want to share those projects with you, as they can be an inspiration for all of us to get started with Java development on the Raspberry Pi!