Contributions

Contributions are appreciated and used to host this site. Thank You for your support.

Feature Products
  • Raspberry Pi with Java: Programming the Internet of Things (IoT)
    Raspberry Pi with Java: Programming the Internet of Things (IoT)
  • Raspberry Pi 2 Model B Project Board - 1GB RAM - 900 MHz Quad-Core CPU
    Raspberry Pi 2 Model B Project Board - 1GB RAM - 900 MHz Quad-Core CPU
  • Premium Clear Case for Raspberry Pi 2 Model B Quad Core and Raspberry Pi Model B+ (B PLUS)
    Premium Clear Case for Raspberry Pi 2 Model B Quad Core and Raspberry Pi Model B+ (B PLUS)
  • Edimax EW-7811Un 150 Mbps Wireless 11n Nano Size USB Adapter with EZmax Setup Wizard
    Edimax EW-7811Un 150 Mbps Wireless 11n Nano Size USB Adapter with EZmax Setup Wizard
  • Getting Started with Raspberry Pi
    Getting Started with Raspberry Pi
  • Raspberry Pi User Guide
    Raspberry Pi User Guide
  • PiBrella LED Add On Board
    PiBrella LED Add On Board
  • Diversitech® WS-1 - Wet Switch Flood Detector
    Diversitech® WS-1 - Wet Switch Flood Detector
  • Onsite Pro FS1NPTW Whole Home Wireless FloodStop with 1 Inch Valve
    Onsite Pro FS1NPTW Whole Home Wireless FloodStop with 1 Inch Valve
  • Floodstop Washing Machine Valve Shutoff Kit
    Floodstop Washing Machine Valve Shutoff Kit
  • Onsite Pro FS3/4H Washing Machine FloodStop with Straight Valves
    Onsite Pro FS3/4H Washing Machine FloodStop with Straight Valves
  • Floodstop Individual Water Appliance Additional Water Sensor XS-01
    Floodstop Individual Water Appliance Additional Water Sensor XS-01
  • Aqua Managers - FS 1 1/4-NPT - Floodstop for Water Heaters Water Leak Detection System - White - 1.25 in. pipe
    Aqua Managers - FS 1 1/4-NPT - Floodstop for Water Heaters Water Leak Detection System - White - 1.25 in. pipe
  • Furman MP-20 Power Relay Accessory, 20 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
    Furman MP-20 Power Relay Accessory, 20 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
  • Furman MP-15 Power Relay Accessory, 15 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
    Furman MP-15 Power Relay Accessory, 15 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
  • Metra 70-2002 Radio Wiring Harness for Saturn 00-05
    Metra 70-2002 Radio Wiring Harness for Saturn 00-05
  • Metra Reverse Wiring Harness 71-2002 for Select 2000-2005 Saturn Vehicles OEM Radio
    Metra Reverse Wiring Harness 71-2002 for Select 2000-2005 Saturn Vehicles OEM Radio
Tuesday
Sep302014

Teaching Kids to Program Things with Java and the Raspberry Pi

I just attended a talk at JavaOne (2014) titled "Teaching Kids to Program Things with Java and the Raspberry Pi" where I learned about the BlueJ project created by the University of Kent and its efforts to integrate with Pi4J and the Raspberry Pi.  

BlueJ is a lightweight Java IDE designed for beginners and includes all the basic functionality to get started programming including a code editor, compiling, executing and debugging capabilities.  
 
The idea is to install and use the BlueJ IDE directly on the Raspberry Pi to create Java programs that can run on the Pi and control things using the GPIO (via the Pi4J libraries).  Running the IDE directly on the Pi greatly simlpifies the learning curve to get started and reduces what would typically be a bunch of command line shell interation to simple clean user interfaces point and click activities.  
 
The talk was hosted by Ian Utting and Fabio Hedayioglu from the University of Kent and they provided a nice overview of the two leading development approaches using the Raspberry Pi and the challenges faced by the project to build the IDE targeted at the Raspberry Pi platform.  It was a great talk and introduction to BlueJ on the RaspberryPi.
 
 
Learn more about BlueJ on the Raspberry Pi here:
 
Below are a few of the key slides from the presentation. (Click image to enlarge)
 
  
 

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (3)

Hello, Robert Savage,
I came across your list of articles and suggestions by chance, looking at the raspihub for some help.
I wish to learn programming together with our grandchildren (11+), have read about the Raspi and know a bit about the arduino and the duinov3 - now would like to connect any of those small pcs to my Macair in order to have a keyboard and a screen at hand.
My question: Is there a way to connect the Paspi or any of the other to my laptop in order to program, run Scratch, try to make Legorobots move etc. etc.?
Looking forward to hearing from you, if possible please send an email which makes it easier to find your posts....
Many thanks, kind regards,
Hans

October 1, 2014 | Unregistered CommenterHans Schwarze

Hello Hans,

The Raspberry Pi is intended to connect (via HDMI cable) directly to your TV or monitor rather than to your laptop. Additionally you would need a USB keyboard and mouse to connect to the Pi to interact with the system. You may want to start over at the Raspberry Pi foundation's website and follow the getting started guide to help you identify all the steps: http://www.raspberrypi.org/help/quick-start-guide/

Ove you have the system booted, you can run Scratch directly on the Pi via the keyboard and mouse.

Thanks, Robert

October 8, 2014 | Registered CommenterRobert Savage

Hello Robert

We want to measure distance by using PI4J ultrasonic sensor (ultrasonic distance sensor). I can do that comfortably with "Pulseln" which is used on Ardunio but i need to do that with PI4J. Is there any similar example or function?

October 13, 2014 | Unregistered Commenteryusuf

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
« Pi4J @ Devoxx 2014 | Main | Raspberry Pi - Power up using POE (Power Over Ethernet) »