In lesson 2 you will learn how to access General Purpose Input/Output (GPIO) and Inter-integrated circuits (I2C). You will learn to:
* Open a GPIO Pin for reading or writing * Differentiate between a GPIO Pin and port * Use a GPIO pin to read a change in a switch and turn an LED on and off * Determine the value of a resistor needed for an LED * Differentiate between pull-up and pull-down circuits * Open and I2C device for reading and writing
Hardware for this lesson is described in the homework.
In this video, see the various pieces of hardware that are part of the MOOC "kit".
Duration: 11 mins
Type: Video
Released: 10.6 years ago
In this video, we look at how to write code with Java ME Embedded 8 to access the general purpose input/output (GPIO) pins and ports.
Duration: 10 mins
In this video, the second half of Getting Started with GPIO, see how to write the code to turn and LED on and off again. This example will help you perform the first homework for this lesson.
Duration: 5 mins
In this video, see how to wire a circuit that combines reading a switch and driving two LED's to represent a door switch in our Container project.
Duration: 9.5 mins
In this video, get an overview of the first homework exercise for this lesson, the door project.
Released: 10.5 years ago
In this video, you will learn how to calculate the size of resistor used with an LED, read the stripes on a resistor to determine its value, use a resistor in a pull-down circuit and determine how which trigger to use when configuring a GPIO pin.
Duration: 9 mins
In this video, learn how the Java ME Embedded Security model works, and how to request specific access to resources through NetBeans.
Duration: 8 mins
Released: 10.4 years ago
In this video, learn how the inter-integrated circuit protocol works and why this simple bus protocol opens up the world for embedded application developers.
Duration: 8.5 mins
In this video, learn how to configure the Raspberry Pi to support reading and writing to I2C devices.
Duration: 7 mins
In this video, part 1 of 2, learn about the Bosch Barometric Pressure/Temperature I2C sensor.
Duration: 4.5 mins
In this video, part 2 of 2, learn how to write the code for the Bosch Barometric Pressure/Temperature I2C sensor, and see the code run on the Raspberry Pi.
Homework 2 - GPIO and I2C
Type: Readme PDF
Released: 10.2 years ago
External Link
Contains files required for lesson 2
Type: Sample