mbed LPC1768

Rapid Prototyping for general microcontroller applications, Ethernet, USB and 32-bit ARM® Cortex™-M3 based designs


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

The mbed NXP LPC1768 Microcontroller in particular is designed for prototyping all sorts of devices, especially those including Ethernet, USB, and the flexibility of lots of peripheral interfaces and FLASH memory. 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.


It is based on the NXP LPC1768, with a 32-bit ARM Cortex-M3 core running at 96MHz. It includes 512KB FLASH, 32KB RAM and lots of interfaces including built-in Ethernet, USB Host and Device, CAN, SPI, I2C, ADC, DAC, PWM and other I/O interfaces. The pinout above shows the commonly used interfaces and their locations. Note that all the numbered pins (p5-p30) can also be used as DigitalIn and DigitalOut interfaces.

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.

Hello World!

Import program

00001 #include "mbed.h"
00003 DigitalOut myled(LED1);
00005 int main() {
00006     while(1) {
00007         myled = 1;
00008         wait(0.2);
00009         myled = 0;
00010         wait(0.2);
00011     }
00012 }


  • NXP LPC1768 MCU
    • High performance ARM® Cortex™-M3 Core
    • 96MHz, 32KB RAM, 512KB FLASH
    • Ethernet, USB Host/Device, 2xSPI, 2xI2C, 3xUART, CAN, 6xPWM, 6xADC, GPIO
  • Prototyping form-factor
    • 40-pin 0.1" pitch DIP package, 54x26mm
    • 5V USB or 4.5-9V supply
    • 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

The mbed NXP LPC1768 is one of a range of mbed Microcontrollers packaged as a small 40-pin DIP, 0.1-inch pitch form-factor making it convenient for prototyping with solderless breadboard, stripboard, and through-hole PCBs. It includes a built-in USB programming interface that is as simple as using a USB Flash Drive. Plug it in, drop on an ARM program binary, and its up and running!


Make sure you have updated your firmware to the latest revision.

Schematics and Data Sheets

mbed NXP LPC1768 Microcontroller



The mbed interface semihosting is disconnected as part of going to sleep, and can not be restored. Flash re-programming and the USB serial port will remain active, but the mbed program will no longer be able to access the LocalFileSystem.

See also

 Buy Now

You need to log in to post a discussion

Discussion topics

TopicRepliesLast post
Undefined Reference to gpio_init_out although included 7 18 Dec 2018 by Vladas Zakrevskis
Temperature Analog Input to Digital Output 0 07 Nov 2018 by Mark McLachlin
timer used for us_ticker.c 0 13 Sep 2018 by Alex Buenos
MBED C/C++ library old - how to upgrade? 1 05 Feb 2018 by Austin Blackstone
LPC 1768 linker error while compiling mbed_blinky! 1 29 Nov 2017 by remi deparis
LPC1768 FTP&mSD 0 17 Nov 2017 by Umberto Mori
Mbed 0 30 Oct 2017 by Sunday Ajiroghene
Can you debug with CMSIS-DAP on the LPC1768 - how do you use it, and how does it perform? 0 09 Apr 2017 by David Smart
Design a simple wireless sensor network protocol 7 20 Mar 2017 by khairul anwar
Use a temperature sensor and a heating unit to control the temperature water at a given variation 1 29 Nov 2016 by Richard van Bemmelen
camera 4 10 Nov 2016 by Sanjiv Bhatia
pfe_csc 0 19 Jun 2016 by ahmed ahmed
mbed LPC11U35 on Ubuntu 14.04 1 24 Mar 2016 by Marout Yasuo Sluijter-Borms
LPC_1768 downloading 1 06 Jan 2016 by Sanjiv Bhatia
serial.readable(), serial.getc() and serial interrupt not working 0 22 Dec 2014 by Amoghavarsha Ullur
Char array to int issue 1 12 Aug 2014 by Tedd OKANO
Char array to int issue 0 07 Aug 2014 by Fernanda Patton
Field upgrading firmware using USB flash drive 4 05 May 2014 by Matt Woolsey
DGPS 4 03 Mar 2014 by kumar kumar
GPS readings $GPGGA, $GPGSA, $GPGSV and so on 1 30 Jan 2014 by kumar kumar
如何找到lpc1768的例程(在本网站的那个地方) 1 30 Dec 2013 by Yihui Xiong
See more related discussion topics


See more related questions