User manual
LPCXpresso Experiment Kit - User’s Guide
Page 29
Copyright 2013 © Embedded Artists AB
7 Experiments
This chapter contains the experiments. It is recommended to follow the order of the experiments. It has
been compiled to give you the best learning curve. There are multiple small steps in the experiments
and they build upon each other. Where appropriate, some theoretical discussions have been added.
All experiments are based around the LPCXpresso LPC111x board unless otherwise noted. Both
LPCXpresso LPC1115 and LPC1114 boards are ok to use. Some of the experiments – Ethernet and
USB - at the end of the chapter will use the LPCXpresso LPC1769 board. There is also a separate
section describing the differences between using the LPCXpresso LPC1115/LPC1114 and the
LPC1114 in DIL28 package.
It is recommended to download the LPC111x User’s Manual from NXP and have it handy. This
document is also called UM10398. Many references into this document will be done and this is also
part of the learning – how to find the relevant information in a user’s manual. It is also recommended to
have the schematic available.
It is further recommended to start working with the breadboard, as opposed to start soldering all
components to be pcb. A better time to solder the components is after having completed all the initial,
basic experiments.
7.1 Preparation
One preparation is needed before it is possible to start with the experiments. The LPCXpresso
LPC111x board must be made experiment friendly – a header with female and make connectors shall
be soldered to the LPCXpresso board. See picture below for details. Note that there are two sets (of
two) of similar 27 position headers in the component kit. It is the headers with long pins that shall be
soldered to the LPCXpresso board.
Figure 3 – LPCXpresso Board with Prototype Headers
7.2 Control a LED
In this first experiment you will learn how to control the I/O pins of the LPC111x microcontroller. More
specifically you will learn how to control a LED. This first experiment will have a very detailed
description since it is the first one and there are a lot of things to learn about how to create, compile,
download and debug a program in the LPCXpresso IDE. The level of details in the descriptions will
gradually decrease in later experiments.