In lesson 3 you will learn how to access peripheral devices that use Universal Asynchronous Receiver/Transmitter (UART) protocol. You will learn to:
* Configure the Raspberry Pi to allow access to the UART chip * Read NMEA sentences (messages) from the Adafruit GPS device * Parse comma-separated strings using Java ME Embedded * Store data read from the GPS device into the Record Management Store (RMS) * Use File I/O on the Raspberry Pi as an alternative persistence mechanism * Use the Raspberry Pi to automatically load and start the AMS and Midlets
Hardware for this lesson is described in the homework.
External Link
In this video, we look at the Universal Asynchronous Receiver and Transmitter (UART) protocol.
Duration: 11 mins
Type: Video
Released: 10.6 years ago
In this video, we look at how a global positioning system (GPS) system works, the protocol of messages sent from GPS satellites, and how we can use the data in Java ME on our embedded device.
Duration: 20 mins
In this video, we look at how to wire the GPS (Adafruit) sensor using the USB to Serial TTL adapter and directly to the GPIO header on the Raspberry Pi. We will also look at what changes we need to make to the Raspberry Pi configuration to allow us to use the GPS device as a serial device.
In this video, we will look at how to read and format the data coming from the GPS serial device, using the Generic Connection Framework (GCF).
Duration: 8 mins
In this video, we will look at how to save the data coming from the GPS device (and the other devices in our embedded application) into the record management store (RMS).
Duration: 10 mins
In this video, we will look at an alternative to RMS, persisting the data we collect from the devices in out embedded application using the local file system provided by the operating system of our Raspberry Pi.
Duration: 6 mins
In this video, we are going to look how to start the IMlets (Midlets) for our embedded application when the Raspberry Pi powers up and boots.
In this video, look at an alternative to File I/O using the NIO File package, new in Java ME Embedded 8.
Released: 10.3 years ago
Homework 3: UART GPS and RMS
Type: Readme PDF
Released: 10.2 years ago
Contains files required for lesson 3
Type: Sample