In this first lesson, you will learn how to set up and configure the Raspberry Pi as a headless embedded development environment. You will learn to:
* Set up the breadboard and Raspberry Pi * Solder the breakout boards to the header pins * Install the Java JDK, Java ME SDK, NetBeans and NetBeans plugins on your Windows PC * Install software on the Raspberry Pi * Write IMlets using threads and timers * Debug IMlets and troubleshoot common problems
We provide video instruction along with written tutorials that guide you through the process. Please watch each video carefully to ensure that you have your system properly set up to complete this lesson. The videos and tutorials are listed sequentially, and we recommend that you use the instructional materials in that order.
As you progress through the materials, you will notice that the Oracle Learning Library adds a green check mark next to each item that you have accessed. This helps you track your progress. Don't hesitate to ask a question in the forum if you hit a snag.
Enjoy!
In this video, see the course goals, objectives, outline, and the project you will be building over the five weeks.
Duration: 5 mins
Type: Video
Released: 10.6 years ago
In this video, you will learn how to install the Oracle Java ME 8 SDK software, the NetBeans IDE and NetBeans plugins for Java ME Embedded 8. Finally, I'll show you how to create a simple test IMlet.
Duration: 14 mins
Released: 10.4 years ago
Intelligent devices are becoming an ever more important and ubiquitous part of our everyday lives. Mobile phones represented the first wave of smaller personal computers. And now, as the price of electronics and processing power continues to fall, there is an intersection between sensors and other electromechanical devices and computers that live on the edge of the Internet: close to the source of the data, processing the data locally and sending just what is required to other computers to consume. This wave of machine-to-machine (M2M) technology, or more broadly, the Internet of Things (IoT), is rapidly shaping the future of computing. Oracle Java Platform, Micro Edition (Java ME) provides Java developers with a direct path to this new market space by using their existing knowledge and skills.
In this tutorial, you prepare a Raspberry Pi to run Java ME Embedded 8, the most current version of Java ME Embedded. The Raspberry Pi is a computer that is about the size of a deck of cards, yet it is capable of running a Linux distribution on its ARM 11 processor. The Raspberry Pi also supports USB, Ethernet, audio, HDMI, and RCA video output. But most importantly, the Raspberry Pi provides a 26-pin header that connects the computer to the outside world, through general-purpose input/output (GPIO) pins that can drive LEDs, read switches and other electronic signals, and connect to a wealth of inter-integrated circuit (I2C) devices, universal asynchronous receiver/transmitter (UART) devices, and more. This header and the Raspberry Pi's low cost is what makes the Raspberry Pi an ideal platform to develop real-world embedded applications with Java ME Embedded.
Duration: 60 mins
Type: OBE
In this video, learn about the contents of the Adafruit accessory kit, how to manage the full-size breadboard, and how to connect the ribbon cable between the Raspberry Pi and the Adafruit cobbler.
Duration: 6 mins
In this video, learn how to solder the header pins on the BMP180 and Adafruit GPS breakout boards.
Duration: 8 mins
In this video, you will learn about the Raspberry Pi and documentation for creating Java ME Embedded applications (IMlets).
Duration: 3 mins
Released: 10.7 years ago
Overview of Java ME Embedded architecture and the Java ME Embedded documentation
Duration: 5.5 mins
In this video, we look at the NetBeans integrated development environment and the write embedded applications (IMlets) using the Windows emulator.
Duration: 9.5 mins
Released: 10.9 years ago
In this video, a continuation of the NetBeans video, we look at how to connect to and run the IMlet we created on the Raspberry Pi.
Released: 10.8 years ago
In this video, you will learn how to use threads to manage long-running tasks in your IMlets.
Duration: 11.5 mins
In this video, we look at an alternative to Java Thread and Runnable using the Timer and TimerTask classes.
Duration: 10.5 mins
In this video, I want to show you a couple of troubleshooting and debugging tips and cover some common errors you may run into while working with Java ME Embedded on the Raspberry Pi.
Duration: 12 mins
In this video, you will see the expected output from the homework exercise you will complete for this week.
Duration: 2.5 mins
Homework 1 document
Type: Readme PDF
Released: 10.2 years ago
External Link
Contains files required for lesson 1
Type: Sample