LPC812 MAX Experiment: Overview

/media/uploads/embeddedartists/xpr_max_experiment_350.png

The LPC812 MAX Experiment Kit has been created as a guided tour to learn embedded programming with the mbed framework and the NXP’s LPC800 microcontroller family with Cortex-M0+ core. The experiments are performed on a breadboard for maximum flexibility and ease of use.

The component kit can be bought from Embedded Artists. In order to perform the experiments an LPC812 MAX board is also required. This board must be bought separately.

All experiments are based on the LPC812 MAX board, but the experiments can easily be ported to other mbed platforms.

This page is the starting page for all documentation about the experiments.

Getting Started

As a first step it is recommended to read the Getting Started Tour. It contains information about how to work with the on-line compiler and how to download and execute the code.

Experiments

It is recommended to follow the order of the experiments. They have been compiled to give you the best learning curve. There are often multiple small steps in each experiments and they build upon each other. Where appropriate, shorter theoretical discussions have been added.

These are the experiments:

  1. Digital Outputs
  2. Digital Inputs
  3. Control Multiple LEDs
  4. Work with a Serial Bus - UART
  5. Analog Input
  6. Pulse Width Modulation
  7. 7-Segment Display
  8. Work with a Serial Bus - SPI
  9. Interrupts
  10. Work with a Serial Bus - I2C
  11. Expansion Port - XBee and GPS
  12. Character LCD
  13. Stepping Motor

Component Kit

In this section we will take a closer look at the different components included in the kit.

Note that all components are not used in the experiments, for example the diodes, the NPN transistors and the temperature sensor. These components are left as an exercise to use in own experiments.

The table below contains photos and a description of all components in order to simplify identification. Note that photos are only typical in the sense that they illustrate the components typical visual appearance. Exact appearance can differ for the components in the kit that you have received. The number of components shown in a picture can also differ from delivered quantity.

Most components are specified with a Digikey or Mouser equivalent. If a component gets damaged, a new one can typically be ordered from Digikey, Mouser or any preferred component distributor. The Digikey/Mouser number is just to get the key data of the component. The actual components in the component kit might very well be of different brands.

ComponentDescriptionNote
/media/uploads/embeddedartists/xpr_max_breadboard.jpgBreadboard
http://en.wikipedia.org/wiki/Breadboard
Digikey: 438-1109-ND
Mouser: 854-BB400T
/media/uploads/embeddedartists/xpr_max_cables.jpgCables, male-to-male
http://en.wikipedia.org/wiki/Jump_wire
Prototype cables can be ordered from Embedded Artists web shop in 50 pcs packages (EA-ACC-017).
/media/uploads/embeddedartists/xpr_max_led.jpgLEDs
4 Red
4 Green
4 Yellow
http://en.wikipedia.org/wiki/Led
This component is polarized. One of the two pins is longer than the other. This is the positive side, the anode. There is also a small cut on the side of the plastic package. This is on the short pin side, which is the negative side, the cathode.
Any 5mm LED with Vf around 1.7V (for red LED) and 150mcd at 20mA current will work, for example:
Red LED; Digikey: 1080-1136-ND
Green LED: Digikey: 1080-1059-ND
Yellow LED; Digikey: 1080-1094-ND
/media/uploads/embeddedartists/xpr_max_7-seg.jpg7-segment LED
http://en.wikipedia.org/wiki/7-segment_display
This component is polarized. Pin 1 is in the lower left corner in the picture to the left.
/media/uploads/embeddedartists/xpr_max_transistor.jpgNPN transistor, BC547B
http://en.wikipedia.org/wiki/Bjt_transistor
This component is polarized. One side of the plastic package is flat and the other side is rounded. When mounting this component make sure it is turned correctly.
ON Semiconductor: BC547BRL1G
Digikey: BC547BZL1GOSCT-ND
Mouser: 863-BC547BRL1G

This component is currently not used in any experiment but can for example be used to drive higher current through a LED
/media/uploads/embeddedartists/xpr_max_transistor.jpgPNP transistor, BC557B
http://en.wikipedia.org/wiki/Bjt_transistor
This component is polarized. One side of the plastic package is flat and the other side is rounded. When mounting this component make sure it is turned correctly.
ON Semiconductor: BC557BRL1G
Digikey: BC557BRL1GOSCT-ND
Mouser: 863-BC557BRL1G
/media/uploads/embeddedartists/xpr_max_diode.jpgDiode, 1N4148
http://en.wikipedia.org/wiki/Semiconductor_diode
This component is polarized. One side of the plastic package is flat and the other side is rounded. When mounting this component make sure it is turned correctly.
Diodes Inc.: 1N4148-T
Digikey: 1N4148DICT-ND
Mouser: 621-1N4148-T

