Thursday Dec 03, 2015

Press Your Button for Raspberry Pi

By Guest Blogger Roberto Marquez  

The Raspberry Pi is a great platform for creating your own interactive games.  Recently, I designed an application utilizing an arcade button attached to a GPIO pin.

The game uses Java Standard Edition for Embedded Devices as the implementation platform.  It uses JavaFX APIs and FXML to create the user interface which runs on the screen buffer.  This means no X windowing session is required to run the game on Raspberry Pi.  It also runs on desktops with the latest version of Java 8.

The game is similar to the TV game show ‘Press Your Luck’, but differs in several ways:
  • single or multiplayer (1-3 players)

  • winner is determined by the first player to reach a predetermined score

  • Whammys only remove half the current player's score, and not the whole thing

Here is a video demo:


Here is a wiring diagram of the project:


More assembly instructions and other details are available in the project guide.

Reach out the author:


Wednesday Mar 26, 2014

Hacking with Raspberry Pi and Java

Two new videos about Raspberry Pi GPIO with Java are now available. This hands-on training  is part of the IoT Developer Challenge and will help you to create a winning project to submit. This is a great opportunity to win a trip to JavaOne 2014! Submissions are accepted until May 30, 2014

In the first video, you will learn about the Raspberry Pi set up and the installation of Java SE Embedded and JavaFX. In the second video below, expert Vinicius Senger explains the Raspberry Pi GPIO and protocols as well as how to use the Pi4J project, a set of libraries enabling the access of the Raspberry Pi with Java. Vinicius also gives several demonstrations using a camera, LED lights, buttons and a relay board to connect to appliances. You can download the code of his demonstrations, including Pi4J Helloworld, PiPicture, Twitter4Pi and Lcdl2C

Wednesday Feb 12, 2014

Register today for the Oracle Java ME Embedded MOOC!

By Guest Blogger Tom McGinn 

We are pleased to announce that the Oracle Massive Open Online Course: Develop Java                             Embedded Applications Using a Raspberry Pi is open for enrollment.

The course will start March 31st!

Enroll

Java Embedded leverages your experience with Java to open the world of the Internet of                                     Things by providing direct access to electronic sensors and mechanical devices.

This free course, designed for Java developers, is delivered over 5-weeks. Take the course                                       at your own pace - weekly we will add new lessons, quizzes and homework assignments.

You will work on a real-world application to:

  • Read input data from switches and drive LED's using the GPIO interface
  • Read temperature and barometric pressure from an I2C device
  • Read the device's current location using a GPS UART device
  • Store and manage data collected
  • Report data to a client through a variety of communication options
  • And more!


About

Insider News from the Java Team at Oracle!

duke
Links


Search

Archives
« February 2016
SunMonTueWedThuFriSat
 
1
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
     
       
Today