mbed NXP LPC11U24

Order and mbed Microcontroller

Rapid Prototyping for USB devices, battery applications and low-cost 32-bit ARM® Cortex™-M0 based designs

mbed NXP LPC11U24


The mbed Microcontrollers are a series of ARM microcontroller development boards designed for rapid prototyping.

The mbed NXP LPC11U24 Microcontroller in particular is designed for prototyping low cost USB devices, battery powered applications and 32-bit ARM® Cortex™-M0 based designs. It is packaged as a small DIP form-factor for prototyping with through-hole PCBs, stripboard and breadboard, and includes a built-in USB FLASH programmer.


The mbed Microcontrollers provide experienced embedded developers a powerful and productive platform for building proof-of-concepts. For developers new to 32-bit microcontrollers, mbed provides an accessible prototyping solution to get projects built with the backing of libraries, resources and support shared in the mbed community.


  • NXP LPC11U24 MCU
    • Low power ARM® Cortex™-M0 Core
    • 48MHz, 8KB RAM, 32KB FLASH
    • USB Device, 2xSPI, I2C , UART, 6xADC, GPIO
  • Prototyping form-factor
    • 40-pin 0.1" pitch DIP package, 54x26mm
    • 5V USB, 4.5-9V supply or 2.4-3.3V battery
    • Built-in USB drag 'n' drop FLASH programmer
  • mbed.org Developer Website
    • Lightweight Online Compiler
    • High level C/C++ SDK
    • Cookbook of published libraries and projects

Tools and Software

The mbed Microcontrollers are all supported by the mbed.org developer website, including a lightweight Online Compiler for instant access to your working environment on Windows, Linux or Mac OS X.

Also included is a C/C++ SDK for productive high-level programming of peripherals. Combined with the wealth of libraries and code examples being published by the mbed community, the platform provides a productive environment for getting things done.


The mbed NXP LPC11U24 Microcontroller is particularly great for building USB devices. Here are some examples:


USBMouse example

#include "mbed.h"
#include "USBMouse.h"

USBMouse mouse;

