knutejohnson.com/pi

Java Programs for the Raspberry Pi

Here are a few programs I have written in Java for the Raspberry Pi. They include a program to set static IP addresses on Pis running Raspbian Jessie, a full screen image viewer and a program to detect motion and capture images with a Raspberry Pi camera.

Javadocs for the complete library are located here and the complete library may be downloaded here. Extract the library file in your ~/bin directory and you can use the included build scripts.

All of these programs require Java 8 but that is already installed on your Raspbian running Pi.

Please direct all questions, comments, suggestions or requests to: pi at knutejohnson dot com.

Intercom

Intercom Program The Intercom program is a simple voice over IP intercom that will send voice data to another copy of the Intercom program.

MotionDetection

MotionDetection Program The MotionDetection program continuously takes images with the Raspberry Pi camera and displays them on the program window. If motion is detected a green dot indicator is displayed in the upper right corner of the screen. The images where motion is detected may be captured to storage or emailed. Also, as in the photo, a composite image may be displayed consisting of the previous image and a set of blue boxes showing where motion was detected in the image.