An introduction to Java programming for the Raspberry Pi
- Free tutorial
- Rating: 4.0 out of 54.0 (24 ratings)
- 1,704 students
- 41min of on-demand video
- Created by Frank Delporte
English
What you’ll learn
- Build a JavaFX application on PC
- Instal Java and other tools on the Raspberry Pi
- Interact with electronic components on the Raspberry Pi with Java
- Run a JavaFX application on a Raspberry PI
Requirements
- (Limited) knowledge of Java and an IDE
- (Limited) knowledge of Raspberry Pi, GPIO’s, attaching a LED and button
Description
In this course I want to give you a quick getting-started with Java 11 and JavaFX 11 (and newer) on the Raspberry Pi.
It’s definitely not a full course on Java and JavaFX (there are already a lot of very good ones here on Udemy), but a guide to what you need to get a recent Java running on a Pi and to be able to control the GPIO’s via Java and show it in a nice dashboard-like JavaFX application.
Who this course is for:
- Anyone interested in Java, JavaFX, User Interfaces, Raspberry Pi,…
Course content
9 sections • 27 lectures • 43m total lengthCollapse all sections
Introduction1 lecture • 1min
- Introduction00:44
Setting up our Raspberry Pi4 lectures • 4min
- Hardware setup01:16
- Tip! Easily make a test setup with the RasPiO “Breadboard Pi Bridge”00:15
- Preparing the SD card01:52
- Set up your own testing environment using a Pi and the SD card we created.00:20
Installing Java 11 on a Pi5 lectures • 8min
- About Java and the version we are using in this course01:58
- What do we need?00:26
- Step-by-step03:48
- A minimal Java script to run on our Pi00:10
- Run a minimal Java script on the Pi without compiling01:47
Creating a minimal Java FX application on the PC2 lectures • 8min
- Let’s start programming!00:23
- How to build the application on a PC with Visual Studio Code07:27
Running the minimal Java FX application on the Pi1 lecture • 2min
- How to download and run the minimal JavaFX application on the Pi02:21
Attach some hardware to the Pi3 lectures • 3min
- Wiring of a LED and button for our experiment01:06
- Wiring Pi00:07
- Testing the connections via the terminal on the Pi01:47
Building a Tiles FX application on the PC4 lectures • 9min
- Sources on GitHub00:24
- Sources as download00:07
- What is TilesFX?00:53
- A look into the code on PC with Visual Studio Code07:55
Running the Tiles FX application on the Pi6 lectures • 8min
- Clone the project from GitHub to the Pi00:24
- Let’s first try HelloGpio.java01:31
- Why we need to install TilesFX first00:33
- Script to install the TilesFX library on the Pi00:16
- How to install TilesFX02:57
- Run our application on the Pi01:50
Conclusion1 lecture • 1min
- Conclusion00:40