New Live Stream: Experimenting With Java and Electronics on Raspberry Pi
Join the IntelliJ IDEA Live Stream on Wednesday, April 20, at 17:00 CET / 15:00 UTC. Our special guest, Frank Delporte, author of Getting Started with Java on Raspberry Pi, will be giving a presentation entitled Experimenting With Java and Electronics on Raspberry Pi.
Java is a write once, run everywhere kind of language; but is it really possible to run Java everywhere? Even on SBCs? If you thought that Raspberry Pi could only be programmed using Python, come and see just how effective Java can be. The session is for all Java programmers, not just fans of tiny hardware. You can even give yourself a head start by going through the Pi4J project.
Java has proven to be a perfect match for the Raspberry Pi, especially with the recent evolutions in the JDK and OpenJFX. The latest Raspberry Pi boards, including the $15 Raspberry Pi Zero 2 W, are great Linux machines to run Java applications on. With its low price but high specifications, Raspberry Pi is opening worlds of new opportunities.
In this talk, we’ll look at the current state of Pi4J along with some examples, like blinking an LED, sending sensor data to a message broker, running a Spring application, and playing an FXGL (JavaFX gaming engine) game. We’ll experiment with Java on a CrowPi to read values from sensors and control other electronic components. We will be using IntelliJ IDEA to write the code, push it to the Raspberry Pi to run the application, and interact with hardware components like an LCD display, LED matrix, buzzer, and so on.
Our speaker and host will be happy to answer any questions you have about Raspberry Pi or Pi4J. All you need to do is join us live and submit your queries via YouTube chat.
Your presenter and host
Subscribe to Blog updates
Java Best Practices
Good code follows certain rules, and knowing them increases your chances of success. We’d like to share some Java best practices that will help you on your way. We'll cover the must-know tips and tricks, from broad advice on software development to Java- and project-specific know-how. Let's get star…
The New Terminal (Beta) Is Now in JetBrains IDEs
The new terminal (Beta) is now in JetBrains IDEs and will be available in the new UI starting from the 2024.1 version of the IDEs.
‘HelloWorld’ and ‘main()’ meet minimalistic
"Just ignore the terms class, public, static and arg for now; we'll talk about it later". If you have ever mentioned these lines to a new Java student, who is about to execute their first 'HelloWorld' program, know that this is changing. If you are that student, well, congratulations, getting starte…
Easy Hacks: How To Implement Polymorphism in Java
Polymorphism is the ability of an object to take on different forms. In programming, this means that a variable or a method can have different behaviors depending on the type of object it represents. While the term may sound intimidating to beginners, polymorphism is a powerful tool: it helps you re…