Java on Raspberry Pi
In this post, follow an overview of resources with information and examples of Java projects to control electronic components on the Raspberry Pi.
Join the DZone community and get the full member experience.Join For Free
Hello, DZone Community!
This is my first post here: sorry for ignoring this community until now! :-)
Let me quickly introduce myself: My name is Frank Delporte. I live in Belgium, and I started programming when I was 11 years old with a Commodore 64 (yes, that's a long time ago). I started my professional career as a video editor and TV-studio tech lead, turned into a multimedia developer when CD-ROMs and the internet became popular, had a short relationship with C# and Flex, and since +10 years fully focus on Java.
As a hobby project, I like to teach children to program in a CoderDojo club, where I got introduced to the world of Arduino and Raspberry Pi thanks to the other coaches.
The best way to learn is to document and explain to others. That's why I blog on my own site, other sites, and now also on DZone.
Because I wanted to create a touchscreen controller with relays and Arduino-controlled LED strips, I started investigating how this could be achieved with Java and JavaFX. This resulted in a book "Getting Started with Java on the Raspberry Pi."
By writing this book, I got involved in the Pi4J project. This project is intended to provide 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. This project abstracts the low-level native integration and interrupts monitoring to enable Java programmers to focus on implementing their application business logic.
Based on the documentation I created for the Pi4J project and articles for various sites and magazines, I also bundle a lot of information on this topic. For example, the latest contribution shows how you use JBang to run Java code to control electronic components.
This is just a quick overview of the JavaOnRaspberryPi resources I am working on. I plan to add more content here on DZone bundling certain topics. Stay tuned!
Opinions expressed by DZone contributors are their own.