This component is currently not used in any experiment.
/media/uploads/embeddedartists/xpr_max_330r.jpgResistor, 330 ohmColor: Orange, Orange, Black, Black
This is not a polarized component.
Yageo: CFR-25JB-52-330R
Digikey: 330QBK-ND
/media/uploads/embeddedartists/xpr_max_10k.jpgResistor, 10KohmColor: Brown, Black, Orange, Black
This is not a polarized component.
Yageo: CFR-25JB-52-10K
Digikey: 10KQBK-ND
/media/uploads/embeddedartists/xpr_max_trimming_pots.jpgTrimming potentiometer, 22 Kohm
http://en.wikipedia.org/wiki/Potentiometer
10Kohm equivalent from Bourns Inc.: 3352E-1-103LF
Digikey: 3352E-103LF-ND
/media/uploads/embeddedartists/xpr_max_photo.jpgPhoto resistor
http://en.wikipedia.org/wiki/Photo_resistor
This is not a polarized component.
Advanced Photonix: PDV-P9002-1
Digikey: PDV-P9002-1-ND
/media/uploads/embeddedartists/xpr_max_1x3pinlist.jpgPin list, 1x3Sullins: PEC03SAAN
Digikey: S1012E-03-ND

This component is currently not used in any experiment but can for example be used to connect to a servo motor (that typically has a 3 pos connector).
/media/uploads/embeddedartists/xpr_max_buzzer.jpgPiezo buzzer
http://en.wikipedia.org/wiki/Buzzer
This component is polarized. One pin is longer than the other. The longer pin is the positive side. The top label also indicates this side with a small plus sign.
CUI Inc.: CEP-2242
Digikey: 102-1115-ND
/media/uploads/embeddedartists/xpr_max_pushbutton.jpgPushbuttons for breadboardThese switches are for breadboard usage. Note that the pins must be cut to suitable length before mounted in the breadboard.
Panasonic: EVQ-11L05R
Digikey: P8079SCT-ND
Mouser: 667-EVQ-11L05R
/media/uploads/embeddedartists/xpr_max_ic_74hc595.jpgShift register, 74HC595
http://en.wikipedia.org/wiki/Shift_register
This component is polarized. There is a cut in one end of the plastic package, on the short side. This indicates where pin 1 is located – lower left side in the picture to the left. When mounting this component make sure it is turned correctly.
NXP: 74HC595N
Digikey: 568-1484-5-ND
Mouser: 771-74HC595N
/media/uploads/embeddedartists/xpr_max_transistor.jpgTemperature sensor, MCP9701This component is polarized. One side of the plastic package is flat and the other side is rounded. When mounting this component make sure it is turned correctly.
Microchip: MCP9701-E/TO
Digikey: MCP9701-E/TO-ND
Mouser: 579-MCP9701-E/TO

This component is currently not used in any experiment.
/media/uploads/embeddedartists/xpr_max_ic_25lc08.jpgSPI flash, 25LC080
http://en.wikipedia.org/wiki/Flash_memory
This component is polarized. There is a cut in one end of the plastic package, on the short side. This indicates where pin 1 is located. When mounting this component, make sure it is turned correctly.
Microchip: 25LC080D-I/P
Digikey: 25LC080D-I/P-ND
Mouser: 579-25LC080D-I/P
/media/uploads/embeddedartists/xpr_max_ic_74hc595.jpgL293D, Step motor driverTexas Instruments: L293DNE
Digikey: 296-9518-5-ND
Mouser: 595-L293DNE
/media/uploads/embeddedartists/xpr_max_step_motor.jpgStep motor, bipolar
http://en.wikipedia.org/wiki/Stepper_motor
Model: 20BY20L033 with 86 ohm winding resistance. Custom designed step motor designed for low-torque, 3.3V applications.
Datasheet: 20BY20L033.pdf
/media/uploads/embeddedartists/xpr_max_lcd.jpg2x16 character LCD with blue backlightTopway: LMB162AFC-2
datasheet: http://www.topwaydisplay.com/Pub/Manual/LMB162AFC-2-Manual-Rev0.1.pdf


Please log in to post comments.