int main() {
    int16_t x = 0;
    int16_t y = 0;
    int32_t radius = 10;
    int32_t angle = 0;

    while (1) {
        x = cos((double)angle*3.14/180.0)*radius;
        y = sin((double)angle*3.14/180.0)*radius;
        mouse.move(x, y);
        angle += 3;

You can find more USB examples on our USBDevice page

The mbed NXP LPC11U24 is also good for prototyping low-power applications. Here the LPC11U24 is put to sleep and woken up by a button to increment and update a display before returning to sleep. The board is running off two AA's cells and drops to couple of milliamps when not is use.

Simple deepsleep and interrupt wakeup example

#include "mbed.h"
#include "TextLCD.h"

TextLCD lcd(p21, p23, p24, p25, p26, p27);
InterruptIn wakeup(p14);

int i = 0;

void count() {
    lcd.locate (0,1);

int main () {
    wakeup.rise(NULL);  // Setup rising edge interrupt (no handler function needed)

    lcd.printf("Hello World!");

    while (1) {
        deepsleep();  // Deep sleep until external interrupt
        count();      // We've come out of sleep due to interrupt, so count!

For both sleep() and deepsleep(), all state is retained so you can see it is a nice simple programming model. Should be great for quickly prototyping some things that need to run off batteries.


Schematics and Data Sheets

mbed NXP LPC11U24 Microcontroller


See also


08 Dec 2011

Hi Simon,

Please give the price for it. Also what about already existing user who have an account with LPC1768 mbed and want to buy only the pure hardware of mbed M0 and re use the existed account it will be any discount?

Kind Regards, Stas

08 Dec 2011

Hi Stas,

It will be a bit cheaper than the mbed NXP LPC1768. You should see it as about $45-49 by the time it ends up in distributors, but obviously we aim to give you more value than just the physical board through all the tools and website effort! The mbed NXP LPC11U24 will come with a license key for the LPC11U24 tools, which you can add to your existing user account so you can develop for both targets. If fact, much of the time, the same code should compile for both just by switching the drop down.

Hope you'll like it!


08 Dec 2011

OK, but what about the second mbed M0 if I will obtain it will be cost again the same amount?


16 Dec 2011

Guys, Cool Components is selling at GBP29 (around USD 45). This is before local sales tax (VAT) and shipping.


28 Dec 2011
01 Jan 2012

I've got one, and just entered the serial number.

It says it worked, but it doesn't appear under "My Microcontrollers" in my Profile - should it?


01 Jan 2012

I followed the instructions to download the Hello World app, and that worked fine.

But, when I imported the project to make my own mods, it wouldn't build - it was the wrong Library, Gromit!

See: http://mbed.org/cookbook/Compiler-Error-35?c=2422

Is this related to the fact that this board doesn't appear in my Profile (see earlier post), or is there a step missing in the 'Creating a Program' instructions?


01 Jan 2012
01 Jan 2012

Hi Andrew,

Thanks for the note; the program on the "creating a program" page had not been updated, so it was pulling in an old version of the library that didn't support the LPC11U24 (as you discovered!).

I've re-published it with a newer version of the library, and also updated the compiler message wiki page now that the main libraries do support the LPC11U24; now you just need to make sure they are on the latest revision.


01 Jan 2012

I've now got Niall Cooling's DS18b20 1-Wire temperature sensor code working on it - only change needed was the library update.


06 Jan 2012

Funny thing. You need to remember that p27 and p28 is true open-drain. Just tested it by setting those high, 30mV measured. It is of course nice to have when having relays that shouldn't activate until told so, rather than activating during startup, because of the internal pull-up.

Nice board anyways, I'll do a test to see if the LQFP48 version is directly compatible.


08 Jan 2012

Just been lookingat the schematics for the lovely new M0, And I have noticed there is 32Khz crystal, Or a seperate path for RTC backup voltage????

It look like to me, that on power down (with backup battery) The backup battery will get drained!!

And no RTC.

I had an idea for using low power of M0. But does this mean it is thwated?????



01 Feb 2012

For the next revision of the M0 mbed I think it would be good to think over the RTC battery input pin once again - Ceri is right complaining about this!

In the current state, the 2,7V backup battery connected to VB powers the LPC11U24 (which accepts supply voltages as low as 1,8V for operation) but not the mbed's magic controller IC on the back (the single LED stays dark). I suggest just not to mount D4 in the next batch!

13 Feb 2012

Hi All,

The LPC11U24 MCU doesnt have an RTC, hence no 32kHz crystal, and as there is no separate power domain for RTC or battery backed RAM, there is no need/use for the VB in the traditional sense.

The use case scenarios are :

- Power the whole mbed from USB, as normal. This takes 60mA - Power the whole mbed from Vin, as above but with a 4.5v-9.0v range. This also takes 60mA - Power *just the LPC11U24* from VB. This has the range 1.8v-3.3v, and will take 16mA normally, and will drop to about 3mA in Sleep and 800uA when in Deep Sleep.

As there is no RTC to back up, it doesnt make sense to connect a coin cell cell.

The intention was that you can connect 2xAA batteries to VB, which gives you about a week of runtime.

If you make use of the sleep functionality, you get about a month, if you use deep sleep you get about 3 months.

@Ceri - We've opted to use the sleep modes that retain state as this makes the programmers model very clean, and it gets you down to 3 months on 2xAA batteries. Its worth remembering that depending on the quality of your batteries (especially if they are NiMH), you might find that the self-discharge is the same as (or more than) the drain from the mebd NXP LPC11U24 in deep sleep!

15 Mar 2012

Hi Simon, the schematic is showing a LPC11U1x controller. The Pin functions are wrong. Please change it to LPC11U2x.

09 Apr 2012

Chris Styles wrote:

mA in Sleep an

Interrupt is working if I power mbed 11u24 from vin(5V) but does not work if I power using VB(3.3V).

#include "mbed.h"

DigitalOut TestLED(LED1);
InterruptIn wakeup(p14);

void blinkled()
{TestLED = 1;
wait (3);
TestLED = 0;

int main () {

TestLED = 1;
wait (3);
TestLED = 0;

24 Apr 2012

Harris Junaid wrote:

Interrupt is working if I power mbed 11u24 from vin(5V) but does not work if I power using VB(3.3V).

I am having the same issue, yet the video appears to have VB at 3.0V?

09 May 2012


is there a library available or any examples to allow use of this chips EEPROM?

18 May 2012

Peter Drescher wrote:

Hi Simon, the schematic is showing a LPC11U1x controller. The Pin functions are wrong. Please change it to LPC11U2x.

The LPC11Uxx pinout is the same for all models, the only difference is that depending on the case used (33,48 or 64 pin) some of the pins will not exist.


19 May 2012

Here is the pinout of the board for anyone that wants to use the port pin names directly in the code. http://mbed.org/users/alexan_e/notebook/pinout-of-the-mbed-lpc11u24/

Posting new comments for this page has been disabled